replace memset(x,0,ETH_ALEN) by eth_zero_addr(x)
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v2 Latest4 patches 0 repliesNew
- v14 patches 0 repliesSuperseded
Patches in v2 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/4 | staging: rtl8192e: replace memset(x,0,ETH_ALEN) by eth_zero_addr(x)drivers/ | +1 | 0 replies | |
| 2/4 | staging: rtl8192e: replace memset(x,0,ETH_ALEN) by eth_zero_addr(x)drivers/ | +1 | 0 replies | |
| 3/4 | staging: rtl8192u: replace memset(x,0,ETH_ALEN) by eth_zero_addr(x)drivers/ | +1 | 0 replies | |
| 4/4 | staging: rtl8192u: ieee80211: replace memset(x,0,ETH_ALEN) by eth_zero_addr(x)drivers/ | +1 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.
Cover letter [PATCH 0/4 v2] replace memset(x,0,ETH_ALEN) by eth_zero_addr(x)
Replaces all occurences of memset(x,0,ETH_ALEN) by eth_zero_addr(x). In general,there are two inline functions that wrap memset. One is eth_zero_addr when the assigned address is zero and the second is eth_broadcast_addr when assigning a broadcast address to a variable. Coccinelle was employed for the automation of the process and adding the header linux/etherdevice.h if not added by default.
The set is resent because for some odd reason the first rule of the coccinelle script is emptied by git when generating the patch.
Aya Mahfouz (4):
staging: rtl8192e: replace memset(x,0,ETH_ALEN) by eth_zero_addr(x)
staging: rtl8192e: replace memset(x,0,ETH_ALEN) by eth_zero_addr(x)
staging: rtl8192u: replace memset(x,0,ETH_ALEN) by eth_zero_addr(x)
staging: rtl8192u: ieee80211: replace memset(x,0,ETH_ALEN) by
eth_zero_addr(x)
drivers/staging/rtl8192e/rtllib_softmac.c | 2 +- drivers/staging/rtl8192e/rtllib_softmac_wx.c | 2 +- drivers/staging/rtl8192u/ieee80211/ieee80211_softmac.c | 2 +- drivers/staging/rtl8192u/ieee80211/ieee80211_softmac_wx.c | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-)
---
Signature · 6 lines
1.9.3 -- Kind Regards, Aya Saif El-yazal Mahfouz