]> git.baikalelectronics.ru Git - kernel.git/commit
qed: use true,false for bool variables
authorJason Yan <yanaijie@huawei.com>
Mon, 20 Apr 2020 04:27:20 +0000 (12:27 +0800)
committerDavid S. Miller <davem@davemloft.net>
Mon, 20 Apr 2020 19:52:58 +0000 (12:52 -0700)
commite14bc092ab39995bc60a62325b3f12dcf0a2756a
tree95543dd0b3adc26e5886265f9984255b0c5c344a
parent700e57b85959e1587927c9e7fad42380e6fbc335
qed: use true,false for bool variables

Fix the following coccicheck warning:

drivers/net/ethernet/qlogic/qed/qed_dev.c:4395:2-34: WARNING:
Assignment of 0/1 to bool variable
drivers/net/ethernet/qlogic/qed/qed_dev.c:1975:2-34: WARNING:
Assignment of 0/1 to bool variable

Signed-off-by: Jason Yan <yanaijie@huawei.com>
Acked-by: Michal KalderonĀ <michal.kalderon@marvell.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/qlogic/qed/qed_dev.c