From: Elena Oat Date: Thu, 6 Mar 2014 22:10:34 +0000 (+0200) Subject: Staging: rtl8188eu: Fix warning of prefer ether_addr_copy(). X-Git-Tag: v3.15-rc1~139^2~580 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=48e7124179192a404121922d2c2f2f355b56ec0e;p=pandora-kernel.git Staging: rtl8188eu: Fix warning of prefer ether_addr_copy(). This patch fixes the warning produced by checkpatch "Prefer ether_addr_copy() over memcpy() if the Ethernet addresses are __aligned(2)". The address that is copied is a field of nat25_network_db_entry structure. Definition for this struct is found in rtw_br_ext.h file. Pahole shows that the addresses are 2-byte aligned. Signed-off-by: Elena Oat Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed