aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/net_dropmonitor.py
diff options
context:
space:
mode:
authorJoe Perches <[email protected]>2014-01-23 15:54:52 -0800
committerLinus Torvalds <[email protected]>2014-01-23 16:36:58 -0800
commit98a9bba51c6e47f69c4fa22cc39a600d2e39536c (patch)
treeb390dcdd936226bca71243d0cac5b27f8a34d4f4 /tools/perf/scripts/python/net_dropmonitor.py
parentbff5da4335256513497cc8c79f9a9d1665e09864 (diff)
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 <[email protected]> Cc: Andy Whitcroft <[email protected]> Cc: David Miller <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/net_dropmonitor.py')
0 files changed, 0 insertions, 0 deletions