Re: [PATCH v1] bridge: Use helpers to handle MAC address

2017-12-20 Thread David Miller
From: Andy Shevchenko Date: Tue, 19 Dec 2017 20:10:53 +0200 > Use > %pM to print MAC > mac_pton() to convert it from ASCII to binary format, and > ether_addr_copy() to copy. > > Signed-off-by: Andy Shevchenko Applied to net-next

Re: [PATCH v1] bridge: Use helpers to handle MAC address

2017-12-19 Thread Andy Shevchenko
On Tue, 2017-12-19 at 11:21 -0800, Randy Dunlap wrote: > On 12/19/2017 10:10 AM, Andy Shevchenko wrote: > > Use > > %pM to print MAC > > mac_pton() to convert it from ASCII to binary format, and > > ether_addr_copy() to copy. > > > > Signed-off-by: Andy Shevchenko > > (same) >

Re: [PATCH v1] bridge: Use helpers to handle MAC address

2017-12-19 Thread Randy Dunlap
On 12/19/2017 10:10 AM, Andy Shevchenko wrote: > Use > %pM to print MAC > mac_pton() to convert it from ASCII to binary format, and > ether_addr_copy() to copy. > > Signed-off-by: Andy Shevchenko (same) select GENERIC_NET_UTILS ? > --- > net/bridge/br_sysfs_br.c | 13

Re: [PATCH v1] bridge: Use helpers to handle MAC address

2017-12-19 Thread Stephen Hemminger
On Tue, 19 Dec 2017 20:10:53 +0200 Andy Shevchenko wrote: > Use > %pM to print MAC > mac_pton() to convert it from ASCII to binary format, and > ether_addr_copy() to copy. > > Signed-off-by: Andy Shevchenko Looks good Signed-off-by: Stephen Hemminger

[PATCH v1] bridge: Use helpers to handle MAC address

2017-12-19 Thread Andy Shevchenko
Use %pM to print MAC mac_pton() to convert it from ASCII to binary format, and ether_addr_copy() to copy. Signed-off-by: Andy Shevchenko --- net/bridge/br_sysfs_br.c | 13 +++-- 1 file changed, 3 insertions(+), 10 deletions(-) diff --git a/net/bridge/br_sysfs_br.