git.openpandora.org
/
pandora-kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
438b33c
)
xen/arm: use BUG_ON
author
Himangi Saraogi
<himangi774@gmail.com>
Fri, 25 Jul 2014 16:05:39 +0000
(12:05 -0400)
committer
Konrad Rzeszutek Wilk
<konrad.wilk@oracle.com>
Fri, 25 Jul 2014 16:05:48 +0000
(12:05 -0400)
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>
No differences found