Skip to contentSkip to conversation

net/mlx5: HWS: correct CONFIG_MLX5_HW_STEERING macro name in comment

PATCH Applied Ethan Nelson-Moore 3 participants 3 messages Jun 13 – Jun 15

Subsystems (4)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 net/mlx5: HWS: correct CONFIG_MLX5_HW_STEERING macro name in comment

A comment in drivers/net/ethernet/mellanox/mlx5/core/steering/hws/fs_hws.h incorrectly refers to CONFIG_MLX5_HWS_STEERING instead of CONFIG_MLX5_HW_STEERING. Correct it.

Discovered while searching for CONFIG_* symbols referenced in code but not defined in any Kconfig file.

---
 drivers/net/ethernet/mellanox/mlx5/core/steering/hws/fs_hws.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/net/ethernet/mellanox/mlx5/core/steering/hws/fs_hws.h +1 -1
index b92d55b2d147..20cdacd8f12e 100644
@@ -116,5 +116,5 @@ static inline const struct mlx5_flow_cmds *mlx5_fs_cmd_get_hws_cmds(void)
 	return NULL;
 }
 
-#endif /* CONFIG_MLX5_HWS_STEERING */
+#endif /* CONFIG_MLX5_HW_STEERING */
 #endif
Signature · 1 line
2.43.0
Reviewed-by on v1 1/1
#1 lore raw
Quoted 18 lines · Ethan Nelson-Moore

A comment in drivers/net/ethernet/mellanox/mlx5/core/steering/hws/fs_hws.h incorrectly refers to CONFIG_MLX5_HWS_STEERING instead of CONFIG_MLX5_HW_STEERING. Correct it.

Discovered while searching for CONFIG_* symbols referenced in code but not defined in any Kconfig file.

---
 drivers/net/ethernet/mellanox/mlx5/core/steering/hws/fs_hws.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/net/ethernet/mellanox/mlx5/core/steering/hws/fs_hws.h +0 -0
index b92d55b2d147..20cdacd8f12e 100644

drivers/net/ethernet/mellanox/mlx5/core/steering/hws/fs_hws.h static inline const struct mlx5_flow_cmds *mlx5_fs_cmd_get_hws_cmds(void) · line 120

Quoted 6 lines
drivers/net/ethernet/mellanox/mlx5/core/steering/hws/fs_hws.h +1 -1
@@ -116,5 +116,5 @@ static inline const struct mlx5_flow_cmds *mlx5_fs_cmd_get_hws_cmds(void)
 	return NULL;
 }
 
-#endif /* CONFIG_MLX5_HWS_STEERING */
+#endif /* CONFIG_MLX5_HW_STEERING */
 #endif

Thanks,

#2 lore raw
In reply to Ethan Nelson-Moore
This patch was applied to netdev/net-next.git (main) by Jakub Kicinski <[email protected]>:

Hello:

This patch was applied to netdev/net-next.git (main) by Jakub Kicinski <[email protected]>:

Quoted 9 lines · On Sat, 13 Jun 2026 15:59:00 -0700 you wrote:

A comment in drivers/net/ethernet/mellanox/mlx5/core/steering/hws/fs_hws.h incorrectly refers to CONFIG_MLX5_HWS_STEERING instead of CONFIG_MLX5_HW_STEERING. Correct it.

Discovered while searching for CONFIG_* symbols referenced in code but not defined in any Kconfig file.

[...]

Here is the summary with links:
- net/mlx5: HWS: correct CONFIG_MLX5_HW_STEERING macro name in comment

    https://git.kernel.org/netdev/net-next/c/952d66f16dcd

You are awesome, thank you!

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