diff mbox series

RDMA/mlx5: fix typo in structure name

Message ID 20200724084112.GC31930@amd (mailing list archive)
State Mainlined
Commit 8b603d0715a372f5827d3a6b19d9568bf854b687
Delegated to: Jason Gunthorpe
Headers show
Series RDMA/mlx5: fix typo in structure name | expand

Commit Message

Pavel Machek July 24, 2020, 8:41 a.m. UTC
This is user API, but likely noone uses it...? Fix it before it
becomes problem.

Signed-off-by: Pavel Machek (CIP) <pavel@denx.de>

Comments

Leon Romanovsky July 24, 2020, 1:38 p.m. UTC | #1
On Fri, Jul 24, 2020 at 10:41:12AM +0200, Pavel Machek wrote:
> This is user API, but likely noone uses it...? Fix it before it
> becomes problem.
>
> Signed-off-by: Pavel Machek (CIP) <pavel@denx.de>
>
>
> diff --git a/include/uapi/rdma/mlx5_user_ioctl_cmds.h b/include/uapi/rdma/mlx5_user_ioctl_cmds.h
> index 8e316ef896b5..2d889df38df6 100644
> --- a/include/uapi/rdma/mlx5_user_ioctl_cmds.h
> +++ b/include/uapi/rdma/mlx5_user_ioctl_cmds.h
> @@ -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

>
> --
> (english) http://www.livejournal.com/~pavelmachek
> (cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html
Jason Gunthorpe July 24, 2020, 8:05 p.m. UTC | #2
On Fri, Jul 24, 2020 at 10:41:12AM +0200, Pavel Machek wrote:
> This is user API, but likely noone uses it...? Fix it before it
> becomes problem.
> 
> Signed-off-by: Pavel Machek (CIP) <pavel@denx.de>

Applied to for-next, thanks

Jason
diff mbox series

Patch

diff --git a/include/uapi/rdma/mlx5_user_ioctl_cmds.h b/include/uapi/rdma/mlx5_user_ioctl_cmds.h
index 8e316ef896b5..2d889df38df6 100644
--- a/include/uapi/rdma/mlx5_user_ioctl_cmds.h
+++ b/include/uapi/rdma/mlx5_user_ioctl_cmds.h
@@ -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),
 };