]> git.baikalelectronics.ru Git - kernel.git/commit
net: hns: use true,false for bool variables
authorJason Yan <yanaijie@huawei.com>
Sat, 18 Apr 2020 08:42:12 +0000 (16:42 +0800)
committerDavid S. Miller <davem@davemloft.net>
Mon, 20 Apr 2020 18:04:24 +0000 (11:04 -0700)
commitea4e97da35847e09e433078b03694c6f7e5e8f8a
tree5885ac1f94629aef99f3b443d2db05240d79ed0b
parent7aa99bb195300d9485722e91deff259b40ef016b
net: hns: use true,false for bool variables

Fix the following coccicheck warning:

drivers/net/ethernet/hisilicon/hns/hns_dsaf_mac.c:700:2-8: WARNING:
Assignment of 0/1 to bool variable
drivers/net/ethernet/hisilicon/hns/hns_dsaf_mac.c:702:2-8: 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/hisilicon/hns/hns_dsaf_mac.c