[PATCH net-next] octeon: constify netdev->dev_addr

Subsystems: networking drivers, the rest

STALE1747d

2 messages, 2 authors, 2021-11-22 · open the first message on its own page

[PATCH net-next] octeon: constify netdev->dev_addr

From: Jakub Kicinski <kuba@kernel.org>
Date: 2021-11-20 15:31:26

Argument of a helper is missing a const.

Reported-by: kernel test robot <redacted>
Fixes: adeef3e32146 ("net: constify netdev->dev_addr")
Signed-off-by: Jakub Kicinski <kuba@kernel.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

Re: [PATCH net-next] octeon: constify netdev->dev_addr

From: patchwork-bot+netdevbpf@kernel.org
Date: 2021-11-22 13:30:11

Hello:

This patch was applied to netdev/net-next.git (master)
by David S. Miller [off-list ref]:

On Sat, 20 Nov 2021 07:31:19 -0800 you wrote:
Argument of a helper is missing a const.

Reported-by: kernel test robot <redacted>
Fixes: adeef3e32146 ("net: constify netdev->dev_addr")
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
---
 drivers/net/ethernet/cavium/octeon/octeon_mgmt.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
Here is the summary with links:
  - [net-next] octeon: constify netdev->dev_addr
    https://git.kernel.org/netdev/net-next/c/a9c2cf9e9333

You are awesome, thank you!
-- 
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html

Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help