linux_dsm_epyc7002/drivers/net/wireless/realtek/rtlwifi/rtl8192c
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
..
dm_common.c rtlwifi: Move items out of rtl_pci_priv and rtl_usb_priv 2017-02-08 17:24:42 +02:00
dm_common.h rtlwifi: rtl8192c: Remove address of Free Software Foundation 2016-11-17 08:41:50 +02:00
fw_common.c net: replace more place to skb_put_[data:zero] 2017-06-20 13:30:14 -04:00
fw_common.h rtlwifi: rtl8192c: Remove address of Free Software Foundation 2016-11-17 08:41:50 +02:00
main.c rtlwifi: rtl8192c: Remove address of Free Software Foundation 2016-11-17 08:41:50 +02:00
Makefile Makefile: drop -D__CHECK_ENDIAN__ from cflags 2016-12-16 00:13:43 +02:00
phy_common.c rtlwifi: rtl8192c-common: Remove all instances of DBG_EMERG 2016-12-30 15:54:26 +02:00
phy_common.h rtlwifi: rtl8192c: Remove address of Free Software Foundation 2016-11-17 08:41:50 +02:00