Skip to contentSkip to conversation

octeon: constify netdev->dev_addr

PATCH Applied Jakub Kicinski 2 participants 2 messages Nov 20, 2021 – Nov 22, 2021

Subsystems (2)
lore
Share & tools
lore

Jakub Kicinski

author maintainer
#0 lore raw

PATCH 1/1 octeon: constify netdev->dev_addr

Argument of a helper is missing a const.

Fixes adeef3e32146 ("net: constify netdev->dev_addr")
---
 drivers/net/ethernet/cavium/octeon/octeon_mgmt.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/net/ethernet/cavium/octeon/octeon_mgmt.c +1 -1
index 4e39d712e121..4b4ffdd1044d 100644
@@ -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;
 
Signature · 1 line
2.31.1
#1 lore raw
This patch was applied to netdev/net-next.git (master) by David S. Miller <[email protected]>:

Hello:

This patch was applied to netdev/net-next.git (master) by David S. Miller <[email protected]>:

Quoted 8 lines · On Sat, 20 Nov 2021 07:31:19 -0800 you wrote:

Argument of a helper is missing a const.

Fixes adeef3e32146 ("net: constify netdev->dev_addr")
---
 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!

Signature · 2 lines
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html