diff options
author | Krzysztof Adamski <k@japko.eu> | 2014-12-09 11:01:38 (GMT) |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2015-01-13 03:38:40 (GMT) |
commit | e2382233ad0251698ff7a1124cd330e5f6ecab8a (patch) | |
tree | 81a73e632bde0abf355da44e001614adb220dda3 /drivers/edac/cell_edac.c | |
parent | ccc103f564d992bb3260a9195980b26098384943 (diff) | |
download | linux-e2382233ad0251698ff7a1124cd330e5f6ecab8a.tar.xz |
staging: vt6656: Use ether_addr_copy() on vnt_private members.
This patch fixes checkpatch.pl warning:
WARNING: Prefer ether_addr_copy() over memcpy() if the Ethernet
addresses are __aligned(2)
current_net_addr and permanent_net_addr members of vnt_private alignment
is changed to at last 16 bits so that ether_addr_copy can be safely used
on them.
buf->data is of type ieee80211_cts which is already properly aligned.
Signed-off-by: Krzysztof Adamski <k@japko.eu>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/edac/cell_edac.c')
0 files changed, 0 insertions, 0 deletions