bridge: Use helpers to handle MAC address
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Tue, 19 Dec 2017 18:10:53 +0000 (20:10 +0200)
committerDavid S. Miller <davem@davemloft.net>
Wed, 20 Dec 2017 17:46:11 +0000 (12:46 -0500)
commit223b229b63f461cd3c14583a0e517fde19e7a081
treeb678efc28b6aea762703774fa2c51d83e82cbbf1
parent53c81e95df1793933f87748d36070a721f6cb287
bridge: Use helpers to handle MAC address

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 <andriy.shevchenko@linux.intel.com>
Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/bridge/br_sysfs_br.c