linux-stable/sound/pci/asihpi
Thomas Meyer 6d2d431369 ALSA: asihp: Use kcalloc instead of kzalloc to allocate array
The advantage of kcalloc is, that will prevent integer overflows which could
result from the multiplication of number of elements and size and it is also
a bit nicer to read.

The semantic patch that makes this change is available
in https://lkml.org/lkml/2011/11/25/107

Signed-off-by: Thomas Meyer <thomas@m3y3r.de>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
2011-12-06 13:27:32 +01:00
..
asihpi.c sound: Add module.h to the previously silent sound users 2011-10-31 19:31:21 -04:00
hpi.h ALSA: asihpi - HPI version 4.08 2011-07-22 07:55:02 +02:00
hpi6000.c ALSA: asihpi - DSP code loader API now independent of OS 2011-07-22 07:49:23 +02:00
hpi6000.h ALSA: Add support of AudioScience ASI boards 2010-04-22 07:21:53 +02:00
hpi6205.c ALSA: asihpi - Make local function static 2011-07-22 07:52:02 +02:00
hpi6205.h ALSA: asihpi - Increase request and response buffer sizes 2011-07-22 07:45:26 +02:00
hpi_internal.h ALSA: asihpi - Add new node and message defines 2011-07-22 07:52:15 +02:00
hpicmn.c ALSA: asihp: Use kcalloc instead of kzalloc to allocate array 2011-12-06 13:27:32 +01:00
hpicmn.h ALSA: asihpi: Minor cleanups 2011-04-05 11:51:04 +02:00
hpidebug.c ALSA: asihpi - Checkpatch line lengths etc. 2011-02-10 18:49:25 +01:00
hpidebug.h ALSA: asihpi - Checkpatch line lengths etc. 2011-02-10 18:49:25 +01:00
hpidspcd.c ALSA: asihpi - Don't leak firmware if mem alloc fails 2011-08-01 10:57:06 +02:00
hpidspcd.h ALSA: asihpi - DSP code loader API now independent of OS 2011-07-22 07:49:23 +02:00
hpifunc.c ALSA: asihpi - Remove controlex structs and associated special data transfer code 2011-07-22 07:46:14 +02:00
hpimsginit.c ALSA: asihpi - Give more meaningful name to hpi request message type 2011-07-22 07:45:06 +02:00
hpimsginit.h ALSA: asihpi - Add include guard. 2011-02-10 18:49:24 +01:00
hpimsgx.c ALSA: asihpi - Fix minor typos and spelling 2011-07-22 07:51:41 +02:00
hpimsgx.h ALSA: Add support of AudioScience ASI boards 2010-04-22 07:21:53 +02:00
hpioctl.c sound: Add module.h to the previously silent sound users 2011-10-31 19:31:21 -04:00
hpioctl.h ALSA: Add support of AudioScience ASI boards 2010-04-22 07:21:53 +02:00
hpios.c ALSA: asihpi - Remove unused structures, macros and functions 2011-07-22 07:50:57 +02:00
hpios.h ALSA: asihpi - Explicitly include mutex.h 2011-07-22 07:52:31 +02:00
hpipcida.h ALSA: Add support of AudioScience ASI boards 2010-04-22 07:21:53 +02:00
Makefile ALSA: Add support of AudioScience ASI boards 2010-04-22 07:21:53 +02:00