History

Merge branch 'misc' of git://git.kernel.org/pub/scm/linux/kernel/git/mmarek/kbuild

Pull coccinelle updates from Michal Marek: "The misc branch is reserved for Coccinelle this time: - 'report' is the default mode - MAINTAINERS update for Coccinelle - documentation udate - use new option format for spatch(1) - J=<n> variable to mimic make -j for coccicheck - check for missing pci_free_consistent() calls There are some patches for rpm-pkg and deb-pkg waiting for the 3.12-rc1 merge window" * 'misc' of git://git.kernel.org/pub/scm/linux/kernel/git/mmarek/kbuild: Coccinelle: Update information about the minimal version required Coccinelle: Update the options used to the new option scheme scripts: Coccinelle script for pci_free_consistent() Coccinelle: Update the documentation Coccinelle: Update section of MAINTAINERS coccicheck: span checks across CPUs scripts/coccinelle: check for field address argument to kfree Coccinelle: Update the Coccinelle section of MAINTAINERS Coccinelle: Make 'report' the default mode

Linus Torvalds committed 13 years ago

Commit ae924942 parents b202c0d ec9794637 files · +215 −75Browse files

Unified · Split

37 files
  1. Documentation/coccinelle.txt +39 −24
  2. MAINTAINERS +3 −0
  3. scripts/coccicheck +57 −19
  4. scripts/coccinelle/api/alloc/drop_kmalloc_cast.cocci +1 −1
  5. scripts/coccinelle/api/alloc/kzalloc-simple.cocci +1 −1
  6. scripts/coccinelle/api/d_find_alias.cocci +1 −1
  7. scripts/coccinelle/api/devm_request_and_ioremap.cocci +1 −1
  8. scripts/coccinelle/api/kstrdup.cocci +1 −1
  9. scripts/coccinelle/api/memdup.cocci +1 −1
  10. scripts/coccinelle/api/memdup_user.cocci +1 −1
  11. scripts/coccinelle/api/ptr_ret.cocci +1 −1
  12. scripts/coccinelle/api/simple_open.cocci +1 −1
  13. scripts/coccinelle/free/devm_free.cocci +1 −1
  14. scripts/coccinelle/free/kfree.cocci +1 −1
  15. scripts/coccinelle/free/kfreeaddr.cocci +32 −0
  16. scripts/coccinelle/free/pci_free_consistent.cocci +52 −0
  17. scripts/coccinelle/iterators/fen.cocci +1 −1
  18. scripts/coccinelle/iterators/itnull.cocci +1 −1
  19. scripts/coccinelle/iterators/list_entry_update.cocci +1 −1
  20. scripts/coccinelle/iterators/use_after_iter.cocci +1 −1
  21. scripts/coccinelle/locks/call_kern.cocci +1 −1
  22. scripts/coccinelle/locks/double_lock.cocci +1 −1
  23. scripts/coccinelle/locks/flags.cocci +1 −1
  24. scripts/coccinelle/locks/mini_lock.cocci +1 −1
  25. scripts/coccinelle/misc/boolinit.cocci +1 −1
  26. scripts/coccinelle/misc/cstptr.cocci +1 −1
  27. scripts/coccinelle/misc/doubleinit.cocci +1 −1
  28. scripts/coccinelle/misc/ifaddr.cocci +1 −1
  29. scripts/coccinelle/misc/ifcol.cocci +1 −1
  30. scripts/coccinelle/misc/noderef.cocci +1 −1
  31. scripts/coccinelle/misc/orplus.cocci +1 −1
  32. scripts/coccinelle/misc/warn.cocci +1 −1
  33. scripts/coccinelle/null/eno.cocci +1 −1
  34. scripts/coccinelle/null/kmerr.cocci +1 −1
  35. scripts/coccinelle/tests/doublebitand.cocci +1 −1
  36. scripts/coccinelle/tests/doubletest.cocci +1 −1
  37. scripts/coccinelle/tests/odd_ptr_err.cocci +1 −1
