This fixes the following issues detected by checkpatch.pl:
WARNING: Prefer ether_addr_copy() over memcpy() if the Ethernet addresses are
__aligned(2)
#220: FILE: drivers/staging/ozwpan/ozcdev.c:220:
+ memcpy(g_cdev.active_addr, addr, ETH_ALEN);
WARNING: Prefer ether_addr_copy()
On Wed, Mar 12, 2014 at 07:01:32PM +0900, Jérôme Pinot wrote:
> Hi,
>
> This commit fixes warnings reported by checkpatch.pl
Which specific warnings?
And it looks like you fixed a number of different things in the same
patch, please break it up into doing "one thing per patch".
thanks,
greg k-
Hi,
This commit fixes warnings reported by checkpatch.pl
Signed-off-by: Jerome Pinot
---
drivers/staging/ozwpan/ozcdev.c | 4 ++--
drivers/staging/ozwpan/ozhcd.c | 8
drivers/staging/ozwpan/ozpd.c| 2 +-
drivers/staging/ozwpan/ozpd.h| 2 +-
drivers/staging/ozwpan/ozproto.c |