diff options
author | Jakub Kicinski <[email protected]> | 2021-10-18 16:50:07 -0700 |
---|---|---|
committer | Kalle Valo <[email protected]> | 2021-10-20 12:39:42 +0300 |
commit | 708884e7f7f3adb00ddb32d1c1a772d30bf86747 (patch) | |
tree | 15b09b36168e9dad9c15312a19bacdfefcd5cb12 /scripts/gdb/linux/lists.py | |
parent | 8bf26aa10a8e158be1bf92efd12da316f6d30687 (diff) |
wireless: use eth_hw_addr_set()
Convert all WiFi drivers from memcpy(... ETH_ADDR)
to eth_hw_addr_set():
@@
expression dev, np;
@@
- memcpy(dev->dev_addr, np, ETH_ALEN)
+ eth_hw_addr_set(dev, np)
Signed-off-by: Jakub Kicinski <[email protected]>
Signed-off-by: Kalle Valo <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'scripts/gdb/linux/lists.py')
0 files changed, 0 insertions, 0 deletions