Staging: rtl8188eu: Fix warning of prefer ether_addr_copy().
authorElena Oat <oat.elena@gmail.com>
Thu, 6 Mar 2014 22:10:34 +0000 (00:10 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 7 Mar 2014 22:44:04 +0000 (14:44 -0800)
commit48e7124179192a404121922d2c2f2f355b56ec0e
tree326d671381bdc0505dee508cfe55f1f9b871ccec
parent2c05f00f88dbf78d4b2d0e6f8d5b6c7332b0e113
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 <oat.elena@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8188eu/core/rtw_br_ext.c