RDMA/mlx5: Remove duplicate definitions of SW_ICM macros
Subsystems (2)
PATCH 1/1 RDMA/mlx5: Remove duplicate definitions of SW_ICM macros
From: Erez Shitrit <[email protected]>
Those macros are already defined in include/linux/mlx5/driver.h, so delete their duplicate variants.
Signed-off-by Ariel Levkovich <[email protected]>
Signed-off-by Yevgeny Kliteynik <[email protected]>
Signed-off-by Erez Shitrit <[email protected]>
Reviewed-by Alex Vesker <[email protected]>
Signed-off-by Leon Romanovsky <[email protected]>
--- drivers/infiniband/hw/mlx5/mlx5_ib.h | 4 ---- 1 file changed, 4 deletions(-)
drivers/infiniband/hw/mlx5/mlx5_ib.h +0 -4
@@ -126,10 +126,6 @@ enum mlx5_ib_mmap_type { MLX5_IB_MMAP_TYPE_VAR = 2, }; -#define MLX5_LOG_SW_ICM_BLOCK_SIZE (dev) \ - (MLX5_CAP_DEV_MEM(dev, log_sw_icm_alloc_granularity)) -#define MLX5_SW_ICM_BLOCK_SIZE (dev) (1 << MLX5_LOG_SW_ICM_BLOCK_SIZE(dev)) -struct mlx5_ib_ucontext {struct ib_ucontext ibucontext;struct list_head db_page_list;
Signature · 1 line
2.24.1
Jason Gunthorpe
AppliedQuoted 5 lines · Leon Romanovsky
From: Erez Shitrit <[email protected]>
Those macros are already defined in
include/linux/mlx5/driver.h, so delete their duplicate variants.
Quoted 8 lines
Signed-off-by Ariel Levkovich <[email protected]>Signed-off-by Yevgeny Kliteynik <[email protected]>Signed-off-by Erez Shitrit <[email protected]>Reviewed-by Alex Vesker <[email protected]>Signed-off-by Leon Romanovsky <[email protected]>--- drivers/infiniband/hw/mlx5/mlx5_ib.h | 4 ---- 1 file changed, 4 deletions(-)
That is a long list of signed off by's for a two line patch..
Applied to for-next
Jason
Quoted 15 lines · Jason Gunthorpe
Quoted 5 lines · Leon Romanovsky
From: Erez Shitrit <[email protected]>
Those macros are already defined in
include/linux/mlx5/driver.h, so delete their duplicate variants.Quoted 8 lines
Signed-off-by Ariel Levkovich <[email protected]>Signed-off-by Yevgeny Kliteynik <[email protected]>Signed-off-by Erez Shitrit <[email protected]>Reviewed-by Alex Vesker <[email protected]>Signed-off-by Leon Romanovsky <[email protected]>--- drivers/infiniband/hw/mlx5/mlx5_ib.h | 4 ---- 1 file changed, 4 deletions(-)
Quoted 1 line
That is a long list of signed off by's for a two line patch..
Team work.
Quoted 4 lines
Applied to for-next
Jason