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

From: David Miller
Date: Wed Apr 22 2020 - 22:38:14 EST


From: Jason Yan <yanaijie@xxxxxxxxxx>
Date: Wed, 22 Apr 2020 15:16:36 +0800

> Fix the following coccicheck warning:
>
> net/caif/caif_dev.c:410:2-13: WARNING: Assignment of 0/1 to bool
> variable
> net/caif/caif_dev.c:445:2-13: WARNING: Assignment of 0/1 to bool
> variable
> net/caif/caif_dev.c:145:1-12: WARNING: Assignment of 0/1 to bool
> variable
> net/caif/caif_dev.c:223:1-12: WARNING: Assignment of 0/1 to bool
> variable
>
> Signed-off-by: Jason Yan <yanaijie@xxxxxxxxxx>

Applied to net-next, thanks.