WSL2-Linux-Kernel/drivers/net/ethernet/cavium
Jakub Kicinski 39479093a4 ethernet: use of_get_ethdev_address()
[ Upstream commit 9ca01b25df ]

Use the new of_get_ethdev_address() helper for the cases
where dev->dev_addr is passed in directly as the destination.

  @@
  expression dev, np;
  @@
  - of_get_mac_address(np, dev->dev_addr)
  + of_get_ethdev_address(np, dev)

Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Stable-dep-of: 1d6d537dc5 ("net: ethernet: mtk_eth_soc: handle probe deferral")
Signed-off-by: Sasha Levin <sashal@kernel.org>
2023-07-27 08:47:00 +02:00
..
common net: cavium: Fix a bunch of kerneldoc parameter issues 2020-09-09 14:11:58 -07:00
liquidio ethernet: use eth_hw_addr_set() instead of ether_addr_copy() 2023-07-27 08:46:59 +02:00
octeon ethernet: use of_get_ethdev_address() 2023-07-27 08:47:00 +02:00
thunder ethernet: use eth_hw_addr_set() instead of ether_addr_copy() 2023-07-27 08:46:59 +02:00
Kconfig ethernet: fix PTP_1588_CLOCK dependencies 2021-08-13 17:49:05 -07:00
Makefile