Re: [PATCH v2 for-next] RDMA/hns: Move capability flags of QP and CQ to hns-abi.h

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, Dec 02, 2020 at 09:29:20AM +0800, Weihang Li wrote:
> These flags will be returned to the userspace through ABI, so they should
> be defined in hns-abi.h. Furthermore, there is no need to include
> hns-abi.h in every source files, it just needs to be included in the
> common header file.
> 
> Reported-by: kernel test robot <lkp@xxxxxxxxx>
> Signed-off-by: Weihang Li <liweihang@xxxxxxxxxx>
> ---
> Changes since v1:
> - Replace 'BIT(x)' with '1 << x'.
> 
> Previous Version:
> v1: https://patchwork.kernel.org/project/linux-rdma/patch/1606829024-51856-1-git-send-email-liweihang@xxxxxxxxxx/
> 
>  drivers/infiniband/hw/hns/hns_roce_cq.c     |  1 -
>  drivers/infiniband/hw/hns/hns_roce_device.h | 11 +----------
>  drivers/infiniband/hw/hns/hns_roce_main.c   |  1 -
>  drivers/infiniband/hw/hns/hns_roce_pd.c     |  1 -
>  drivers/infiniband/hw/hns/hns_roce_qp.c     |  1 -
>  drivers/infiniband/hw/hns/hns_roce_srq.c    |  1 -
>  include/uapi/rdma/hns-abi.h                 | 10 ++++++++++
>  7 files changed, 11 insertions(+), 15 deletions(-)

Applied to for-next, thanks

Jason



[Index of Archives]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Photo]     [Yosemite News]     [Yosemite Photos]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux