]> git.baikalelectronics.ru Git - kernel.git/commit
staging: vt6655: Use ether_addr_copy function
authorDilek Uzulmez <dilekuzulmez@gmail.com>
Wed, 8 Oct 2014 15:25:31 +0000 (18:25 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 20 Oct 2014 02:29:16 +0000 (10:29 +0800)
commitd399559854a24a36cf5202b5ff9eb87ca5000874
treec1c17087d38016452c8750ece50de32621ee8db1
parent49de7b18205101d550cbca586e64dfbfc0a01f90
staging: vt6655: Use ether_addr_copy function

This patch fixes the following checkpatch.pl warnings:
WARNING: "Prefer ether_addr_copy() over memcpy() if the Ethernet
addresses are __aligned(2)" in file device_main.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/vt6655/device_main.c