linux_dsm_epyc7002/drivers/net/wireless/rtlwifi/rtl8192cu
Joe Perches 2e42e4747e drivers/net: Convert compare_ether_addr to ether_addr_equal
Use the new bool function ether_addr_equal to add
some clarity and reduce the likelihood for misuse
of compare_ether_addr for sorting.

Done via cocci script:

$ cat compare_ether_addr.cocci
@@
expression a,b;
@@
-	!compare_ether_addr(a, b)
+	ether_addr_equal(a, b)

@@
expression a,b;
@@
-	compare_ether_addr(a, b)
+	!ether_addr_equal(a, b)

@@
expression a,b;
@@
-	!ether_addr_equal(a, b) == 0
+	ether_addr_equal(a, b)

@@
expression a,b;
@@
-	!ether_addr_equal(a, b) != 0
+	!ether_addr_equal(a, b)

@@
expression a,b;
@@
-	ether_addr_equal(a, b) == 0
+	!ether_addr_equal(a, b)

@@
expression a,b;
@@
-	ether_addr_equal(a, b) != 0
+	ether_addr_equal(a, b)

@@
expression a,b;
@@
-	!!ether_addr_equal(a, b)
+	ether_addr_equal(a, b)

Signed-off-by: Joe Perches <joe@perches.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2012-05-10 23:33:01 -04:00
..
def.h rtl8192cu: Update copyright dates 2012-01-24 14:08:38 -05:00
dm.c rtl8192cu: Update copyright dates 2012-01-24 14:08:38 -05:00
dm.h rtl8192cu: Update copyright dates 2012-01-24 14:08:38 -05:00
hw.c rtlwifi: Convert to asynchronous firmware load 2012-01-30 15:48:50 -05:00
hw.h rtl8192cu: Update copyright dates 2012-01-24 14:08:38 -05:00
led.c rtl8192cu: Update copyright dates 2012-01-24 14:08:38 -05:00
led.h rtl8192cu: Update copyright dates 2012-01-24 14:08:38 -05:00
mac.c drivers/net: Convert compare_ether_addr to ether_addr_equal 2012-05-10 23:33:01 -04:00
mac.h rtl8192cu: Update copyright dates 2012-01-24 14:08:38 -05:00
Makefile rtlwifi: rtl8192ce: rtl8192cu: Fix multiple def errors for allyesconfig build 2011-02-23 16:28:41 -05:00
phy.c drivers/net: Remove boolean comparisons to true/false 2012-02-13 00:47:40 -05:00
phy.h rtl8192cu: Update copyright dates 2012-01-24 14:08:38 -05:00
reg.h rtl8192cu: Update copyright dates 2012-01-24 14:08:38 -05:00
rf.c drivers/net: Remove boolean comparisons to true/false 2012-02-13 00:47:40 -05:00
rf.h rtl8192cu: Update copyright dates 2012-01-24 14:08:38 -05:00
sw.c rtlwifi: support for Belkin Surf N300 XR 2012-04-12 15:06:06 -04:00
sw.h rtl8192cu: Update copyright dates 2012-01-24 14:08:38 -05:00
table.c rtl8192cu: Update copyright dates 2012-01-24 14:08:38 -05:00
table.h rtl8192cu: Update copyright dates 2012-01-24 14:08:38 -05:00
trx.c rtl8192cu: Update copyright dates 2012-01-24 14:08:38 -05:00
trx.h rtl8192cu: Update copyright dates 2012-01-24 14:08:38 -05:00