[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20211120153119.132468-1-kuba@kernel.org>
Date: Sat, 20 Nov 2021 07:31:19 -0800
From: Jakub Kicinski <kuba@...nel.org>
To: davem@...emloft.net
Cc: netdev@...r.kernel.org, dingsenjie@...ong.com, michael@...le.cc,
Jakub Kicinski <kuba@...nel.org>,
kernel test robot <lkp@...el.com>
Subject: [PATCH net-next] octeon: constify netdev->dev_addr
Argument of a helper is missing a const.
Reported-by: kernel test robot <lkp@...el.com>
Fixes: adeef3e32146 ("net: constify netdev->dev_addr")
Signed-off-by: Jakub Kicinski <kuba@...nel.org>
---
drivers/net/ethernet/cavium/octeon/octeon_mgmt.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
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;
--
2.31.1
Powered by blists - more mailing lists