Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

Coccinelle: pm_runtime: reduce rule applicability

Rule r is only used 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>

authored by

Julia Lawall and committed by
Michal Marek
79ff2b3d c7eaa887

+1 -1
+1 -1
scripts/coccinelle/api/pm_runtime.cocci
··· 78 78 // For org and report mode 79 79 //---------------------------------------------------------- 80 80 81 - @r depends on runtime_bad_err_handle exists@ 81 + @r depends on runtime_bad_err_handle && (org || report) exists@ 82 82 position p1, p2; 83 83 identifier pm_runtime_api; 84 84 expression ret;