linux_dsm_epyc7002/drivers/net/wireless/realtek
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
..
rtl8xxxu networking: make skb_push & __skb_push return void pointers 2017-06-16 11:48:40 -04:00
rtl818x networking: make skb_push & __skb_push return void pointers 2017-06-16 11:48:40 -04:00
rtlwifi net: replace more place to skb_put_[data:zero] 2017-06-20 13:30:14 -04:00
Kconfig realtek: create separate Kconfig file 2015-11-18 14:28:31 +02:00
Makefile