commit | 8166ea07cb89208f6beb9aa6aed554250f150cc8 | [log] [tgz] |
---|---|---|
author | Sasha Levin <sasha.levin@oracle.com> | Thu Nov 08 15:23:04 2012 -0500 |
committer | Jiri Kosina <jkosina@suse.cz> | Thu Nov 08 22:42:02 2012 +0100 |
tree | 61819564104958cdb33a1130360b832600d6746b | |
parent | 926ccfef82413623ae0e5c3a32d0cad2b9f33e96 [diff] |
alpha: use BUG_ON where possible Just use BUG_ON() instead of constructions such as: if (...) BUG() A simplified version of the semantic patch that makes this transformation is as follows: (http://coccinelle.lip6.fr/) // <smpl> @@ expression e; @@ - if (e) BUG(); + BUG_ON(e); // </smpl> Signed-off-by: Sasha Levin <sasha.levin@oracle.com> Signed-off-by: Jiri Kosina <jkosina@suse.cz>