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
..
2010-03-30 22:02:32 +09:00
2010-02-09 11:08:33 +01:00
2010-05-17 08:12:44 +02:00
2010-02-09 11:08:33 +01:00
2010-03-30 22:02:32 +09:00
2010-03-30 22:02:32 +09:00
2010-02-18 08:12:30 +01:00
2010-03-30 22:02:32 +09:00
2010-03-30 22:02:32 +09:00
2010-04-07 08:42:25 -07:00
2010-03-30 22:02:32 +09:00
2010-04-23 17:10:44 +02:00
2010-04-16 15:20:06 +02:00
2010-02-09 11:08:33 +01:00
2010-03-30 22:02:32 +09:00
2010-04-07 08:42:25 -07:00
2010-02-09 11:08:33 +01:00
2010-03-30 22:02:32 +09:00
2010-02-09 11:08:33 +01:00
2010-03-03 22:41:42 +01:00
2010-03-30 22:02:32 +09:00
2010-02-09 11:08:33 +01:00
2010-02-09 11:08:33 +01:00
2010-02-09 11:08:33 +01:00
2010-02-09 11:08:33 +01:00
2009-02-05 16:11:31 +01:00
2010-02-09 11:08:33 +01:00
2010-03-30 22:02:32 +09:00
2010-02-09 11:08:33 +01:00
2010-02-17 14:24:46 +01:00
2010-02-09 11:08:33 +01:00
2009-07-15 12:03:26 +02:00
2010-02-09 11:08:33 +01:00
2010-03-24 08:02:11 +01:00
2010-02-09 11:08:33 +01:00
2010-03-30 22:02:32 +09:00
2010-02-09 11:08:33 +01:00
2010-02-09 11:08:33 +01:00
2010-05-08 11:51:06 +02:00
2010-02-09 11:08:33 +01:00
2010-02-09 11:08:33 +01:00
2010-02-09 11:08:33 +01:00
2010-04-23 17:09:59 +02:00
2010-05-08 11:51:13 +02:00
2010-04-22 07:21:53 +02:00
2010-03-30 22:02:32 +09:00
2010-03-30 22:02:32 +09:00
2010-03-30 22:02:32 +09:00
2009-06-12 18:01:46 +02:00
2010-02-09 11:08:33 +01:00
2010-02-09 11:08:33 +01:00
2010-03-01 12:38:49 +01:00