OSDN Git Service

net: bonding: Replace mac address parsing
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Tue, 19 Dec 2017 18:20:44 +0000 (20:20 +0200)
committerDavid S. Miller <davem@davemloft.net>
Wed, 20 Dec 2017 17:47:29 +0000 (12:47 -0500)
commitce5c144f48d5e465bd9b9d676902cf4dcfcae4b9
treedcdbe5318085b4e93f8ceff58c057327a87e6fad
parent223b229b63f461cd3c14583a0e517fde19e7a081
net: bonding: Replace mac address parsing

Replace sscanf() with mac_pton().

Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Acked-by: Andy Gospodarek <andy@greyhouse.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/bonding/bond_options.c