diff options
author | 2014-07-25 12:05:39 -0400 | |
---|---|---|
committer | 2014-07-25 12:05:48 -0400 | |
commit | a91c7775e3469821711c1eadf15149b3ba2c82c9 (patch) | |
tree | e97ec9b8767875b05e645ed69ba5fafe023130dd /tools/perf/scripts/python/call-graph-from-postgresql.py | |
parent | xen/grant-table: remove support for V2 tables (diff) | |
download | linux-dev-a91c7775e3469821711c1eadf15149b3ba2c82c9.tar.xz linux-dev-a91c7775e3469821711c1eadf15149b3ba2c82c9.zip |
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 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions