projects
/
GitHub
/
LineageOS
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8f551be
)
Coccinelle: array_size: reduce rule applicability
author
Julia Lawall
<Julia.Lawall@lip6.fr>
Sat, 30 Jan 2016 16:13:54 +0000
(17:13 +0100)
committer
Michal Marek
<mmarek@suse.com>
Thu, 18 Feb 2016 21:06:28 +0000
(22:06 +0100)
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>
scripts/coccinelle/misc/array_size.cocci
patch
|
blob
|
blame
|
history
diff --git
a/scripts/coccinelle/misc/array_size.cocci
b/scripts/coccinelle/misc/array_size.cocci
index 81e279cd347b117e04258f330c99bbe590813bd9..6ec05710b0179463101feddc99498196f740255a 100644
(file)
--- a/
scripts/coccinelle/misc/array_size.cocci
+++ b/
scripts/coccinelle/misc/array_size.cocci
@@
-59,7
+59,7
@@
T[] E;
// For org and report mode
//----------------------------------------------------------
-@r@
+@r
depends on (org || report)
@
type T;
T[] E;
position p;