WSL2-Linux-Kernel/sound/pci/asihpi
Julia Lawall 550a8b691c ALSA: sound/pci/asihpi: Use kzalloc
Use kzalloc rather than the combination of kmalloc and memset.

The semantic patch that makes this change is as follows:
(http://coccinelle.lip6.fr/)

// <smpl>
@@
expression x,size,flags;
statement S;
@@

-x = kmalloc(size,flags);
+x = kzalloc(size,flags);
 if (x == NULL) S
-memset(x, 0, size);
// </smpl>

Signed-off-by: Julia Lawall <julia@diku.dk>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
2010-05-17 08:12:44 +02:00
..
Makefile ALSA: Add support of AudioScience ASI boards 2010-04-22 07:21:53 +02:00
asihpi.c ALSA: Add support of AudioScience ASI boards 2010-04-22 07:21:53 +02:00
hpi.h ALSA: Add support of AudioScience ASI boards 2010-04-22 07:21:53 +02:00
hpi6000.c ALSA: sound/pci/asihpi: Use kzalloc 2010-05-17 08:12:44 +02:00
hpi6000.h ALSA: Add support of AudioScience ASI boards 2010-04-22 07:21:53 +02:00
hpi6205.c ALSA: sound/pci/asihpi: Use kzalloc 2010-05-17 08:12:44 +02:00
hpi6205.h ALSA: Add support of AudioScience ASI boards 2010-04-22 07:21:53 +02:00
hpi_internal.h ALSA: Add support of AudioScience ASI boards 2010-04-22 07:21:53 +02:00
hpicmn.c ALSA: Add support of AudioScience ASI boards 2010-04-22 07:21:53 +02:00
hpicmn.h ALSA: Add support of AudioScience ASI boards 2010-04-22 07:21:53 +02:00
hpidebug.c ALSA: Add support of AudioScience ASI boards 2010-04-22 07:21:53 +02:00
hpidebug.h ALSA: Add support of AudioScience ASI boards 2010-04-22 07:21:53 +02:00
hpidspcd.c ALSA: Add support of AudioScience ASI boards 2010-04-22 07:21:53 +02:00
hpidspcd.h ALSA: Add support of AudioScience ASI boards 2010-04-22 07:21:53 +02:00
hpifunc.c ALSA: asihpi: incorrect range check 2010-05-17 08:10:34 +02:00
hpimsginit.c ALSA: Add support of AudioScience ASI boards 2010-04-22 07:21:53 +02:00
hpimsginit.h ALSA: Add support of AudioScience ASI boards 2010-04-22 07:21:53 +02:00
hpimsgx.c ALSA: Add support of AudioScience ASI boards 2010-04-22 07:21:53 +02:00
hpimsgx.h ALSA: Add support of AudioScience ASI boards 2010-04-22 07:21:53 +02:00
hpioctl.c ALSA: Add support of AudioScience ASI boards 2010-04-22 07:21:53 +02:00
hpioctl.h ALSA: Add support of AudioScience ASI boards 2010-04-22 07:21:53 +02:00
hpios.c ALSA: Add support of AudioScience ASI boards 2010-04-22 07:21:53 +02:00
hpios.h ALSA: Add support of AudioScience ASI boards 2010-04-22 07:21:53 +02:00
hpipcida.h ALSA: Add support of AudioScience ASI boards 2010-04-22 07:21:53 +02:00