Re: [PATCH net-next] net: ethoc: Use ether_addr_copy()

2017-03-21 Thread David Miller
From: Tobias Klauser Date: Fri, 17 Mar 2017 11:52:15 +0100 > Use ether_addr_copy() instead of memcpy() to set netdev->dev_addr (which > is 2-byte aligned). > > Signed-off-by: Tobias Klauser Applied.

Re: [PATCH net-next] net: ethoc: Use ether_addr_copy()

2017-03-20 Thread Thierry Reding
On Fri, Mar 17, 2017 at 11:52:15AM +0100, Tobias Klauser wrote: > Use ether_addr_copy() instead of memcpy() to set netdev->dev_addr (which > is 2-byte aligned). > > Signed-off-by: Tobias Klauser > --- > drivers/net/ethernet/ethoc.c | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) Rev

[PATCH net-next] net: ethoc: Use ether_addr_copy()

2017-03-17 Thread Tobias Klauser
Use ether_addr_copy() instead of memcpy() to set netdev->dev_addr (which is 2-byte aligned). Signed-off-by: Tobias Klauser --- drivers/net/ethernet/ethoc.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/net/ethernet/ethoc.c b/drivers/net/ethernet/ethoc.c index 23