]> 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)
commit4ad5ae1a465657a5a21cb5a6a2f8fde58935b052
tree95543dd0b3adc26e5886265f9984255b0c5c344a
parent3b76ff5324a5074bae5cb209ce361a4d0dee116a
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