diff options
author | Jakub Kicinski <kuba@kernel.org> | 2021-10-13 13:44:31 -0700 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2021-10-14 09:22:15 -0700 |
commit | db0dcc6a8a7c9051f9228c0f745f1e1d029ae4fa (patch) | |
tree | cfd33c1bd6797319ec024108193290ea0c6490e6 /.gitattributes | |
parent | 54f2d8d6ca99a3e24efc9c8b055bbcbe0b583227 (diff) |
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>
Diffstat (limited to '.gitattributes')
0 files changed, 0 insertions, 0 deletions