[PATCH RESEND 0/4] Staging: rtl8712: Fix coding style warnings

From: Punit Vara
Date: Wed Oct 14 2015 - 14:26:23 EST


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@xxxxxxxxxxxx
Improved patch description suggested by Julia Julia.Lawall@xxxxxxx
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

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/