summaryrefslogtreecommitdiff
path: root/scripts/coccinelle/misc/badty.cocci
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/coccinelle/misc/badty.cocci')
-rw-r--r--scripts/coccinelle/misc/badty.cocci2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/coccinelle/misc/badty.cocci b/scripts/coccinelle/misc/badty.cocci
index 2fc06fc71..481cf301c 100644
--- a/scripts/coccinelle/misc/badty.cocci
+++ b/scripts/coccinelle/misc/badty.cocci
@@ -50,7 +50,7 @@ T **x;
// For org and report mode
//----------------------------------------------------------
-@r disable sizeof_type_expr@
+@r depends on (org || report) disable sizeof_type_expr@
type T;
T **x;
position p;