linux/drivers/staging/rtl8192e
Vaishali Thakkar 3e3148c511 Staging: rtl8192e: Replace memset with eth_zero_addr
Use eth_zero_addr to assign the zero address to the given address
array instead of memset when second argument is address of zero.
Note that the 6 in the third argument of memset appears to represent
an ethernet address size (ETH_ALEN).

The Coccinelle semantic patch that makes this change is as follows:

// <smpl>
@eth_zero_addr@
expression e;
@@

-memset(e,0x00,6);
+eth_zero_addr(e);
// </smpl>

Signed-off-by: Vaishali Thakkar <vthakkar1994@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2015-07-14 22:46:20 -07:00
..
rtl8192e staging: rtl8192e: Make rtl8192_QueryIsShort() static 2015-07-14 22:43:31 -07:00
dot11d.c staging: rtl8192e: Remove DOT11D_GetMaxTxPwrInDbm() 2015-07-14 22:43:29 -07:00
dot11d.h staging: rtl8192e: Remove DOT11D_GetMaxTxPwrInDbm() 2015-07-14 22:43:29 -07:00
Kconfig
license
Makefile
rtl819x_BA.h staging: rtl8192e: Remove unused defines 2015-07-14 22:43:29 -07:00
rtl819x_BAProc.c staging: rtl8192e: Fix OOM_MESSAGE warnings 2015-06-01 06:33:22 +09:00
rtl819x_HT.h staging: rtl8192e: Remove unused defines 2015-07-14 22:43:29 -07:00
rtl819x_HTProc.c staging: rtl8192e: rtllib_HTProc: Make functions static 2015-07-14 22:43:30 -07:00
rtl819x_Qos.h staging: rtl8192e: Remove unused enums 2015-07-14 22:43:29 -07:00
rtl819x_TS.h staging: rtl8192e: Remove unused defines 2015-07-14 22:43:29 -07:00
rtl819x_TSProc.c Staging: rtl8192e: Replace memset with eth_zero_addr 2015-07-14 22:46:20 -07:00
rtllib_crypt_ccmp.c staging: rtl8192e: Fix PREFER_PR_LEVEL warnings 2015-06-01 06:33:21 +09:00
rtllib_crypt_tkip.c staging: rtl8192e: Fix PREFER_PR_LEVEL warnings 2015-06-01 06:33:21 +09:00
rtllib_crypt_wep.c staging: rtl8192e: Comment cleanup (style/format) 2015-04-03 15:29:31 +02:00
rtllib_debug.h staging: rtl8192e: Remove DMESG macro 2015-07-14 22:43:30 -07:00
rtllib_module.c Staging: rtl8192e: Timer setup using macro rather assignment 2015-06-17 21:38:23 -07:00
rtllib_rx.c staging: rtl8192e: Make rtllib_rx_mgt() static 2015-07-14 22:43:31 -07:00
rtllib_softmac_wx.c staging: rtl8192e: Replace ?: with min_t 2015-06-01 06:33:22 +09:00
rtllib_softmac.c Staging: rtl8192e: Replace memset with eth_zero_addr 2015-07-14 22:46:20 -07:00
rtllib_tx.c staging: rtl8192e: rtllib_tx: Make functions static 2015-07-14 22:43:31 -07:00
rtllib_wx.c staging: rtl8192e: Remove rtllib_wx_get_encode_ext() 2015-06-17 21:35:02 -07:00
rtllib.h staging: rtl8192e: rtllib_softmac: Make functions static 2015-07-14 22:43:31 -07:00
TODO