mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-26 06:33:19 -04:00
Coccinelle: array_size: 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
8f551befa2
commit
c7eaa8873b
1 changed files with 1 additions and 1 deletions
|
|
@ -59,7 +59,7 @@ T[] E;
|
|||
// For org and report mode
|
||||
//----------------------------------------------------------
|
||||
|
||||
@r@
|
||||
@r depends on (org || report)@
|
||||
type T;
|
||||
T[] E;
|
||||
position p;
|
||||
|
|
|
|||
Loading…
Reference in a new issue