-
由 Fabian Frederick 提交于
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: NJ. Bruce Fields <bfields@fieldses.org> Suggested-by: NJulia Lawall <Julia.Lawall@lip6.fr> Acked-by: NJulia Lawall <Julia.Lawall@lip6.fr> Signed-off-by: NFabian Frederick <fabf@skynet.be> Signed-off-by: NMichal Marek <mmarek@suse.cz>
33236415