Skip to contentSkip to conversation

RDMA/mlx5: fix typo in structure name

PATCH Applied Pavel Machek 3 participants 3 messages Jul 24, 2020 InfiniBand

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 RDMA/mlx5: fix typo in structure name

This is user API, but likely noone uses it...? Fix it before it becomes problem.

include/uapi/rdma/mlx5_user_ioctl_cmds.h +1 -1
index 8e316ef896b5..2d889df38df6 100644
@@ -259,7 +259,7 @@ enum mlx5_ib_create_flow_attrs {
 	MLX5_IB_ATTR_CREATE_FLOW_FLAGS,
 };
 
-enum mlx5_ib_destoy_flow_attrs {
+enum mlx5_ib_destroy_flow_attrs {
 	MLX5_IB_ATTR_DESTROY_FLOW_HANDLE = (1U << UVERBS_ID_NS_SHIFT),
 };
 
Signature · 2 lines
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html
#1 lore raw
Quoted 11 lines · Pavel Machek

This is user API, but likely noone uses it...? Fix it before it becomes problem.

include/uapi/rdma/mlx5_user_ioctl_cmds.h +0 -0
index 8e316ef896b5..2d889df38df6 100644

include/uapi/rdma/mlx5_user_ioctl_cmds.h enum mlx5_ib_create_flow_attrs { · line 265

Quoted 8 lines
include/uapi/rdma/mlx5_user_ioctl_cmds.h +1 -1
@@ -259,7 +259,7 @@ enum mlx5_ib_create_flow_attrs {
 	MLX5_IB_ATTR_CREATE_FLOW_FLAGS,
 };
 
-enum mlx5_ib_destoy_flow_attrs {
+enum mlx5_ib_destroy_flow_attrs {
 	MLX5_IB_ATTR_DESTROY_FLOW_HANDLE = (1U << UVERBS_ID_NS_SHIFT),
 };
 

It looks that this enum is not in use in rdma-core.

Thanks

Quoted 4 lines

--
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html