RDMA/hns: Fix the wrong type of parameter "op" of the mailbox
authorWenpeng Liang <liangwenpeng@huawei.com>
Wed, 2 Mar 2022 06:48:25 +0000 (14:48 +0800)
committerJason Gunthorpe <jgg@nvidia.com>
Fri, 4 Mar 2022 21:36:31 +0000 (17:36 -0400)
commite50cda2b9f840e7a11951421e65a6a779c0aa6f1
tree2e8f37b67134030ab5ffdd7cacd5e11481956065
parent479dc93ba75da134e84c1993c9b62caa6f6ccdc6
RDMA/hns: Fix the wrong type of parameter "op" of the mailbox

The "op" field of the mailbox occupies 8 bits, so the parameter "op"
should be of type u8.

Link: https://lore.kernel.org/r/20220302064830.61706-5-liangwenpeng@huawei.com
Signed-off-by: Wenpeng Liang <liangwenpeng@huawei.com>
Reviewed-by: Leon Romanovsky <leonro@nvidia.com>
Signed-off-by: Jason Gunthorpe <jgg@nvidia.com>
drivers/infiniband/hw/hns/hns_roce_cmd.c
drivers/infiniband/hw/hns/hns_roce_cmd.h
drivers/infiniband/hw/hns/hns_roce_device.h
drivers/infiniband/hw/hns/hns_roce_hem.c
drivers/infiniband/hw/hns/hns_roce_hw_v2.c