Thread (2 messages) flat view 2 messages, 2 authors, 2021-10-13

Re: [PATCH net-next 3/7] ethernet: make use of eth_hw_addr_random() where appropriate

From: Linus Walleij <hidden>
Date: 2021-10-13 23:52:50
Also in: netdev

On Wed, Oct 13, 2021 at 10:44 PM Jakub Kicinski [off-list ref] wrote:
Number of drivers use eth_random_addr(netdev->dev_addr)
thus writing to netdev->dev_addr directly, and not setting
the address type. Switch them to eth_hw_addr_random().

  @@
  expression netdev;
  @@
  - eth_random_addr(netdev->dev_addr);
  + eth_hw_addr_random(netdev);

Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Oh this is better.
Reviewed-by: Linus Walleij <redacted>

Yours,
Linus Walleij

_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help