]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.git/commit
qlcnic: use true,false for bool variable in qlcnic_sriov_common.c
authorJason Yan <yanaijie@huawei.com>
Tue, 5 May 2020 07:43:49 +0000 (15:43 +0800)
committerDavid S. Miller <davem@davemloft.net>
Tue, 5 May 2020 18:39:42 +0000 (11:39 -0700)
commitd9a1c584a93a90ecd24fca775a68d113fda05576
treef8f644b710d2d5119d03c141ab6ac0592413d7c1
parent3e1853e4e1137ba0a4d314521d153852dbf4aff5
qlcnic: use true,false for bool variable in qlcnic_sriov_common.c

Fix the following coccicheck warning:

drivers/net/ethernet/qlogic/qlcnic/qlcnic_sriov_common.c:1585:3-25:
WARNING: Assignment of 0/1 to bool variable
drivers/net/ethernet/qlogic/qlcnic/qlcnic_sriov_common.c:1588:3-25:
WARNING: Assignment of 0/1 to bool variable

Signed-off-by: Jason Yan <yanaijie@huawei.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/qlogic/qlcnic/qlcnic_sriov_common.c