From: Himangi Saraogi Date: Fri, 25 Jul 2014 16:05:39 +0000 (-0400) Subject: xen/arm: use BUG_ON X-Git-Tag: omap-for-v3.17/fixes-against-rc2~131^2~7 X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a91c7775e3469821711c1eadf15149b3ba2c82c9;p=pandora-kernel.git xen/arm: use BUG_ON Use BUG_ON(x) rather than if(x) BUG(); The semantic patch that fixes this problem is as follows: // @@ identifier x; @@ -if (x) BUG(); +BUG_ON(x); // Signed-off-by: Himangi Saraogi Signed-off-by: Konrad Rzeszutek Wilk Acked-by: Stefano Stabellini --- Reading git-diff-tree failed