Re: [PATCH] enic: fix boolreturn.cocci warnings

From: David Miller
Date: Wed Mar 07 2018 - 13:37:37 EST


From: kbuild test robot <fengguang.wu@xxxxxxxxx>
Date: Wed, 7 Mar 2018 02:23:23 +0800

> From: Fengguang Wu <fengguang.wu@xxxxxxxxx>
>
> drivers/net/ethernet/cisco/enic/vnic_dev.c:1294:9-10: WARNING: return of 0/1 in function 'vnic_dev_capable_udp_rss' with return type bool
>
> Return statements in functions returning bool should use
> true/false instead of 1/0.
> Generated by: scripts/coccinelle/misc/boolreturn.cocci
>
> Fixes: 48398b6e7065 ("enic: set UDP rss flag")
> CC: Govindarajulu Varadarajan <gvaradar@xxxxxxxxx>
> Signed-off-by: Fengguang Wu <fengguang.wu@xxxxxxxxx>

Applied to net-next.