[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20180307.133727.2154416452746621622.davem@davemloft.net>
Date: Wed, 07 Mar 2018 13:37:27 -0500 (EST)
From: David Miller <davem@...emloft.net>
To: fengguang.wu@...el.com
Cc: gvaradar@...co.com, kbuild-all@...org, benve@...co.com,
pkaustub@...co.com, netdev@...r.kernel.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH] enic: fix boolreturn.cocci warnings
From: kbuild test robot <fengguang.wu@...el.com>
Date: Wed, 7 Mar 2018 02:23:23 +0800
> From: Fengguang Wu <fengguang.wu@...el.com>
>
> 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@...co.com>
> Signed-off-by: Fengguang Wu <fengguang.wu@...el.com>
Applied to net-next.
Powered by blists - more mailing lists