<feed xmlns='http://www.w3.org/2005/Atom'>
<title>linux/scripts/coccicheck, branch v3.8</title>
<subtitle>Linux kernel source tree</subtitle>
<id>https://git.amat.us/linux/atom/scripts/coccicheck?h=v3.8</id>
<link rel='self' href='https://git.amat.us/linux/atom/scripts/coccicheck?h=v3.8'/>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/'/>
<updated>2012-10-11T13:11:12Z</updated>
<entry>
<title>coccicheck: Add the rep+ctxt mode</title>
<updated>2012-10-11T13:11:12Z</updated>
<author>
<name>Nicolas Palix</name>
<email>nicolas.palix@imag.fr</email>
</author>
<published>2012-09-20T20:30:46Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=c05cd6ddb6fce23123c62db36a4ce09da4f29dc1'/>
<id>urn:sha1:c05cd6ddb6fce23123c62db36a4ce09da4f29dc1</id>
<content type='text'>
This adds a 'rep+ctxt' mode which prints the warning
message followed by the context.

Signed-off-by: Nicolas Palix &lt;nicolas.palix@imag.fr&gt;
Signed-off-by: Michal Marek &lt;mmarek@suse.cz&gt;
</content>
</entry>
<entry>
<title>coccicheck: change handling of C={1,2} when M= is set</title>
<updated>2012-02-24T22:50:19Z</updated>
<author>
<name>Greg Dietsche</name>
<email>Gregory.Dietsche@cuw.edu</email>
</author>
<published>2012-01-20T23:10:35Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=42f1c01b79d54a00012c553b95fc7fe266d82394'/>
<id>urn:sha1:42f1c01b79d54a00012c553b95fc7fe266d82394</id>
<content type='text'>
This patch reverts a portion of d0bc1fb4 so that coccicheck will
work properly when C=1 or C=2.

Reported-and-tested-by: Brice Goglin &lt;Brice.Goglin@inria.fr&gt;
Signed-off-by: Greg Dietsche &lt;Gregory.Dietsche@cuw.edu&gt;
Signed-off-by: Julia Lawall &lt;Julia.Lawall@lip6.fr&gt;
Signed-off-by: Michal Marek &lt;mmarek@suse.cz&gt;
</content>
</entry>
<entry>
<title>coccicheck: add M= option to control which dir is processed</title>
<updated>2012-01-14T21:25:40Z</updated>
<author>
<name>Greg Dietsche</name>
<email>Gregory.Dietsche@cuw.edu</email>
</author>
<published>2011-11-06T01:59:43Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=d0bc1fb4672b978b608400a5112249cdbc28f9ae'/>
<id>urn:sha1:d0bc1fb4672b978b608400a5112249cdbc28f9ae</id>
<content type='text'>
Examples:
	make coccicheck M=drivers/net/wireless/
	make coccicheck SUBDIRS=drivers/net/wireless/

Version 2:
	fix patch file names when using M=
	tell coccinelle where the include files are

Version 3:
	Add second include option to support out of tree development
	Fix error message

Signed-off-by: Greg Dietsche &lt;Gregory.Dietsche@cuw.edu&gt;
Acked-by: Julia Lawall &lt;julia.lawall@lip6.fr&gt;
Signed-off-by: Michal Marek &lt;mmarek@suse.cz&gt;
</content>
</entry>
<entry>
<title>Coccinelle: Add contextual message</title>
<updated>2010-10-27T22:32:23Z</updated>
<author>
<name>Nicolas Palix</name>
<email>npalix.work@gmail.com</email>
</author>
<published>2010-10-24T21:37:34Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=062c1825a5f6673746efe5f0a5ea3803b0c316a9'/>
<id>urn:sha1:062c1825a5f6673746efe5f0a5ea3803b0c316a9</id>
<content type='text'>
Change the message displayed to the user according
to the current mode used.

Fix trailing white-space and spelling

Signed-off-by: Nicolas Palix &lt;npalix.work@gmail.com&gt;
Signed-off-by: Michal Marek &lt;mmarek@suse.cz&gt;
</content>
</entry>
<entry>
<title>Coccinelle: Use the -no_show_diff option for org and report mode</title>
<updated>2010-10-13T12:26:06Z</updated>
<author>
<name>Nicolas Palix</name>
<email>npalix.work@gmail.com</email>
</author>
<published>2010-10-08T19:27:41Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=03ee0c42a77fbf60bfa6b0eacaff30ae4e19fce8'/>
<id>urn:sha1:03ee0c42a77fbf60bfa6b0eacaff30ae4e19fce8</id>
<content type='text'>
This allows to write the semantic patches with code sharing
for the matching parts.

