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 <[email protected]>
> Suggested-by: Julia Lawall <[email protected]>
> Acked-by: Julia Lawall <[email protected]>
> Signed-off-by: Fabian Frederick <[email protected]>
> ---
> V2: s/condition/the condition/

Applied to kbuild.git#misc.

Michal

_______________________________________________
Cocci mailing list
[email protected]
https://systeme.lip6.fr/mailman/listinfo/cocci

Reply via email to