mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2025-01-26 02:15:46 -05:00
coccinelle: bugon: 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
79ff2b3dea
commit
f75621c6ec
1 changed files with 1 additions and 1 deletions
|
@ -40,7 +40,7 @@ expression e;
|
|||
// For org and report mode
|
||||
//----------------------------------------------------------
|
||||
|
||||
@r@
|
||||
@r depends on (org || report)@
|
||||
expression e;
|
||||
position p;
|
||||
@@
|
||||
|
|
Loading…
Add table
Reference in a new issue