]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitbd843d0b48483b56c8405f079a07945cbe185f51
tree49daa21627f733e453f9c64f8a487ff8f5c024b2
parentab475740e8bf5a2a078463003927b47dbe515302
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