]> git.baikalelectronics.ru Git - kernel.git/commit
checkpatch: suggest using eth_zero_addr() and eth_broadcast_addr()
authorMateusz Kulikowski <mateusz.kulikowski@gmail.com>
Thu, 25 Jun 2015 22:03:19 +0000 (15:03 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Fri, 26 Jun 2015 00:00:42 +0000 (17:00 -0700)
commit972398204caf8b8e735db03932ee667fa412217e
treef4c4508aa18a3dbc5e5d1f78984c8ca3fa7497d3
parent497abb84e4fd32af11dbceafa20450577b030cc5
checkpatch: suggest using eth_zero_addr() and eth_broadcast_addr()

Suggest using eth_zero_addr() or eth_broadcast_addr() instead of memset().

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