Documentation/coccinelle.txt+39−24
@@ -6,15 +6,17 @@ Copyright 2010 Gilles Muller <Gilles.Muller@lip6.fr> · 5 unmodified lines
66 Getting Coccinelle
77 ~~~~~~~~~~~~~~~~~~~~
88
9−The semantic patches included in the kernel use the 'virtual rule'
10−feature which was introduced in Coccinelle version 0.1.11.
9+The semantic patches included in the kernel use features and options
10+which are provided by Coccinelle version 1.0.0-rc11 and above.
11+Using earlier versions will fail as the option names used by
12+the Coccinelle files and coccicheck have been updated.
1113
12−Coccinelle (>=0.2.0) is available through the package manager
14+Coccinelle is available through the package manager
1315 of many distributions, e.g. :
1416
15− - Debian (>=squeeze)
16− - Fedora (>=13)
17− - Ubuntu (>=10.04 Lucid Lynx)
17+ - Debian
18+ - Fedora
19+ - Ubuntu
1820 - OpenSUSE
1921 - Arch Linux
2022 - NetBSD
@@ -36,11 +38,6 @@ as a regular user, and install it with · 15 unmodified lines
3638
3739 sudo make install
3840
39−The semantic patches in the kernel will work best with Coccinelle version
40−0.2.4 or later. Using earlier versions may incur some parse errors in the
41−semantic patch code, but any results that are obtained should still be
42−correct.
43−
4441 Using Coccinelle on the Linux kernel
4542 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
4643
@@ -48,7 +45,7 @@ A Coccinelle-specific target is defined in the top level · 1 unmodified line
4845 Makefile. This target is named 'coccicheck' and calls the 'coccicheck'
4946 front-end in the 'scripts' directory.
5047
51−Four modes are defined: patch, report, context, and org. The mode to
48+Four basic modes are defined: patch, report, context, and org. The mode to
5249 use is specified by setting the MODE variable with 'MODE=<mode>'.
5350
5451 'patch' proposes a fix, when possible.
@@ -62,18 +59,24 @@ diff-like style.Lines of interest are indicated with '-'. · 7 unmodified lines
6259 'org' generates a report in the Org mode format of Emacs.
6360
6461 Note that not all semantic patches implement all modes. For easy use
65−of Coccinelle, the default mode is "chain" which tries the previous
66−modes in the order above until one succeeds.
62+of Coccinelle, the default mode is "report".
63+
64+Two other modes provide some common combinations of these modes.
6765
68−To make a report for every semantic patch, run the following command:
66+'chain' tries the previous modes in the order above until one succeeds.
6967
70− make coccicheck MODE=report
68+'rep+ctxt' runs successively the report mode and the context mode.
69+ It should be used with the C option (described later)
70+ which checks the code on a file basis.
7171
72−NB: The 'report' mode is the default one.
72+Examples:
73+ To make a report for every semantic patch, run the following command:
7374
74−To produce patches, run:
75+ make coccicheck MODE=report
7576
76− make coccicheck MODE=patch
77+ To produce patches, run:
78+
79+ make coccicheck MODE=patch
7780
7881
7982 The coccicheck target applies every semantic patch available in the
@@ -91,6 +94,11 @@ To enable verbose messages set the V= variable, for example: · 11 unmodified lines
9194
9295 make coccicheck MODE=report V=1
9396
97+By default, coccicheck tries to run as parallel as possible. To change
98+the parallelism, set the J= variable. For example, to run across 4 CPUs:
99+
100+ make coccicheck MODE=report J=4
101+
94102
95103 Using Coccinelle with a single semantic patch
96104 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
@@ -124,26 +132,33 @@ To check only newly edited code, use the value 2 for the C flag, i.e. · 27 unmodified lines
124132
125133 make C=2 CHECK="scripts/coccicheck"
126134
135+In these modes, which works on a file basis, there is no information
136+about semantic patches displayed, and no commit message proposed.
137+
127138 This runs every semantic patch in scripts/coccinelle by default. The
128139 COCCI variable may additionally be used to only apply a single
129140 semantic patch as shown in the previous section.
130141
131−The "chain" mode is the default. You can select another one with the
142+The "report" mode is the default. You can select another one with the
132143 MODE variable explained above.
133144
134−In this mode, there is no information about semantic patches
135−displayed, and no commit message proposed.
136−
137145 Additional flags
138146 ~~~~~~~~~~~~~~~~~~
139147
140148 Additional flags can be passed to spatch through the SPFLAGS
141149 variable.
142150
143− make SPFLAGS=--use_glimpse coccicheck
151+ make SPFLAGS=--use-glimpse coccicheck
152+ make SPFLAGS=--use-idutils coccicheck
144153
145154 See spatch --help to learn more about spatch options.
146155
156+Note that the '--use-glimpse' and '--use-idutils' options
157+require external tools for indexing the code. None of them is
158+thus active by default. However, by indexing the code with
159+one of these tools, and according to the cocci file used,
160+spatch could proceed the entire code base more quickly.
161+
147162 Proposing new semantic patches
148163 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
149164
MAINTAINERS+3−0
@@ -2135,9 +2135,12 @@ COCCINELLE/Semantic Patches (SmPL) · 2134 unmodified lines
21352135 M: Julia Lawall <Julia.Lawall@lip6.fr>
21362136 M: Gilles Muller <Gilles.Muller@lip6.fr>
21372137 M: Nicolas Palix <nicolas.palix@imag.fr>
2138+M: Michal Marek <mmarek@suse.cz>
21382139 L: cocci@systeme.lip6.fr (moderated for non-subscribers)
2140+T: git git://git.kernel.org/pub/scm/linux/kernel/git/mmarek/kbuild.git misc
21392141 W: http://coccinelle.lip6.fr/
21402142 S: Supported
2143+F: Documentation/coccinelle.txt
21412144 F: scripts/coccinelle/
21422145 F: scripts/coccicheck
21432146
scripts/coccicheck+57−19
@@ -1,17 +1,31 @@
11 #!/bin/bash
22
3+#
4+# This script requires at least spatch
5+# version 1.0.0-rc11.
6+#
7+
38 SPATCH="`which ${SPATCH:=spatch}`"
49
10+trap kill_running SIGTERM SIGINT
11+declare -a SPATCH_PID
12+
513 # The verbosity may be set by the environmental parameter V=
614 # as for example with 'make V=1 coccicheck'
715
816 if [ -n "$V" -a "$V" != "0" ]; then
9− VERBOSE=1
17+ VERBOSE="$V"
1018 else
1119 VERBOSE=0
1220 fi
1321
14−FLAGS="$SPFLAGS -very_quiet"
22+if [ -z "$J" ]; then
23+ NPROC=$(getconf _NPROCESSORS_ONLN)
24+else
25+ NPROC="$J"
26+fi
27+
28+FLAGS="$SPFLAGS --very-quiet"
1529
1630 # spatch only allows include directories with the syntax "-I include"
1731 # while gcc also allows "-Iinclude" and "-include include"
@@ -27,14 +41,14 @@ if [ "$C" = "1" -o "$C" = "2" ]; then · 9 unmodified lines
2741 else
2842 ONLINE=0
2943 if [ "$KBUILD_EXTMOD" = "" ] ; then
30− OPTIONS="-dir $srctree $COCCIINCLUDE"
44+ OPTIONS="--dir $srctree $COCCIINCLUDE"
3145 else
32− OPTIONS="-dir $KBUILD_EXTMOD $COCCIINCLUDE"
46+ OPTIONS="--dir $KBUILD_EXTMOD $COCCIINCLUDE"
3347 fi
3448 fi
3549
3650 if [ "$KBUILD_EXTMOD" != "" ] ; then
37− OPTIONS="-patch $srctree $OPTIONS"
51+ OPTIONS="--patch $srctree $OPTIONS"
3852 fi
3953
4054 if [ ! -x "$SPATCH" ]; then
@@ -44,13 +58,21 @@ fi · 3 unmodified lines
4458
4559 if [ "$MODE" = "" ] ; then
4660 if [ "$ONLINE" = "0" ] ; then
47− echo 'You have not explicitly specified the mode to use. Using default "chain" mode.'
48− echo 'All available modes will be tried (in that order): patch, report, context, org'
61+ echo 'You have not explicitly specified the mode to use. Using default "report" mode.'
62+ echo 'Available modes are the following: patch, report, context, org'
4963 echo 'You can specify the mode with "make coccicheck MODE=<mode>"'
64+ echo 'Note however that some modes are not implemented by some semantic patches.'
65+ fi
66+ MODE="report"
67+fi
68+
69+if [ "$MODE" = "chain" ] ; then
70+ if [ "$ONLINE" = "0" ] ; then
71+ echo 'You have selected the "chain" mode.'
72+ echo 'All available modes will be tried (in that order): patch, report, context, org'
5073 fi
51− MODE="chain"
5274 elif [ "$MODE" = "report" -o "$MODE" = "org" ] ; then
53− FLAGS="$FLAGS -no_show_diff"
75+ FLAGS="$FLAGS --no-show-diff"
5476 fi
5577
5678 if [ "$ONLINE" = "0" ] ; then
@@ -61,19 +83,35 @@ if [ "$ONLINE" = "0" ] ; then · 4 unmodified lines
6183 fi
6284
6385 run_cmd() {
86+ local i
6487 if [ $VERBOSE -ne 0 ] ; then
65− echo "Running: $@"
88+ echo "Running ($NPROC in parallel): $@"
6689 fi
67− eval $@
90+ for i in $(seq 0 $(( NPROC - 1)) ); do
91+ eval "$@ --max $NPROC --index $i &"
92+ SPATCH_PID[$i]=$!
93+ if [ $VERBOSE -eq 2 ] ; then
94+ echo "${SPATCH_PID[$i]} running"
95+ fi
96+ done
97+ wait
6898 }
6999
100+kill_running() {
101+ for i in $(seq $(( NPROC - 1 )) ); do
102+ if [ $VERBOSE -eq 2 ] ; then
103+ echo "Killing ${SPATCH_PID[$i]}"
104+ fi
105+ kill ${SPATCH_PID[$i]} 2>/dev/null
106+ done
107+}
70108
71109 coccinelle () {
72110 COCCI="$1"
73111
74112 OPT=`grep "Option" $COCCI | cut -d':' -f2`
75113
76−# The option '-parse_cocci' can be used to syntactically check the SmPL files.
114+# The option '--parse-cocci' can be used to syntactically check the SmPL files.
77115 #
78116 # $SPATCH -D $MODE $FLAGS -parse_cocci $COCCI $OPT > /dev/null
79117
@@ -114,20 +152,20 @@ coccinelle () { · 34 unmodified lines
114152
115153 if [ "$MODE" = "chain" ] ; then
116154 run_cmd $SPATCH -D patch \
117− $FLAGS -sp_file $COCCI $OPT $OPTIONS || \
155+ $FLAGS --cocci-file $COCCI $OPT $OPTIONS || \
118156 run_cmd $SPATCH -D report \
119− $FLAGS -sp_file $COCCI $OPT $OPTIONS -no_show_diff || \
157+ $FLAGS --cocci-file $COCCI $OPT $OPTIONS --no-show-diff || \
120158 run_cmd $SPATCH -D context \
121− $FLAGS -sp_file $COCCI $OPT $OPTIONS || \
159+ $FLAGS --cocci-file $COCCI $OPT $OPTIONS || \
122160 run_cmd $SPATCH -D org \
123− $FLAGS -sp_file $COCCI $OPT $OPTIONS -no_show_diff || exit 1
161+ $FLAGS --cocci-file $COCCI $OPT $OPTIONS --no-show-diff || exit 1
124162 elif [ "$MODE" = "rep+ctxt" ] ; then
125163 run_cmd $SPATCH -D report \
126− $FLAGS -sp_file $COCCI $OPT $OPTIONS -no_show_diff && \
164+ $FLAGS --cocci-file $COCCI $OPT $OPTIONS --no-show-diff && \
127165 run_cmd $SPATCH -D context \
128− $FLAGS -sp_file $COCCI $OPT $OPTIONS || exit 1
166+ $FLAGS --cocci-file $COCCI $OPT $OPTIONS || exit 1
129167 else
130− run_cmd $SPATCH -D $MODE $FLAGS -sp_file $COCCI $OPT $OPTIONS || exit 1
168+ run_cmd $SPATCH -D $MODE $FLAGS --cocci-file $COCCI $OPT $OPTIONS || exit 1
131169 fi
132170
133171 }
scripts/coccinelle/api/alloc/drop_kmalloc_cast.cocci+1−1
@@ -5,7 +5,7 @@ · 4 unmodified lines
55 // Confidence: High
66 // Copyright: 2009,2010 Nicolas Palix, DIKU. GPLv2.
77 // URL: http://coccinelle.lip6.fr/
8−// Options: -no_includes -include_headers
8+// Options: --no-includes --include-headers
99 //
1010 // Keywords: kmalloc, kzalloc, kcalloc
1111 // Version min: < 2.6.12 kmalloc
scripts/coccinelle/api/alloc/kzalloc-simple.cocci+1−1
@@ -9,7 +9,7 @@ · 8 unmodified lines
99 // Copyright: (C) 2009-2010 Julia Lawall, Nicolas Palix, DIKU. GPLv2.
1010 // Copyright: (C) 2009-2010 Gilles Muller, INRIA/LiP6. GPLv2.
1111 // URL: http://coccinelle.lip6.fr/rules/kzalloc.html
12−// Options: -no_includes -include_headers
12+// Options: --no-includes --include-headers
1313 //
1414 // Keywords: kmalloc, kzalloc
1515 // Version min: < 2.6.12 kmalloc
scripts/coccinelle/api/d_find_alias.cocci+1−1
@@ -4,7 +4,7 @@ · 3 unmodified lines
44 //
55 // Confidence: Moderate
66 // URL: http://coccinelle.lip6.fr/
7−// Options: -include_headers
7+// Options: --include-headers
88
99 virtual context
1010 virtual org
scripts/coccinelle/api/devm_request_and_ioremap.cocci+1−1
@@ -10,7 +10,7 @@ · 9 unmodified lines
1010 // Copyright: (C) 2011 Gilles Muller, INRIA/LiP6. GPLv2.
1111 // URL: http://coccinelle.lip6.fr/
1212 // Comments:
13−// Options: -no_includes -include_headers
13+// Options: --no-includes --include-headers
1414
1515 virtual patch
1616 virtual org
scripts/coccinelle/api/kstrdup.cocci+1−1
@@ -6,7 +6,7 @@ · 5 unmodified lines
66 // Copyright: (C) 2010-2012 Gilles Muller, INRIA/LiP6. GPLv2.
77 // URL: http://coccinelle.lip6.fr/
88 // Comments:
9−// Options: -no_includes -include_headers
9+// Options: --no-includes --include-headers
1010
1111 virtual patch
1212 virtual context
scripts/coccinelle/api/memdup.cocci+1−1
@@ -6,7 +6,7 @@ · 5 unmodified lines
66 // Copyright: (C) 2010-2012 Gilles Muller, INRIA/LiP6. GPLv2.
77 // URL: http://coccinelle.lip6.fr/
88 // Comments:
9−// Options: -no_includes -include_headers
9+// Options: --no-includes --include-headers
1010
1111 virtual patch
1212 virtual context
scripts/coccinelle/api/memdup_user.cocci+1−1
@@ -7,7 +7,7 @@ · 6 unmodified lines
77 // Copyright: (C) 2010-2012 Gilles Muller, INRIA/LiP6. GPLv2.
88 // URL: http://coccinelle.lip6.fr/
99 // Comments:
10−// Options: -no_includes -include_headers
10+// Options: --no-includes --include-headers
1111
1212 virtual patch
1313 virtual context
scripts/coccinelle/api/ptr_ret.cocci+1−1
@@ -5,7 +5,7 @@ · 4 unmodified lines
55 // Copyright: (C) 2012 Julia Lawall, INRIA/LIP6. GPLv2.
66 // Copyright: (C) 2012 Gilles Muller, INRIA/LiP6. GPLv2.
77 // URL: http://coccinelle.lip6.fr/
8−// Options: -no_includes -include_headers
8+// Options: --no-includes --include-headers
99 //
1010 // Keywords: ERR_PTR, PTR_ERR, PTR_RET
1111 // Version min: 2.6.39
scripts/coccinelle/api/simple_open.cocci+1−1
@@ -4,7 +4,7 @@ · 3 unmodified lines
44 ///
55 // Confidence: High
66 // Comments:
7−// Options: -no_includes -include_headers
7+// Options: --no-includes --include-headers
88
99 virtual patch
1010 virtual report
scripts/coccinelle/free/devm_free.cocci+1−1
@@ -18,7 +18,7 @@ · 17 unmodified lines
1818 // Copyright: (C) 2011 Gilles Muller, INRIA/LiP6. GPLv2.
1919 // URL: http://coccinelle.lip6.fr/
2020 // Comments:
21−// Options: -no_includes -include_headers
21+// Options: --no-includes --include-headers
2222
2323 virtual org
2424 virtual report
scripts/coccinelle/free/kfree.cocci+1−1
@@ -10,7 +10,7 @@ · 9 unmodified lines
1010 // Copyright: (C) 2010-2012 Gilles Muller, INRIA/LiP6. GPLv2.
1111 // URL: http://coccinelle.lip6.fr/
1212 // Comments:
13−// Options: -no_includes -include_headers
13+// Options: --no-includes --include-headers
1414
1515 virtual org
1616 virtual report
scripts/coccinelle/free/kfreeaddr.cocci+32−0
@@ -0,0 +1,32 @@
1+/// Free of a structure field
2+///
3+// Confidence: High
4+// Copyright: (C) 2013 Julia Lawall, INRIA/LIP6. GPLv2.
5+// URL: http://coccinelle.lip6.fr/
6+// Comments:
7+// Options: --no-includes --include-headers
8+
9+virtual org
10+virtual report
11+virtual context
12+
13+@r depends on context || report || org @
14+expression e;
15+identifier f;
16+position p;
17+@@
18+
19+* kfree@p(&e->f)
20+
21+@script:python depends on org@
22+p << r.p;
23+@@
24+
25+cocci.print_main("kfree",p)
26+
27+@script:python depends on report@
28+p << r.p;
29+@@
30+
31+msg = "ERROR: kfree of structure field"
32+coccilib.report.print_report(p[0],msg)
scripts/coccinelle/free/pci_free_consistent.cocci+52−0
@@ -0,0 +1,52 @@
1+/// Find missing pci_free_consistent for every pci_alloc_consistent.
2+///
3+// Confidence: Moderate
4+// Copyright: (C) 2013 Petr Strnad. GPLv2.
5+// URL: http://coccinelle.lip6.fr/
6+// Keywords: pci_free_consistent, pci_alloc_consistent
7+// Options: --no-includes --include-headers
8+
9+virtual report
10+virtual org
11+
12+@search@
13+local idexpression id;
14+expression x,y,z,e;
15+position p1,p2;
16+type T;
17+@@
18+
19+id = pci_alloc_consistent@p1(x,y,&z)
20+... when != e = id
21+if (id == NULL || ...) { ... return ...; }
22+... when != pci_free_consistent(x,y,id,z)
23+ when != if (id) { ... pci_free_consistent(x,y,id,z) ... }
24+ when != if (y) { ... pci_free_consistent(x,y,id,z) ... }
25+ when != e = (T)id
26+ when exists
27+(
28+return 0;
29+|
30+return 1;
31+|
32+return id;
33+|
34+return@p2 ...;
35+)
36+
37+@script:python depends on report@
38+p1 << search.p1;
39+p2 << search.p2;
40+@@
41+
42+msg = "ERROR: missing pci_free_consistent; pci_alloc_consistent on line %s and return without freeing on line %s" % (p1[0].line,p2[0].line)
43+coccilib.report.print_report(p2[0],msg)
44+
45+@script:python depends on org@
46+p1 << search.p1;
47+p2 << search.p2;
48+@@
49+
50+msg = "ERROR: missing pci_free_consistent; pci_alloc_consistent on line %s and return without freeing on line %s" % (p1[0].line,p2[0].line)
51+cocci.print_main(msg,p1)
52+cocci.print_secs("",p2)
scripts/coccinelle/iterators/fen.cocci+1−1
@@ -7,7 +7,7 @@ · 6 unmodified lines
77 // Copyright: (C) 2010-2012 Gilles Muller, INRIA/LiP6. GPLv2.
88 // URL: http://coccinelle.lip6.fr/
99 // Comments:
10−// Options: -no_includes -include_headers
10+// Options: --no-includes --include-headers
1111
1212 virtual patch
1313 virtual context
scripts/coccinelle/iterators/itnull.cocci+1−1
@@ -11,7 +11,7 @@ · 10 unmodified lines
1111 // Copyright: (C) 2010-2012 Gilles Muller, INRIA/LiP6. GPLv2.
1212 // URL: http://coccinelle.lip6.fr/
1313 // Comments:
14−// Options: -no_includes -include_headers
14+// Options: --no-includes --include-headers
1515
1616 virtual patch
1717 virtual context
scripts/coccinelle/iterators/list_entry_update.cocci+1−1
@@ -9,7 +9,7 @@ · 8 unmodified lines
99 // Copyright: (C) 2010 Gilles Muller, INRIA/LiP6. GPLv2.
1010 // URL: http://coccinelle.lip6.fr/
1111 // Comments:
12−// Options: -no_includes -include_headers
12+// Options: --no-includes --include-headers
1313
1414 virtual context
1515 virtual org
scripts/coccinelle/iterators/use_after_iter.cocci+1−1
@@ -11,7 +11,7 @@ · 10 unmodified lines
1111 // Copyright: (C) 2012 Gilles Muller, INRIA/LIP6. GPLv2.
1212 // URL: http://coccinelle.lip6.fr/
1313 // Comments:
14−// Options: -no_includes -include_headers
14+// Options: --no-includes --include-headers
1515
1616 virtual context
1717 virtual org
scripts/coccinelle/locks/call_kern.cocci+1−1
@@ -9,7 +9,7 @@ · 8 unmodified lines
99 // Copyright: (C) 2012 Gilles Muller, INRIA/LiP6. GPLv2.
1010 // URL: http://coccinelle.lip6.fr/
1111 // Comments:
12−// Options: -no_includes -include_headers
12+// Options: --no-includes --include-headers
1313
1414 virtual patch
1515 virtual context
scripts/coccinelle/locks/double_lock.cocci+1−1
@@ -8,7 +8,7 @@ · 7 unmodified lines
88 // Copyright: (C) 2010 Gilles Muller, INRIA/LiP6. GPLv2.
99 // URL: http://coccinelle.lip6.fr/
1010 // Comments:
11−// Options: -no_includes -include_headers
11+// Options: --no-includes --include-headers
1212
1313 virtual org
1414 virtual report
scripts/coccinelle/locks/flags.cocci+1−1
@@ -6,7 +6,7 @@ · 5 unmodified lines
66 // Copyright: (C) 2010-2012 Gilles Muller, INRIA/LiP6. GPLv2.
77 // URL: http://coccinelle.lip6.fr/
88 // Comments:
9−// Options: -no_includes -include_headers
9+// Options: --no-includes --include-headers
1010
1111 virtual context
1212 virtual org
scripts/coccinelle/locks/mini_lock.cocci+1−1
@@ -11,7 +11,7 @@ · 10 unmodified lines
1111 // Copyright: (C) 2010-2012 Gilles Muller, INRIA/LiP6. GPLv2.
1212 // URL: http://coccinelle.lip6.fr/
1313 // Comments:
14−// Options: -no_includes -include_headers
14+// Options: --no-includes --include-headers
1515
1616 virtual context
1717 virtual org
scripts/coccinelle/misc/boolinit.cocci+1−1
@@ -6,7 +6,7 @@ · 5 unmodified lines
66 // Copyright: (C) 2012 Julia Lawall, INRIA/LIP6. GPLv2.
77 // Copyright: (C) 2012 Gilles Muller, INRIA/LiP6. GPLv2.
88 // URL: http://coccinelle.lip6.fr/
9−// Options: -include_headers
9+// Options: --include-headers
1010
1111 virtual patch
1212 virtual context
scripts/coccinelle/misc/cstptr.cocci+1−1
@@ -6,7 +6,7 @@ · 5 unmodified lines
66 // Copyright: (C) 2012 Gilles Muller, INRIA/LiP6. GPLv2.
77 // URL: http://coccinelle.lip6.fr/
88 // Comments:
9−// Options: -no_includes -include_headers
9+// Options: --no-includes --include-headers
1010
1111 virtual org
1212 virtual report
scripts/coccinelle/misc/doubleinit.cocci+1−1
@@ -8,7 +8,7 @@ · 7 unmodified lines
88 // Copyright: (C) 2010-2012 Gilles Muller, INRIA/LiP6. GPLv2.
99 // URL: http://coccinelle.lip6.fr/
1010 // Comments: requires at least Coccinelle 0.2.4, lex or parse error otherwise
11−// Options: -no_includes -include_headers
11+// Options: --no-includes --include-headers
1212
1313 virtual org
1414 virtual report
scripts/coccinelle/misc/ifaddr.cocci+1−1
@@ -6,7 +6,7 @@ · 5 unmodified lines
66 // Copyright: (C) 2012 Gilles Muller, INRIA/LiP6. GPLv2.
77 // URL: http://coccinelle.lip6.fr/
88 // Comments:
9−// Options: -no_includes -include_headers
9+// Options: --no-includes --include-headers
1010
1111 virtual org
1212 virtual report
scripts/coccinelle/misc/ifcol.cocci+1−1
@@ -13,7 +13,7 @@ · 12 unmodified lines
1313 // Copyright: (C) 2010 Gilles Muller, INRIA/LiP6. GPLv2.
1414 // URL: http://coccinelle.lip6.fr/
1515 // Comments:
16−// Options: -no_includes -include_headers
16+// Options: --no-includes --include-headers
1717
1818 virtual org
1919 virtual report
scripts/coccinelle/misc/noderef.cocci+1−1
@@ -6,7 +6,7 @@ · 5 unmodified lines
66 // Copyright: (C) 2012 Gilles Muller, INRIA/LiP6. GPLv2.
77 // URL: http://coccinelle.lip6.fr/
88 // Comments:
9−// Options: -no_includes -include_headers
9+// Options: --no-includes --include-headers
1010
1111 virtual org
1212 virtual report
scripts/coccinelle/misc/orplus.cocci+1−1
@@ -7,7 +7,7 @@ · 6 unmodified lines
77 // Copyright: (C) 2013 Gilles Muller, INRIA/LIP6. GPLv2.
88 // URL: http://coccinelle.lip6.fr/
99 // Comments:
10−// Options: -no_includes -include_headers
10+// Options: --no-includes --include-headers
1111
1212 virtual org
1313 virtual report
scripts/coccinelle/misc/warn.cocci+1−1
@@ -5,7 +5,7 @@ · 4 unmodified lines
55 // Copyright: (C) 2012 Gilles Muller, INRIA/LiP6. GPLv2.
66 // URL: http://coccinelle.lip6.fr/
77 // Comments:
8−// Options: -no_includes -include_headers
8+// Options: --no-includes --include-headers
99
1010 virtual patch
1111 virtual context
scripts/coccinelle/null/eno.cocci+1−1
@@ -6,7 +6,7 @@ · 5 unmodified lines
66 // Copyright: (C) 2010-2012 Gilles Muller, INRIA/LiP6. GPLv2.
77 // URL: http://coccinelle.lip6.fr/
88 // Comments:
9−// Options: -no_includes -include_headers
9+// Options: --no-includes --include-headers
1010
1111 virtual patch
1212 virtual context
scripts/coccinelle/null/kmerr.cocci+1−1
@@ -10,7 +10,7 @@ · 9 unmodified lines
1010 // Copyright: (C) 2010 Gilles Muller, INRIA/LiP6. GPLv2.
1111 // URL: http://coccinelle.lip6.fr/
1212 // Comments:
13−// Options: -no_includes -include_headers
13+// Options: --no-includes --include-headers
1414
1515 virtual context
1616 virtual org
scripts/coccinelle/tests/doublebitand.cocci+1−1
@@ -10,7 +10,7 @@ · 9 unmodified lines
1010 // Copyright: (C) 2010 Gilles Muller, INRIA/LiP6. GPLv2.
1111 // URL: http://coccinelle.lip6.fr/
1212 // Comments:
13−// Options: -no_includes -include_headers
13+// Options: --no-includes --include-headers
1414
1515 virtual context
1616 virtual org
scripts/coccinelle/tests/doubletest.cocci+1−1
@@ -8,7 +8,7 @@ · 7 unmodified lines
88 // Copyright: (C) 2010 Gilles Muller, INRIA/LiP6. GPLv2.
99 // URL: http://coccinelle.lip6.fr/
1010 // Comments:
11−// Options: -no_includes -include_headers
11+// Options: --no-includes --include-headers
1212
1313 virtual context
1414 virtual org
scripts/coccinelle/tests/odd_ptr_err.cocci+1−1
@@ -7,7 +7,7 @@ · 6 unmodified lines
77 // Copyright: (C) 2012 Gilles Muller, INRIA. GPLv2.
88 // URL: http://coccinelle.lip6.fr/
99 // Comments:
10−// Options: -no_includes -include_headers
10+// Options: --no-includes --include-headers
1111
1212 virtual patch
1313 virtual context