RDMA/hns: Fix type of sq_signal_bits
authorWeihang Li <liweihang@huawei.com>
Fri, 5 Feb 2021 09:39:24 +0000 (17:39 +0800)
committerJason Gunthorpe <jgg@nvidia.com>
Tue, 9 Feb 2021 00:15:09 +0000 (20:15 -0400)
commitea4092f3b56b236d08890ea589506ebd76248c53
treef2f07c74b2192088551c51ce22cc01b7644f65e8
parent773f841ab1aeb0134e3872eb3545592732db8218
RDMA/hns: Fix type of sq_signal_bits

This bit should be in type of enum ib_sig_type, or there will be a sparse
warning.

Fixes: bfe860351e31 ("RDMA/hns: Fix cast from or to restricted __le32 for driver")
Link: https://lore.kernel.org/r/1612517974-31867-3-git-send-email-liweihang@huawei.com
Reported-by: kernel test robot <lkp@intel.com>
Signed-off-by: Weihang Li <liweihang@huawei.com>
Signed-off-by: Jason Gunthorpe <jgg@nvidia.com>
drivers/infiniband/hw/hns/hns_roce_device.h