mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-10-01 06:33:07 +00:00
Coccinelle: reduce rule applicability
Rule r is only use in org or report mode, so only execute it in those cases. Signed-off-by: Julia Lawall <Julia.Lawall@lip6.fr> Signed-off-by: Michal Marek <mmarek@suse.com>
This commit is contained in:
parent
0a9e7da660
commit
8f551befa2
1 changed files with 1 additions and 1 deletions
|
@ -50,7 +50,7 @@ T **x;
|
||||||
// For org and report mode
|
// For org and report mode
|
||||||
//----------------------------------------------------------
|
//----------------------------------------------------------
|
||||||
|
|
||||||
@r disable sizeof_type_expr@
|
@r depends on (org || report) disable sizeof_type_expr@
|
||||||
type T;
|
type T;
|
||||||
T **x;
|
T **x;
|
||||||
position p;
|
position p;
|
||||||
|
|
Loading…
Reference in a new issue