Files
Linux/scripts/coccinelle
Fabian Frederick 33236415ec scripts/coccinelle/misc/bugon.cocci: update bug_on conversion warning
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]>
Signed-off-by: Michal Marek <[email protected]>
2015-04-15 14:21:31 +02:00
..
2014-08-06 12:10:17 +02:00