summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/call-graph-from-sql.py
diff options
context:
space:
mode:
authorHeba Aamer <heba93aamer@gmail.com>2015-01-30 01:11:36 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2015-02-07 12:15:43 +0300
commit36e4d8826b317080e283e4edd08bf8d5ac706f38 (patch)
tree9ff47a45b488d4824bf4cd3b3bf87285e1c58cef /tools/perf/scripts/python/call-graph-from-sql.py
parent8004a0c9b0e694c25e1ea7e058c64dff459f19f9 (diff)
downloadlinux-36e4d8826b317080e283e4edd08bf8d5ac706f38.tar.xz
staging: rtl8712: fix Prefer ether_addr_copy() over memcpy()
This patch fixes the following checkpatch.pl warning: Prefer ether_addr_copy() over memcpy() if the Ethernet addresses are __aligned(2) pahole showed that the struct used pnetdev->dev_addr is aligned to u16. Moreover mac is a simple array, pdata is a pointer that starts from an even offset. Signed-off-by: Heba Aamer <heba93aamer@gmail.com> Acked-by: Larry Finger <Larry.Finger@lwfinger.net> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-sql.py')
0 files changed, 0 insertions, 0 deletions