]> asedeno.scripts.mit.edu Git - linux.git/commit
RDMA/mlx4: use true,false for bool variable
authorzhengbin <zhengbin13@huawei.com>
Tue, 24 Dec 2019 08:40:11 +0000 (16:40 +0800)
committerJason Gunthorpe <jgg@mellanox.com>
Fri, 3 Jan 2020 23:13:59 +0000 (19:13 -0400)
commitcf368beb8117e9d818f7b444943637fdc18d79f1
tree892f568ff751362f9e0f5bffd65e947314a1f8d0
parentc934833e772396e20e40715e01144a92faf11735
RDMA/mlx4: use true,false for bool variable

Fixes coccicheck warning:

drivers/infiniband/hw/mlx4/qp.c:852:2-14: WARNING: Assignment of 0/1 to bool variable
drivers/infiniband/hw/mlx4/qp.c:3087:3-10: WARNING: Assignment of 0/1 to bool variable

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