From: Krzysztof Adamski Date: Tue, 9 Dec 2014 11:01:38 +0000 (+0100) Subject: staging: vt6656: Use ether_addr_copy() on vnt_private members. X-Git-Tag: fixes-v4.0-rc1~99^2~491 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e2382233ad0251698ff7a1124cd330e5f6ecab8a;p=pandora-kernel.git 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 Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed