RDMA/mlx5: use true,false for bool variable
authorzhengbin <zhengbin13@huawei.com>
Tue, 24 Dec 2019 08:40:12 +0000 (16:40 +0800)
committerJason Gunthorpe <jgg@mellanox.com>
Fri, 3 Jan 2020 23:14:00 +0000 (19:14 -0400)
commit2ab367a70a077818905c92c4cfc7c2bd6bc76a14
treeb730962e81ab6de050aa4afe485b4ba0a8d72c02
parentcf368beb8117e9d818f7b444943637fdc18d79f1
RDMA/mlx5: use true,false for bool variable

Fixes coccicheck warning:

drivers/infiniband/hw/mlx5/mr.c:150:2-26: WARNING: Assignment of 0/1 to bool variable
drivers/infiniband/hw/mlx5/mr.c:1455:2-26: WARNING: Assignment of 0/1 to bool variable
drivers/infiniband/hw/mlx5/qp.c:1874:6-20: WARNING: Assignment of 0/1 to bool variable

Link: https://lore.kernel.org/r/1577176812-2238-6-git-send-email-zhengbin13@huawei.com
Reported-by: Hulk Robot <hulkci@huawei.com>
Signed-off-by: zhengbin <zhengbin13@huawei.com>
Acked-by: Leon Romanovsky <leonro@mellanox.com>
Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
drivers/infiniband/hw/mlx5/mr.c
drivers/infiniband/hw/mlx5/qp.c