Files
android_kernel_xiaomi_sm8450/drivers/usb/serial
Julia Lawall 1ac93a3039 USB: io_edgeport: 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: Greg Kroah-Hartman <gregkh@suse.de>
2010-05-20 13:21:46 -07:00
..
2010-05-20 13:21:33 -07:00
2010-03-02 14:54:16 -08:00
2010-05-20 13:21:46 -07:00
2010-05-20 13:21:33 -07:00
2010-05-20 13:21:40 -07:00
2010-05-20 13:21:40 -07:00
2010-05-20 13:21:40 -07:00
2010-05-20 13:21:32 -07:00