linux/drivers/net/wireless/ath/carl9170
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
..
carl9170.h carl9170: allow users to lower output power level 2012-01-27 14:56:57 -05:00
cmd.c carl9170: Use do_div for 64-bit division to fix 32-bit kernels 2011-08-26 10:47:58 -04:00
cmd.h wireless: Remove unnecessary ; from while (0) macros 2012-04-11 16:23:56 -04:00
debug.c simple_open: automatically convert to simple_open() 2012-04-05 15:25:50 -07:00
debug.h
eeprom.h
fw.c mac80211: don't always advertise remain-on-channel 2012-04-10 14:54:04 -04:00
fwcmd.h carl9170: import updated firmware headers 2011-08-24 14:41:42 -04:00
fwdesc.h carl9170 firmware: update firmware headers 2011-07-18 14:29:43 -04:00
hw.h carl9170 firmware: update firmware headers 2011-07-18 14:29:43 -04:00
Kconfig carl9170: export HW random number generator 2011-08-24 14:41:42 -04:00
led.c carl9170: fix formatting issues found by checkpatch 2011-07-15 13:38:34 -04:00
mac.c carl9170: allow users to lower output power level 2012-01-27 14:56:57 -05:00
main.c carl9170: allow users to lower output power level 2012-01-27 14:56:57 -05:00
Makefile
phy.c carl9170: allow users to lower output power level 2012-01-27 14:56:57 -05:00
phy.h
rx.c drivers/net: Convert compare_ether_addr to ether_addr_equal 2012-05-10 23:33:01 -04:00
tx.c carl9170: fix breakage from "mac80211: handle non-bufferable MMPDUs correctly" 2012-02-29 15:08:33 -05:00
usb.c USB: convert drivers/net/* to use module_usb_driver() 2011-11-18 09:44:20 -08:00
version.h carl9170: import updated firmware headers 2011-08-24 14:41:42 -04:00
wlan.h