summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorJérôme Pinot <ngc891@gmail.com>2014-03-14 00:44:30 +0900
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2014-03-17 14:47:44 -0700
commit072dc1146fb85a9c344138a9751136dff1251333 (patch)
tree04cf75b2bee6c13f2547f2f328e63390f7109d35 /tools/perf/scripts/python
parenta7710336596ecf49b3c1572dd40f4ecfefc6c9ab (diff)
staging/ozwpan: coding style ether_addr_copy
This fixes the following issues detected by checkpatch.pl: WARNING: Prefer ether_addr_copy() over memcpy() if the Ethernet addresses are __aligned(2) #220: FILE: drivers/staging/ozwpan/ozcdev.c:220: + memcpy(g_cdev.active_addr, addr, ETH_ALEN); WARNING: Prefer ether_addr_copy() over memcpy() if the Ethernet addresses are __aligned(2) #286: FILE: drivers/staging/ozwpan/ozcdev.c:286: + memcpy(addr, g_cdev.active_addr, ETH_ALEN); WARNING: Prefer ether_addr_copy() over memcpy() if the Ethernet addresses are __aligned(2) #176: FILE: drivers/staging/ozwpan/ozpd.c:176: + memcpy(pd->mac_addr, mac_addr, ETH_ALEN); Signed-off-by: Jerome Pinot <ngc891@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions