net: add a helpers for loading netdev->dev_addr from platform
Status from this message: This series was applied to netdev/net-next.git (master)
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v2 Latest3 patches 0 repliesApplied 3/3
- v13 patches 6 repliesSuperseded
Patches in v2 All 3 applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/3 | ethernet: un-export nvmem_get_mac_address()net/ | +0 | 0 replies | Applied |
| 2/3 | eth: platform: add a helper for loading netdev->dev_addrinclude/ net/ | +21 | 0 replies | Applied |
| 3/3 | ethernet: use platform_get_ethdev_address()drivers/ drivers/ drivers/ +1 more | +4 | 0 replies | Applied |
Reviews trailers per patch
2 of 3 patches have a Reviewed-by or Acked-by.
| Patch | Andrew Lunn |
|---|---|
| 1/3 | R-b |
| 2/3 | |
| 3/3 | R-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH net-next v2 0/3] net: add a helpers for loading netdev->dev_addr from platform
Similarly to recently added device_get_ethdev_address() and of_get_ethdev_address() create a helper for drivers loading mac addr from platform data.
nvmem_get_mac_address() does not have driver callers so instead of adding a helper there unexport it.
Jakub Kicinski (3):
ethernet: un-export nvmem_get_mac_address()
eth: platform: add a helper for loading netdev->dev_addr
ethernet: use platform_get_ethdev_address()
drivers/net/ethernet/actions/owl-emac.c | 2 +- drivers/net/ethernet/mediatek/mtk_star_emac.c | 2 +- drivers/net/usb/smsc75xx.c | 3 +-- drivers/net/usb/smsc95xx.c | 3 +-- include/linux/etherdevice.h | 1 + net/ethernet/eth.c | 21 ++++++++++++++++++- 6 files changed, 25 insertions(+), 7 deletions(-)
Signature · 1 line
2.31.1