]> git.baikalelectronics.ru Git - kernel.git/commit
ALSA: asihpi: incorrect range check
authorDan Carpenter <error27@gmail.com>
Fri, 14 May 2010 14:50:05 +0000 (16:50 +0200)
committerTakashi Iwai <tiwai@suse.de>
Mon, 17 May 2010 06:10:34 +0000 (08:10 +0200)
commit98f0bc186dae488b4f415a7b8a58fb28325f9375
tree589a35b6ae71b544d1f1a0590f176f16268ef1b0
parent7b1dfda7bd7998d8dad3474745fd20237aace136
ALSA: asihpi: incorrect range check

The entity_type_to_size[] array has LAST_ENTITY_TYPE (11) number of elements,
not LAST_ENTITY_ROLE (17).  This only affects the debug output.

Signed-off-by: Dan Carpenter <error27@gmail.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/pci/asihpi/hpifunc.c