Skip to content

Commit

Permalink
octeon: constify netdev->dev_addr
Browse files Browse the repository at this point in the history
Argument of a helper is missing a const.

Reported-by: kernel test robot <lkp@intel.com>
Fixes: adeef3e ("net: constify netdev->dev_addr")
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
  • Loading branch information
Jakub Kicinski authored and David S. Miller committed Nov 22, 2021
1 parent ed5356b commit a9c2cf9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/net/ethernet/cavium/octeon/octeon_mgmt.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down

0 comments on commit a9c2cf9

Please sign in to comment.