[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <552E5803.6050902@suse.cz>
Date: Wed, 15 Apr 2015 14:22:27 +0200
From: Michal Marek <mmarek@...e.cz>
To: Fabian Frederick <fabf@...net.be>, linux-kernel@...r.kernel.org
CC: Andrew Morton <akpm@...ux-foundation.org>,
"J. Bruce Fields" <bfields@...ldses.org>,
Julia Lawall <Julia.Lawall@...6.fr>,
Gilles Muller <Gilles.Muller@...6.fr>,
Nicolas Palix <nicolas.palix@...g.fr>, cocci@...teme.lip6.fr
Subject: Re: [PATCH V2 linux-next] scripts/coccinelle/misc/bugon.cocci: update
bug_on conversion warning
On 2015-04-09 22:58, Fabian Frederick wrote:
> if()/BUG conversion to BUG_ON must be avoided when there's side effect
> in condition. The reason being BUG_ON won't execute the condition when CONFIG_BUG
> is not defined.
>
> Inspired-by: J. Bruce Fields <bfields@...ldses.org>
> Suggested-by: Julia Lawall <Julia.Lawall@...6.fr>
> Acked-by: Julia Lawall <Julia.Lawall@...6.fr>
> Signed-off-by: Fabian Frederick <fabf@...net.be>
> ---
> V2: s/condition/the condition/
Applied to kbuild.git#misc.
Michal
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists