Re: [B.A.T.M.A.N.] [PATCH] batman-adv: fix boolreturn.cocci warnings
From: Marek Lindner
Date: Wed Jul 06 2016 - 10:00:19 EST
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@xxxxxxxxxxxxx>
> Signed-off-by: Fengguang Wu <fengguang.wu@xxxxxxxxx>
> ---
>
> bridge_loop_avoidance.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
Applied in revision 36e7316.
Thanks,
Marek
Attachment:
signature.asc
Description: This is a digitally signed message part.