Re: [PATCH] net: hns: use true,false for bool variables

From: David Miller
Date: Mon Apr 20 2020 - 14:05:02 EST


From: Jason Yan <yanaijie@xxxxxxxxxx>
Date: Sat, 18 Apr 2020 16:42:12 +0800

> 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@xxxxxxxxxx>
> Signed-off-by: Jason Yan <yanaijie@xxxxxxxxxx>

Applied to net-next.