RDMA/hns: Change variables representing quantity to unsigned
authorWeihang Li <liweihang@huawei.com>
Wed, 20 May 2020 13:53:17 +0000 (21:53 +0800)
committerJason Gunthorpe <jgg@mellanox.com>
Mon, 25 May 2020 17:02:12 +0000 (14:02 -0300)
commit13aa13dddd5f06d47c35f9de46343e740f7d8b90
tree67b2ba8b21418f7accb4c370d4b7fb9b24dfbc14
parent82d07a4e466fa2e3cc0ac5479beeb739abaa7438
RDMA/hns: Change variables representing quantity to unsigned

Number of sge/eqe is always non-negative, they should be defined in type
of unsigned.

Link: https://lore.kernel.org/r/1589982799-28728-8-git-send-email-liweihang@huawei.com
Signed-off-by: Weihang Li <liweihang@huawei.com>
Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
drivers/infiniband/hw/hns/hns_roce_device.h
drivers/infiniband/hw/hns/hns_roce_hw_v2.c