staging: octeon: Fix warning of prefer ether_addr_copy.
authorDilek Uzulmez <dilekuzulmez@gmail.com>
Tue, 7 Oct 2014 12:58:48 +0000 (15:58 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 20 Oct 2014 02:29:13 +0000 (10:29 +0800)
commit6c71ea543a0f0132edbe40854b0e31bf9507af5b
tree49daa21627f733e453f9c64f8a487ff8f5c024b2
parentc9a114e70ab0da81797da84e5bc8737e4e82ad91
staging: octeon: Fix warning of prefer ether_addr_copy.

This patch fixes the following checkpatch.pl warnings:
WARNING: "Prefer ether_addr_copy() over memcpy() if the Ethernet
addresses are __aligned(2)" in file ethernet.c
Pahole shows that the addresses are aligned.

Signed-off-by: Dilek Uzulmez <dilekuzulmez@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/octeon/ethernet.c