]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
net/mlx5e: fix kdoc warning on eswitch.h
authorMoshe Shemesh <moshe@nvidia.com>
Wed, 16 Jul 2025 14:17:48 +0000 (17:17 +0300)
committerJakub Kicinski <kuba@kernel.org>
Fri, 18 Jul 2025 01:53:07 +0000 (18:53 -0700)
Fix the following kdoc warning:
git ls-files *.[ch] | egrep drivers/net/ethernet/mellanox/mlx5/core/ |\
xargs scripts/kernel-doc --none
drivers/net/ethernet/mellanox/mlx5/core/eswitch.h:824: warning: cannot
understand function prototype: 'struct mlx5_esw_event_info '

Signed-off-by: Moshe Shemesh <moshe@nvidia.com>
Signed-off-by: Tariq Toukan <tariqt@nvidia.com>
Reviewed-by: Michal Swiatkowski <michal.swiatkowski@linux.intel.com>
Link: https://patch.msgid.link/1752675472-201445-3-git-send-email-tariqt@nvidia.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/ethernet/mellanox/mlx5/core/eswitch.h

index d59fdcb29cb8a37da1fa25fb362cbfb0d6ba64be..b0b8ef3ec3c47499947531e707cae36ad45f32a0 100644 (file)
@@ -827,7 +827,7 @@ void mlx5_esw_vport_vhca_id_clear(struct mlx5_eswitch *esw, u16 vport_num);
 int mlx5_eswitch_vhca_id_to_vport(struct mlx5_eswitch *esw, u16 vhca_id, u16 *vport_num);
 
 /**
- * mlx5_esw_event_info - Indicates eswitch mode changed/changing.
+ * struct mlx5_esw_event_info - Indicates eswitch mode changed/changing.
  *
  * @new_mode: New mode of eswitch.
  */