From: Sasha Levin Date: Thu, 8 Nov 2012 20:23:04 +0000 (-0500) Subject: alpha: use BUG_ON where possible X-Git-Tag: omap-for-v3.8/fixes-for-merge-window-v4-signed~37^2~23 X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8166ea07cb89208f6beb9aa6aed554250f150cc8;p=pandora-kernel.git 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/) // @@ expression e; @@ - if (e) BUG(); + BUG_ON(e); // Signed-off-by: Sasha Levin Signed-off-by: Jiri Kosina --- Reading git-diff-tree failed