[PATCH staging] Staging: Convert uses of compare_ether_addr to ether_addr_equal

2013-09-01 Thread Joe Perches
Preliminary to removing compare_ether_addr altogether: Use the new bool function ether_addr_equal to add some clarity and reduce the likelihood for misuse of compare_ether_addr for sorting. Additionally: Used is_zero_ether_addr, removed now unused variable Converted uses of foo[0] to foo Done

Re: [staging] Staging: Convert uses of compare_ether_addr to ether_addr_equal

2013-09-01 Thread Wang Shilong
Hello, Using checkpatch.pl, i get the following warnings(errors): WARNING: Avoid CamelCase: pstats-bHwError #124: FILE: drivers/staging/rtl8192e/rtl8192e/r8192E_dev.c:1875: +(!pstats-bHwError) (!pstats-bCRC) (!pstats-bICV)); WARNING: Avoid CamelCase: pstats-bCRC #124: FILE: