Re: [PATCH for-rc 0/3] RDMA/hns: Bugfix and improvements

From: Jason Gunthorpe
Date: Thu Jun 01 2023 - 19:00:57 EST


On Tue, May 23, 2023 at 08:16:38PM +0800, Junxian Huang wrote:
> 1. #1-#2: The first two patches improves diagnostic information to
> the driver.
>
> 2. #3: The third patch removes unnecessary QP type checks.
>
>
> Chengchang Tang (2):
> RDMA/hns: Fix hns_roce_table_get return value
> RDMA/hns: Add clear_hem return value to log
>
> Junxian Huang (1):
> RDMA/hns: Remove unnecessary QP type checks

These are not -rc patches, they don't fix user facing things, so I put
them in for-next

Also there was a compile warning I fixed

../drivers/infiniband/hw/hns/hns_roce_hw_v2.c:767:20: warning: unused variable 'ibdev' [-Wunused-variable]
struct ib_device *ibdev = &hr_dev->ib_dev;

Although it could probably use more fixing.

Jason