RDMA/hns: Fix type of sq_signal_bits
authorWeihang Li <liweihang@huawei.com>
Fri, 5 Feb 2021 09:39:24 +0000 (17:39 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 4 Mar 2021 10:38:05 +0000 (11:38 +0100)
commit7e2cf295cee25fd17b9a94ffcae710c1609010f6
treec52ad67615fc637b5af32804191baa4b966cb570
parent4b31e9ffc4cde691b64c9f694e3c82a01a418228
RDMA/hns: Fix type of sq_signal_bits

[ Upstream commit ea4092f3b56b236d08890ea589506ebd76248c53 ]

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>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/infiniband/hw/hns/hns_roce_device.h