Thread (10 messages) flat view 10 messages, 3 authors, 2021-10-07

Re: [PATCH net-next 3/3] ethernet: use platform_get_ethdev_address()

From: Andrew Lunn <andrew@lunn.ch>
Date: 2021-10-07 14:21:58

On Thu, Oct 07, 2021 at 06:25:11AM -0700, Jakub Kicinski wrote:
Use the new platform_get_ethdev_address() helper for the cases
where dev->dev_addr is passed in directly as the destination.

  @@
  expression dev, net;
  @@
  - eth_platform_get_mac_address(dev, net->dev_addr)
  + platform_get_ethdev_address(dev, net)

Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Reviewed-by: Andrew Lunn <andrew@lunn.ch>

    Andrew
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help