Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1437748

Re: [B.A.T.M.A.N.] [PATCH] batman-adv: fix boolreturn.cocci warnings

From Marek Lindner <mareklindner@neomailbox.ch>
Newsgroups linux.kernel
Subject Re: [B.A.T.M.A.N.] [PATCH] batman-adv: fix boolreturn.cocci warnings
Date 2016-07-06 16:10 +0200
Message-ID <rRVGx-1Ml-1@gated-at.bofh.it> (permalink)
References <rRLe9-3nf-5@gated-at.bofh.it> <rRLe9-3nf-15@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


[Multipart message — attachments visible in raw view] - view raw

On Wednesday, July 06, 2016 10:49:29 kbuild test robot wrote:
> net/batman-adv/bridge_loop_avoidance.c:1105:9-10: WARNING: return of 0/1 in
> function 'batadv_bla_process_claim' 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
> 
> CC: Sven Eckelmann <sven@narfation.org>
> Signed-off-by: Fengguang Wu <fengguang.wu@intel.com>
> ---
> 
>  bridge_loop_avoidance.c |    2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)

Applied in revision 36e7316.

Thanks,
Marek

Back to linux.kernel | Previous | NextPrevious in thread | Find similar | Unroll thread


Thread

net/batman-adv/bridge_loop_avoidance.c:1105:9-10: WARNING: return of  0/1 in function 'batadv_bla_process_claim' with return type bool kbuild test robot <fengguang.wu@intel.com> - 2016-07-06 05:00 +0200
  [PATCH] batman-adv: fix boolreturn.cocci warnings kbuild test robot <fengguang.wu@intel.com> - 2016-07-06 05:00 +0200
    Re: [B.A.T.M.A.N.] [PATCH] batman-adv: fix boolreturn.cocci warnings Marek Lindner <mareklindner@neomailbox.ch> - 2016-07-06 16:10 +0200

csiph-web