diff options
author | Jakub Kicinski <kuba@kernel.org> | 2021-11-20 18:31:19 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2021-11-22 16:21:41 +0300 |
commit | a9c2cf9e93335968e894c16921c151f016fa36c7 (patch) | |
tree | e2c93984e352984d7e5ba4ad015bcdc0ffe10f05 /drivers/net/ethernet/cavium/octeon/octeon_mgmt.c | |
parent | ed5356b53f070dea5dff5a01b740561cb8222199 (diff) | |
download | linux-a9c2cf9e93335968e894c16921c151f016fa36c7.tar.xz |
octeon: constify netdev->dev_addr
Argument of a helper is missing a const.
Reported-by: kernel test robot <lkp@intel.com>
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/net/ethernet/cavium/octeon/octeon_mgmt.c')
-rw-r--r-- | drivers/net/ethernet/cavium/octeon/octeon_mgmt.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/ethernet/cavium/octeon/octeon_mgmt.c b/drivers/net/ethernet/cavium/octeon/octeon_mgmt.c index 4e39d712e121..4b4ffdd1044d 100644 --- a/drivers/net/ethernet/cavium/octeon/octeon_mgmt.c +++ b/drivers/net/ethernet/cavium/octeon/octeon_mgmt.c @@ -548,7 +548,7 @@ struct octeon_mgmt_cam_state { }; static void octeon_mgmt_cam_state_add(struct octeon_mgmt_cam_state *cs, - unsigned char *addr) + const unsigned char *addr) { int i; |