diff options
author | Himangi Saraogi <himangi774@gmail.com> | 2014-07-25 12:05:39 -0400 |
---|---|---|
committer | Konrad Rzeszutek Wilk <konrad.wilk@oracle.com> | 2014-07-25 12:05:48 -0400 |
commit | a91c7775e3469821711c1eadf15149b3ba2c82c9 (patch) | |
tree | e97ec9b8767875b05e645ed69ba5fafe023130dd /drivers/xen | |
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>
Diffstat (limited to 'drivers/xen')
0 files changed, 0 insertions, 0 deletions