<feed xmlns='http://www.w3.org/2005/Atom'>
<title>linux/scripts/coccicheck, branch v3.0.62</title>
<subtitle>Linux kernel source tree</subtitle>
<id>https://git.amat.us/linux/atom/scripts/coccicheck?h=v3.0.62</id>
<link rel='self' href='https://git.amat.us/linux/atom/scripts/coccicheck?h=v3.0.62'/>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/'/>
<updated>2010-10-27T22:32:23Z</updated>
<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>
