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

This addresses the following coccinelle warning:

drivers/net/ethernet/broadcom/b44.c:2213:6-20: WARNING: Assignment of
0/1 to bool variable
drivers/net/ethernet/broadcom/b44.c:2218:2-16: WARNING: Assignment of
0/1 to bool variable
drivers/net/ethernet/broadcom/b44.c:2226:3-17: WARNING: Assignment of
0/1 to bool variable
drivers/net/ethernet/broadcom/b44.c:2230:3-17: 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/b44.c