[PATCH 2/5] net: add an info message to eth_platform_get_mac_address()
From: Bartosz Golaszewski <hidden>
Date: 2018-07-18 16:33:18
Also in:
linux-omap, lkml, netdev
From: Bartosz Golaszewski <hidden>
Date: 2018-07-18 16:33:18
Also in:
linux-omap, lkml, netdev
2018-07-18 18:31 GMT+02:00 Andrew Lunn [off-list ref]:
On Wed, Jul 18, 2018 at 06:10:32PM +0200, Bartosz Golaszewski wrote:quoted
From: Bartosz Golaszewski <redacted> Many drivers that read the MAC address from EEPROM or MTD emit a log message when they succeed. Since this function is meant to be reused in those drivers instead of reimplementing the same operation everywhere, add an info message when we successfully read the MAC address.Hi Bartosz This makes eth_platform_get_mac_address() generally more verbose, which i guess people won't like. To keep it backwards compatible, it would be better to issue the message just when EEPROM to MTD is used. Andrew
This function should be used at most once per interface - I guess it's not like it's a huge impact on verbosity. Bart