OpenCloudOS-Kernel/sound/pci/asihpi
Takashi Iwai 74eeb141d3 ALSA: asihpi - Fix potential Oops in snd_asihpi_cmode_info()
Dan Carpenter reported that setting 0 to uinfo->value.enumerated.items
in snd_asihpi_cmode_info() may lead to Oops.  This function should
return an error immediately in such a case instead.

Cc: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
2012-01-09 18:27:54 +01:00
..
Makefile ALSA: Add support of AudioScience ASI boards 2010-04-22 07:21:53 +02:00
asihpi.c ALSA: asihpi - Fix potential Oops in snd_asihpi_cmode_info() 2012-01-09 18:27:54 +01:00
hpi.h ALSA: asihpi - New defs and comments. 2011-12-22 08:13:07 +01:00
hpi6000.c ALSA: asihpi - Remove redundant struct members. 2011-12-22 08:13:05 +01:00
hpi6000.h ALSA: asihpi - Update copyright to 2011 2011-12-22 08:12:57 +01:00
hpi6205.c ALSA: asihpi - Distinguish four different emif init errors. 2011-12-22 08:13:08 +01:00
hpi6205.h ALSA: asihpi - Increase request and response buffer sizes 2011-07-22 07:45:26 +02:00
hpi_internal.h ALSA: asihpi - Increase debug response buffer size. 2011-12-22 08:13:05 +01:00
hpi_version.h ALSA: asihpi - Split hpi version info into separate header file. 2011-12-22 08:12:56 +01:00
hpicmn.c ALSA: asihpi - Correct headers in cached control responses. 2011-12-22 08:13:10 +01:00
hpicmn.h ALSA: asihpi - Remove redundant struct members. 2011-12-22 08:13:05 +01:00
hpidebug.c ALSA: asihpi - Update copyright to 2011 2011-12-22 08:12:57 +01:00
hpidebug.h ALSA: asihpi - Update copyright to 2011 2011-12-22 08:12:57 +01:00
hpidspcd.c ALSA: asihpi - Simplify dsp code close. 2011-12-22 08:13:06 +01:00
hpidspcd.h ALSA: asihpi - Split hpi version info into separate header file. 2011-12-22 08:12:56 +01:00
hpifunc.c ALSA: asihpi - Add autofade query. 2011-12-22 08:13:07 +01:00
hpimsginit.c ALSA: asihpi - Update copyright to 2011 2011-12-22 08:12:57 +01:00
hpimsginit.h ALSA: asihpi - Update copyright to 2011 2011-12-22 08:12:57 +01:00
hpimsgx.c ALSA: asihpi - Split hpi version info into separate header file. 2011-12-22 08:12:56 +01:00
hpimsgx.h ALSA: asihpi - Update copyright to 2011 2011-12-22 08:12:57 +01:00
hpioctl.c ALSA: asihpi - Remove redundant struct members. 2011-12-22 08:13:05 +01:00
hpioctl.h ALSA: asihpi - Update copyright to 2011 2011-12-22 08:12:57 +01:00
hpios.c ALSA: asihpi - Update copyright to 2011 2011-12-22 08:12:57 +01:00
hpios.h ALSA: asihpi - Remove redundant struct members. 2011-12-22 08:13:05 +01:00
hpipcida.h ALSA: asihpi - Update copyright to 2011 2011-12-22 08:12:57 +01:00