linux/drivers/net/wireless
yuan linyu ad941e693b net: replace more place to skb_put_[data:zero]
spatch file,
@@
expression skb, len, data;
type t;
@@
-memcpy((t *)skb_put(skb, len), data, len);
+skb_put_data(skb, data, len);

@@
identifier p;
expression skb, len, data;
type t;
@@
-p = (t *)memset(skb_put(skb, len), data, len);
+p = skb_put_zero(skb, len);

@@
expression skb, len, data;
type t;
@@
-memcpy((t *)__skb_put(skb, len), data, len);
+__skb_put_data(skb, data, len);

@@
identifier p;
expression skb, len, data;
type t;
@@
-p = (t *)memset(__skb_put(skb, len), data, len);
+p = __skb_put_zero(skb, len);

Signed-off-by: yuan linyu <Linyu.Yuan@alcatel-sbell.com.cn>
Signed-off-by: David S. Miller <davem@davemloft.net>
2017-06-20 13:30:14 -04:00
..
admtek networking: make skb_push & __skb_push return void pointers 2017-06-16 11:48:40 -04:00
ath networking: make skb_push & __skb_push return void pointers 2017-06-16 11:48:40 -04:00
atmel networking: introduce and use skb_put_data() 2017-06-16 11:48:37 -04:00
broadcom networking: introduce and use skb_put_data() 2017-06-16 11:48:37 -04:00
cisco networking: make skb_put & friends return void pointers 2017-06-16 11:48:39 -04:00
intel networking: make skb_put & friends return void pointers 2017-06-16 11:48:39 -04:00
intersil networking: make skb_push & __skb_push return void pointers 2017-06-16 11:48:40 -04:00
marvell networking: make skb_push & __skb_push return void pointers 2017-06-16 11:48:40 -04:00
mediatek networking: make skb_push & __skb_push return void pointers 2017-06-16 11:48:40 -04:00
quantenna networking: make skb_put & friends return void pointers 2017-06-16 11:48:39 -04:00
ralink networking: make skb_put & friends return void pointers 2017-06-16 11:48:39 -04:00
realtek net: replace more place to skb_put_[data:zero] 2017-06-20 13:30:14 -04:00
rsi networking: introduce and use skb_put_data() 2017-06-16 11:48:37 -04:00
st networking: make skb_push & __skb_push return void pointers 2017-06-16 11:48:40 -04:00
ti networking: make skb_push & __skb_push return void pointers 2017-06-16 11:48:40 -04:00
zydas networking: make skb_push & __skb_push return void pointers 2017-06-16 11:48:40 -04:00
Kconfig qtnfmac: introduce new FullMAC driver for Quantenna chipsets 2017-05-24 17:04:13 +03:00
mac80211_hwsim.c networking: make skb_push & __skb_push return void pointers 2017-06-16 11:48:40 -04:00
mac80211_hwsim.h mac80211_hwsim: fix command documentation indentation 2017-03-06 09:21:48 +01:00
Makefile qtnfmac: introduce new FullMAC driver for Quantenna chipsets 2017-05-24 17:04:13 +03:00
ray_cs.c ray_cs: Avoid reading past end of buffer 2017-05-22 18:27:22 +03:00
ray_cs.h
rayctl.h
rndis_wlan.c Another set of patches for -next: 2017-04-28 14:41:15 -04:00
wl3501_cs.c Replace <asm/uaccess.h> with <linux/uaccess.h> globally 2016-12-24 11:46:01 -08:00
wl3501.h