]> asedeno.scripts.mit.edu Git - linux.git/commit
Staging: et131x: Fix warning of prefer ether_addr_copy() in et131x.c
authorMonam Agarwal <monamagarwal123@gmail.com>
Sat, 8 Mar 2014 14:23:07 +0000 (19:53 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 9 Mar 2014 04:27:48 +0000 (20:27 -0800)
commit015851c342021661b0787de5de0ce6aec00ee46b
tree400b50ce6bc7fbe34eb33b16783d89ce3a83c317
parent3eed3d360d9758c13763fb7b22da41471ad1fac3
Staging: et131x: Fix warning of prefer ether_addr_copy() in et131x.c

This patch fixes the following checkpatch.pl warnings:
WARNING: "Prefer ether_addr_copy() over memcpy() if the Ethernet addresses are __aligned(2)".
I used pahole to see whether addresses are aligned.

Signed-off-by: Monam Agarwal <monamagarwal123@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/et131x/et131x.c