]> git.baikalelectronics.ru Git - kernel.git/commit
bnx2x: use true,false for bool variables
authorJason Yan <yanaijie@huawei.com>
Sat, 19 Sep 2020 07:45:56 +0000 (15:45 +0800)
committerDavid S. Miller <davem@davemloft.net>
Sat, 19 Sep 2020 21:23:14 +0000 (14:23 -0700)
commit9aa5b5e9fa9a537787a3e9153189249126df1188
tree963d724d73e0bbee8216123aebcf2f06762c4bb4
parent13d038fd18ee54628dcc791b9255e2eb53f9348b
bnx2x: use true,false for bool variables

This addresses the following coccinelle warning:

drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c:15415:1-26: WARNING:
Assignment of 0/1 to bool variable
drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c:12393:2-17: WARNING:
Assignment of 0/1 to bool variable
drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c:15497:2-27: WARNING:
Assignment of 0/1 to bool variable

Reported-by: Hulk Robot <hulkci@huawei.com>
Signed-off-by: Jason Yan <yanaijie@huawei.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c