checkpatch: suggest using ether_addr_equal*()
authorMateusz Kulikowski <mateusz.kulikowski@gmail.com>
Thu, 25 Jun 2015 22:03:13 +0000 (15:03 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Fri, 26 Jun 2015 00:00:42 +0000 (17:00 -0700)
commitb6117d175be9972fc300f826e6f2bf9c589e0919
treede2fc88e4163194fb3c30941ac7762ae7f084411
parent06330fc40e3f3034de4934ec347604b5e36c40c3
checkpatch: suggest using ether_addr_equal*()

Check if memcmp() is used to compare ethernet addresses and suggest using
ether_addr_equal() or ether_addr_equal_unaligned()

Signed-off-by: Mateusz Kulikowski <mateusz.kulikowski@gmail.com>
Acked-by: Joe Perches <joe@perches.com>
Cc: David Miller <davem@davemloft.net>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
scripts/checkpatch.pl