aboutsummaryrefslogtreecommitdiff
path: root/scripts/gdb/linux/lists.py
diff options
context:
space:
mode:
authorJakub Kicinski <[email protected]>2021-10-18 16:50:09 -0700
committerKalle Valo <[email protected]>2021-10-20 12:39:43 +0300
commit8fac27fbc80ecdb22c2dd001e9bb0684eed55c01 (patch)
tree3f66360eb802a52301ac3fe15c2da721172ef8ca /scripts/gdb/linux/lists.py
parentfcb79f31d9068692f696e92c7fda199b37f5ee96 (diff)
wireless: use eth_hw_addr_set() for dev->addr_len cases
Convert all WiFi drivers from memcpy(... dev->addr_len) to eth_hw_addr_set(): @@ expression dev, np; @@ - memcpy(dev->dev_addr, np, dev->addr_len) + eth_hw_addr_set(dev, np) Manually checked the netdevs are allocated with alloc_etherdev(), so dev->addr_len must be equal to ETH_ALEN. 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