commit | a91c7775e3469821711c1eadf15149b3ba2c82c9 | [log] [tgz] |
---|---|---|
author | Himangi Saraogi <himangi774@gmail.com> | Fri Jul 25 12:05:39 2014 -0400 |
committer | Konrad Rzeszutek Wilk <konrad.wilk@oracle.com> | Fri Jul 25 12:05:48 2014 -0400 |
tree | e97ec9b8767875b05e645ed69ba5fafe023130dd | |
parent | 438b33c7145ca8a5131a30c36d8f59bce119a19a [diff] |
xen/arm: use BUG_ON Use BUG_ON(x) rather than if(x) BUG(); The semantic patch that fixes this problem is as follows: // <smpl> @@ identifier x; @@ -if (x) BUG(); +BUG_ON(x); // </smpl> Signed-off-by: Himangi Saraogi <himangi774@gmail.com> Signed-off-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com> Acked-by: Stefano Stabellini <stefano.stabellini@eu.citrix.com>