Signed-off-by: Nicolas Palix &lt;npalix.work@gmail.com&gt;
Signed-off-by: Julia Lawall &lt;julia@diku.dk&gt;
Signed-off-by: Michal Marek &lt;mmarek@suse.cz&gt;
</content>
</entry>
<entry>
<title>Coccinelle: Add a new mode named 'chain'</title>
<updated>2010-10-13T12:26:06Z</updated>
<author>
<name>Nicolas Palix</name>
<email>npalix.work@gmail.com</email>
</author>
<published>2010-10-08T19:27:40Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=2c1160c87465ee2d61eee14596e5376d2ff74f31'/>
<id>urn:sha1:2c1160c87465ee2d61eee14596e5376d2ff74f31</id>
<content type='text'>
spatch now returns -1 when a virtual rule (given with
-D on the command line) is not defined in the semantic patch.

Using this spatch feature, coccicheck is now
tries several modes by default, in the order:
	patch, report, context, org

Signed-off-by: Nicolas Palix &lt;npalix.work@gmail.com&gt;
Signed-off-by: Julia Lawall &lt;julia@diku.dk&gt;
Signed-off-by: Michal Marek &lt;mmarek@suse.cz&gt;
</content>
</entry>
<entry>
<title>Coccinelle: Improve user information with a new kind of comment</title>
<updated>2010-10-13T12:26:06Z</updated>
<author>
<name>Nicolas Palix</name>
<email>npalix.work@gmail.com</email>
</author>
<published>2010-10-08T19:27:38Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=3c908417677f890265ff9d5efd372207cf75fd45'/>
<id>urn:sha1:3c908417677f890265ff9d5efd372207cf75fd45</id>
<content type='text'>
Improve user information with a new kind of comment
about semantic patch output.

Fix spelling.

Signed-off-by: Nicolas Palix &lt;npalix.work@gmail.com&gt;
Signed-off-by: Julia Lawall &lt;julia@diku.dk&gt;
Signed-off-by: Michal Marek &lt;mmarek@suse.cz&gt;
</content>
</entry>
<entry>
<title>Add support for the C variable in the coccicheck script</title>
<updated>2010-06-28T14:44:53Z</updated>
<author>
<name>Nicolas Palix</name>
<email>npalix@diku.dk</email>
</author>
<published>2010-06-13T07:26:34Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=1e9dea2a60b71ea7a9ac2936bed920d39f662e52'/>
<id>urn:sha1:1e9dea2a60b71ea7a9ac2936bed920d39f662e52</id>
<content type='text'>
This patch makes it possible to use the Coccinelle checker with the C
variable of the build system. To check only newly edited code, the
following command may be used:

'make C={1,2} CHECK="scripts/coccicheck"'

This runs every semantic patch in scripts/coccinelle by default. The
COCCI variable may additionally be used to only apply a single
semantic patch.

Signed-off-by: Nicolas Palix &lt;npalix@diku.dk&gt;
Signed-off-by: Julia Lawall &lt;julia@diku.dk&gt;
Signed-off-by: Michal Marek &lt;mmarek@suse.cz&gt;
</content>
</entry>
<entry>
<title>Add a target to use the Coccinelle checker</title>
<updated>2010-06-11T22:00:29Z</updated>
<author>
<name>Nicolas Palix</name>
<email>npalix@diku.dk</email>
</author>
<published>2010-06-06T15:15:01Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=74425eee71eb44c9f370bd922f72282b69bb0eab'/>
<id>urn:sha1:74425eee71eb44c9f370bd922f72282b69bb0eab</id>
<content type='text'>
A 'coccicheck' target is added. It can be called with four different
modes. Each one generates a different kind of output, i.e. context,
patch, org, report, according to the corresponding mode to be
activated.

The new target calls the 'coccicheck' front-end in the 'scripts'
directory with the MODE argument. Every SmPL file in the
subdirectories of 'scripts/coccinelle' is then given to the front-end
and applied to the entire source tree.

The four modes behave as follows:

'report' generates a list in the following format:
  file:line:column-column: message

'patch' proposes a fix, when possible.

'context' highlights lines of interest and their context in a
diff-like style. Lines of interest are indicated with '-'.

'org' generates a report in the Org mode format of Emacs.

Signed-off-by: Nicolas Palix &lt;npalix@diku.dk&gt;
Signed-off-by: Julia Lawall &lt;julia@diku.dk&gt;
Acked-by: Sam Ravnborg &lt;sam@ravnborg.org&gt;
Acked-by: Joerg Roedel &lt;joerg.roedel@amd.com&gt;
Signed-off-by: Michal Marek &lt;mmarek@suse.cz&gt;
</content>
</entry>
</feed>
