]> 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)
commitb04bde72e19c65066f74882b4fda32d9bf5adc2d
tree5885ac1f94629aef99f3b443d2db05240d79ed0b
parentf4b9d8ef9eafcd6107cbd01951f150ad9d211b8b
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