<feed xmlns='http://www.w3.org/2005/Atom'>
<title>linux/scripts/coccinelle/misc, branch v3.9</title>
<subtitle>Linux kernel source tree</subtitle>
<id>https://git.amat.us/linux/atom/scripts/coccinelle/misc?h=v3.9</id>
<link rel='self' href='https://git.amat.us/linux/atom/scripts/coccinelle/misc?h=v3.9'/>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/'/>
<updated>2013-02-22T13:26:00Z</updated>
<entry>
<title>scripts/coccinelle: find constant additions that could be bit ors</title>
<updated>2013-02-22T13:26:00Z</updated>
<author>
<name>Julia Lawall</name>
<email>Julia.Lawall@lip6.fr</email>
</author>
<published>2013-02-02T16:19:55Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=24f0c2d6ff859fbca45fd765f0d241528bdb4365'/>
<id>urn:sha1:24f0c2d6ff859fbca45fd765f0d241528bdb4365</id>
<content type='text'>
Semantic patch (http://coccinelle.lip6.fr/) to check for constants that are
added but are used elsewhere as bitmasks.

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>scripts/coccinelle/misc/memcpy-assign.cocci: Replace memcpy with struct assignment</title>
<updated>2013-02-22T10:22:18Z</updated>
<author>
<name>Peter Senna Tschudin</name>
<email>peter.senna@gmail.com</email>
</author>
<published>2013-01-23T22:06:30Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=ff3771cb717fd532d97f354cd169fd10da0d0339'/>
<id>urn:sha1:ff3771cb717fd532d97f354cd169fd10da0d0339</id>
<content type='text'>
There are error-prone memcpy() that can be replaced by struct
assignment that are type-safe and much easier to read. This semantic
patch looks for memcpy() that can be replaced by struct assignment.

Inspired by patches sent by Ezequiel Garcia &lt;elezegarcia@gmail.com&gt;

Signed-off-by: Peter Senna Tschudin &lt;peter.senna@gmail.com&gt;
Signed-off-by: Michal Marek &lt;mmarek@suse.cz&gt;
</content>
</entry>
<entry>
<title>scripts/coccinelle/misc/semicolon.cocci: Add unneeded semicolon test</title>
<updated>2013-01-24T11:10:38Z</updated>
<author>
<name>Peter Senna Tschudin</name>
<email>peter.senna@gmail.com</email>
</author>
<published>2012-12-08T17:34:34Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=7320bfa7cfe31e9ee95a40ab8e52648066284141'/>
<id>urn:sha1:7320bfa7cfe31e9ee95a40ab8e52648066284141</id>
<content type='text'>
This semantic patch looks for semicolons that can be removed without
changing the semantics of the code. The confidence is moderate
because there are some false positives on cases like:

b/drivers/mmc/host/cb710-mmc.c:589
                break;
        case MMC_POWER_UP:
        default:
-               /* ignore */;
        }

There are 37 patches accepted reported by this semantic patch and
more than 300 fixes to be applied.

Signed-off-by: Peter Senna Tschudin &lt;peter.senna@gmail.com&gt;
Signed-off-by: Michal Marek &lt;mmarek@suse.cz&gt;
</content>
</entry>
<entry>
<title>scripts/coccinelle/misc/warn.cocci: use WARN</title>
<updated>2012-12-09T14:29:07Z</updated>
<author>
<name>Julia Lawall</name>
<email>Julia.Lawall@lip6.fr</email>
</author>
<published>2012-11-03T20:02:09Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=ad99ac2fa76b4a793ee801920f7501c8df6534d0'/>
<id>urn:sha1:ad99ac2fa76b4a793ee801920f7501c8df6534d0</id>
<content type='text'>
Use WARN(1,...) rather than printk followed by WARN(1).

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>scripts/coccinelle: Find threaded IRQs requests which are missing IRQF_ONESHOT</title>
<updated>2012-07-13T13:57:31Z</updated>
<author>
<name>Lars-Peter Clausen</name>
<email>lars@metafoo.de</email>
</author>
<published>2012-07-01T11:17:07Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=f1f455047940e59b3aea102e17ae4c0f9286aa76'/>
<id>urn:sha1:f1f455047940e59b3aea102e17ae4c0f9286aa76</id>
<content type='text'>
Since commit 1c6c69525b ("genirq: Reject bogus threaded irq requests") threaded
IRQs without a primary handler need to be requested with IRQF_ONESHOT, otherwise
the request will fail. This semantic patch will help to statically identify
(and fix) such cases.

Signed-off-by: Lars-Peter Clausen &lt;lars@metafoo.de&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>scripts/coccinelle: sizeof of pointer</title>
<updated>2012-05-25T12:51:12Z</updated>
<author>
<name>Julia Lawall</name>
<email>Julia.Lawall@lip6.fr</email>
</author>
<published>2012-04-21T18:23:48Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=2cbd08253a011bd9db9a51f15a974df3a779224b'/>
<id>urn:sha1:2cbd08253a011bd9db9a51f15a974df3a779224b</id>
<content type='text'>
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>scripts/coccinelle: address test is always true</title>
<updated>2012-05-25T12:51:11Z</updated>
<author>
<name>Julia Lawall</name>
<email>Julia.Lawall@lip6.fr</email>
</author>
<published>2012-04-21T18:14:58Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=4619c2b8304a0751d9ec2ba89e11f387977c8cb4'/>
<id>urn:sha1:4619c2b8304a0751d9ec2ba89e11f387977c8cb4</id>
<content type='text'>
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>coccinelle: semantic patch for bool issues</title>
<updated>2012-02-24T23:07:32Z</updated>
<author>
<name>Julia Lawall</name>
<email>Julia.Lawall@lip6.fr</email>
</author>
<published>2012-02-10T21:05:18Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=8991058171f3536c0a8fbb50ad311689b8b74979'/>
<id>urn:sha1:8991058171f3536c0a8fbb50ad311689b8b74979</id>
<content type='text'>
Signed-off-by: Julia Lawall &lt;Julia.Lawall@lip6.fr&gt;
Reviewed-by: Rusty Russell &lt;rusty@rustcorp.com.au&gt;
Signed-off-by: Michal Marek &lt;mmarek@suse.cz&gt;
</content>
</entry>
<entry>
<title>coccinelle: semantic patch to check for PTR_ERR after reassignment</title>
<updated>2012-02-24T23:07:11Z</updated>
<author>
<name>Julia Lawall</name>
<email>Julia.Lawall@lip6.fr</email>
</author>
<published>2012-02-02T14:53:08Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=4a05f067528610cfd41eb158225db697ae726d51'/>
<id>urn:sha1:4a05f067528610cfd41eb158225db697ae726d51</id>
<content type='text'>
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>scripts/coccinelle: improve the coverage of some semantic patches</title>
<updated>2012-01-14T23:05:46Z</updated>
<author>
<name>Julia Lawall</name>
<email>Julia.Lawall@lip6.fr</email>
</author>
<published>2012-01-14T22:41:54Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=29a36d4dec6cf7ad72e6e3337bf954096cbbb4cf'/>
<id>urn:sha1:29a36d4dec6cf7ad72e6e3337bf954096cbbb4cf</id>
<content type='text'>
This patch ensures that all semantic patches in the scripts/coccinelle
directory provide the report option.  Report messages that include line
numbers now have the line number preceded by "line" for easier subsequent
processing.

Signed-off-by: Julia Lawall &lt;Julia.Lawall@lip6.fr&gt;
Signed-off-by: Michal Marek &lt;mmarek@suse.cz&gt;
</content>
</entry>
</feed>
