[PATCH RESEND 0/4] Staging: rtl8712: Fix coding style warnings
Punit Vara
punitvara at gmail.com
Wed Oct 14 18:25:51 UTC 2015
This set of patch fixes following warnings reported by checkpatch.pl:
-Prefer eth_broadcast_addr() over memset()
-Prefer ether_addr_equal() or ether_addr_equal_unaligned() over memcmp()
-Block comments use * on subsequent lines
-Block comments use a trailing */ on a separate line
-Comparisons should place the constant on the right side of the test
v2: Fixed API suggested by : Larry Finger Larry.Finger at lwfinger.net
Improved patch description suggested by Julia Julia.Lawall at lip6.fr
Punit Vara (4):
Staging: rtl8712: Fix warning prefer eth_broadcast_addr() over
memset()
Staging: rtl8712: Use ether_addr_equal() over memcmp()
Staging: rtl8712: Coding style warnings fix for block comments
Staging: rtl8712: fix warning for placing constant on the right side
of test
drivers/staging/rtl8712/rtl871x_ioctl_linux.c | 47 ++++++++++++++-------------
1 file changed, 25 insertions(+), 22 deletions(-)
--
2.5.3
More information about the devel
mailing list