linux_dsm_epyc7002/net/caif
Julia Lawall 49afa55b5b net/caif: Use kzalloc
Use kzalloc rather than the combination of kmalloc and memset.

A simplified version of 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>
Acked-by: Sjur Brændeland <sjur.brandeland@stericsson.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2010-05-17 22:55:09 -07:00
..
caif_config_util.c net-caif: add CAIF device registration functionality 2010-03-30 19:08:47 -07:00
caif_dev.c Bugfix: Link selection was swapped in switch. 2010-04-28 12:55:15 -07:00
caif_socket.c caif: Rewritten socket implementation 2010-04-28 12:55:14 -07:00
cfcnfg.c net/caif: Use kzalloc 2010-05-17 22:55:09 -07:00
cfctrl.c net/caif: Use kzalloc 2010-05-17 22:55:09 -07:00
cfdbgl.c net-caif: add CAIF core protocol stack 2010-03-30 19:08:46 -07:00
cfdgml.c net-caif: add CAIF core protocol stack 2010-03-30 19:08:46 -07:00
cffrml.c net-caif: add CAIF core protocol stack 2010-03-30 19:08:46 -07:00
cfmuxl.c caif: Add reference counting to service layer 2010-04-28 12:55:12 -07:00
cfpkt_skbuff.c net-caif: add CAIF generic caif support functions 2010-03-30 19:08:47 -07:00
cfrfml.c net-caif: add CAIF core protocol stack 2010-03-30 19:08:46 -07:00
cfserl.c net-caif: add CAIF core protocol stack 2010-03-30 19:08:46 -07:00
cfsrvl.c caif: Add reference counting to service layer 2010-04-28 12:55:12 -07:00
cfutill.c net-caif: add CAIF core protocol stack 2010-03-30 19:08:46 -07:00
cfveil.c net-caif: add CAIF core protocol stack 2010-03-30 19:08:46 -07:00
cfvidl.c net-caif: add CAIF core protocol stack 2010-03-30 19:08:46 -07:00
chnl_net.c caif: Bugfixes in CAIF netdevice for close and flow control 2010-04-28 12:55:14 -07:00
Kconfig net-caif: add CAIF Kconfig and Makefiles 2010-03-30 19:08:49 -07:00
Makefile net-caif: add CAIF Kconfig and Makefiles 2010-03-30 19:08:49 -07:00