Re: [PATCH net-next] net: ethernet: ti: use true,false for bool variables in cpsw_new.c

From: David Miller
Date: Tue May 05 2020 - 14:41:35 EST


From: Jason Yan <yanaijie@xxxxxxxxxx>
Date: Tue, 5 May 2020 15:46:23 +0800

> Fix the following coccicheck warning:
>
> drivers/net/ethernet/ti/cpsw_new.c:1924:2-17: WARNING: Assignment of
> 0/1 to bool variable
> drivers/net/ethernet/ti/cpsw_new.c:1231:1-16: WARNING: Assignment of
> 0/1 to bool variable
>
> Signed-off-by: Jason Yan <yanaijie@xxxxxxxxxx>

Applied.