OpenCloudOS-Kernel/drivers/net/ethernet/qualcomm
Jakub Kicinski db0dcc6a8a ethernet: make use of eth_hw_addr_random() where appropriate
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);

Reviewed-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
2021-10-14 09:22:15 -07:00
..
emac ethernet: constify references to netdev->dev_addr in drivers 2021-10-14 09:22:11 -07:00
rmnet ethernet: make use of eth_hw_addr_random() where appropriate 2021-10-14 09:22:15 -07:00
Kconfig treewide: replace '---help---' in Kconfig files with 'help' 2020-06-14 01:57:21 +09:00
Makefile License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
qca_7k.c net: qca_spi: Introduce write register verification 2018-09-24 12:26:06 -07:00
qca_7k.h net: qca_spi: Introduce write register verification 2018-09-24 12:26:06 -07:00
qca_7k_common.c
qca_7k_common.h
qca_debug.c net: qca_spi: Introduce stat about bad signature 2021-05-10 14:29:18 -07:00
qca_debug.h
qca_spi.c ethernet: use of_get_ethdev_address() 2021-10-07 13:39:51 +01:00
qca_spi.h net: qca_spi: Introduce stat about bad signature 2021-05-10 14:29:18 -07:00
qca_uart.c ethernet: use of_get_ethdev_address() 2021-10-07 13:39:51 +01:00