summaryrefslogtreecommitdiffstats
path: root/dev/coccinelle/bug_on.cocci
blob: 38378794d3ede326f1317b45a2056774abceddfa (plain)
1
2
3
4
5
6
7
@@
expression E;
@@

- if (E)
- ABORT_NOW();
+ BUG_ON(E);