Files
android_kernel_xiaomi_sm8450/drivers/net/wireless/orinoco
Julia Lawall 6ac478cf05 drivers/net/wireless/orinoco: 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: John W. Linville <linville@tuxdriver.com>
2010-06-02 16:13:01 -04:00
..
2010-05-03 14:53:07 -04:00
2009-07-10 15:01:44 -04:00
2010-05-03 14:53:09 -04:00
2010-05-03 14:53:09 -04:00
2010-04-03 14:22:15 -07:00
2010-05-03 14:53:08 -04:00
2010-04-19 16:41:42 -04:00
2010-05-03 14:53:08 -04:00
2010-05-07 14:55:49 -04:00
2010-04-23 14:43:45 -04:00
2009-07-10 15:01:46 -04:00