diff options
author | Joe Perches <joe@perches.com> | 2014-01-24 00:54:52 +0100 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2014-01-24 01:36:58 +0100 |
commit | 98a9bba51c6e47f69c4fa22cc39a600d2e39536c (patch) | |
tree | b390dcdd936226bca71243d0cac5b27f8a34d4f4 /scripts/recordmcount.pl | |
parent | checkpatch: add DT compatible string documentation checks (diff) | |
download | linux-98a9bba51c6e47f69c4fa22cc39a600d2e39536c.tar.xz linux-98a9bba51c6e47f69c4fa22cc39a600d2e39536c.zip |
checkpatch: prefer ether_addr_copy to memcpy(foo, bar, ETH_ALEN)
ether_addr_copy was added for kernel version 3.14. It's slightly
smaller/faster for some arches. Encourage its use.
Signed-off-by: Joe Perches <joe@perches.com>
Cc: Andy Whitcroft <apw@canonical.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>
Diffstat (limited to 'scripts/recordmcount.pl')
0 files changed, 0 insertions, 0 deletions