]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/commit - drivers/staging/rtl8188eu/core/rtw_cmd.c
Staging: rtl8188eu: Fix warning of prefer ether_addr_copy.
authorElena Oat <oat.elena@gmail.com>
Thu, 6 Mar 2014 20:10:32 +0000 (22:10 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 7 Mar 2014 22:47:39 +0000 (14:47 -0800)
commitba5be646783a101fc1e9af81b9c804901e13d597
tree05efa9ebe5e58e4ef8a375f1cab800fb9087a09d
parentdc29fcae7a1178e76e20c38a12823ab8fa58f67f
Staging: rtl8188eu: Fix warning of prefer ether_addr_copy.

This patch fixes the warning of "Prefer ether_addr_copy() over memcpy()
if the Ethernet addresses are __aligned(2)" in file rtw_cmd.c. 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_cmd.c