diff options
| author | Jakub Kicinski <kuba@kernel.org> | 2022-01-26 03:37:56 +0300 |
|---|---|---|
| committer | David S. Miller <davem@davemloft.net> | 2022-01-26 18:40:01 +0300 |
| commit | 007c95120d1b054fb637dff24636a307a4889016 (patch) | |
| tree | e44b9fc5db20986d67f7a6669ec23048e97cdc09 /drivers/usb/cdns3/cdns3-debug.h | |
| parent | 429c3be8a5e2695b5b92a6a12361eb89eb185495 (diff) | |
| download | linux-007c95120d1b054fb637dff24636a307a4889016.tar.xz | |
ethernet: 3com/typhoon: don't write directly to netdev->dev_addr
This driver casts off the const and writes directly to netdev->dev_addr.
This will result in a MAC address tree corruption and a warning.
Compile tested ppc6xx_defconfig.
Fixes: adeef3e32146 ("net: constify netdev->dev_addr")
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/usb/cdns3/cdns3-debug.h')
0 files changed, 0 insertions, 0 deletions
