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 <kuba@kernel.org> Signed-off-by: Kalle Valo <kvalo@codeaurora.org> Link: https://lore.kernel.org/r/20211018235021.1279697-2-kuba@kernel.org |
||
|---|---|---|
| .. | ||
| airport.c | ||
| cfg.c | ||
| cfg.h | ||
| fw.c | ||
| fw.h | ||
| hermes_dld.c | ||
| hermes_dld.h | ||
| hermes_rid.h | ||
| hermes.c | ||
| hermes.h | ||
| hw.c | ||
| hw.h | ||
| Kconfig | ||
| main.c | ||
| main.h | ||
| Makefile | ||
| mic.c | ||
| mic.h | ||
| orinoco_cs.c | ||
| orinoco_nortel.c | ||
| orinoco_pci.c | ||
| orinoco_pci.h | ||
| orinoco_plx.c | ||
| orinoco_tmd.c | ||
| orinoco_usb.c | ||
| orinoco.h | ||
| scan.c | ||
| scan.h | ||
| spectrum_cs.c | ||
| wext.c | ||
| wext.h | ||