From: Kalle Valo Date: Sun, 14 Sep 2014 09:50:49 +0000 (+0300) Subject: ath10k: use ether_addr_copy() X-Git-Tag: fixes-against-v3.18-rc2~144^2~39^2~73^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b25f32cb02155d68c690255ba846796a1c248fd3;p=pandora-kernel.git ath10k: use ether_addr_copy() As suggeested by checkpatch: WARNING: Prefer ether_addr_copy() over memcpy() if the Ethernet addresses are __aligned(2) In wmi.c I had to change due to sparse warnings copying of struct wmi_mac_addr from form &cmd->peer_macaddr.addr to cmd->peer_macaddr.addr. In ath10k_wmi_set_ap_ps_param() I also added the missing ".addr" to the copy command. Signed-off-by: Kalle Valo --- Reading git-diff-tree failed