aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorHimangi Saraogi <[email protected]>2014-08-08 14:22:44 -0700
committerLinus Torvalds <[email protected]>2014-08-08 15:57:25 -0700
commit89b3ac63013e64621369f619fe732b629879c671 (patch)
tree0f8c23eec330727b2208fe1b0965eb6de9a8cdbb /tools/perf/scripts/python
parent998d6688fb399ab313dcd6f24d1196e3aaa8578c (diff)
kfifo: 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 <[email protected]> Acked-by: Julia Lawall <[email protected]> Cc: Stefani Seibold <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions