<feed xmlns='http://www.w3.org/2005/Atom'>
<title>linux/scripts/coccinelle, branch v4.6</title>
<subtitle>Mirror of https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/
</subtitle>
<id>https://git.shady.money/linux/atom?h=v4.6</id>
<link rel='self' href='https://git.shady.money/linux/atom?h=v4.6'/>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/'/>
<updated>2016-02-18T21:17:30Z</updated>
<entry>
<title>Coccinelle: Add api/setup_timer.cocci</title>
<updated>2016-02-18T21:17:30Z</updated>
<author>
<name>Vaishali Thakkar</name>
<email>vaishali.thakkar@oracle.com</email>
</author>
<published>2016-02-10T10:01:33Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=c5eda8fd10c64720d5232189f812a3b1cc983b8b'/>
<id>urn:sha1:c5eda8fd10c64720d5232189f812a3b1cc983b8b</id>
<content type='text'>
Use the timer API function setup_timer instead of structure field
assignments to initialize a timer.

Signed-off-by: Vaishali Thakkar &lt;vaishali.thakkar@oracle.com&gt;
Acked-by: Julia Lawall &lt;julia.lawall@lip6.fr&gt;
Signed-off-by: Michal Marek &lt;mmarek@suse.com&gt;
</content>
</entry>
<entry>
<title>coccinelle: bugon: reduce rule applicability</title>
<updated>2016-02-18T21:09:40Z</updated>
<author>
<name>Julia Lawall</name>
<email>Julia.Lawall@lip6.fr</email>
</author>
<published>2016-02-03T18:05:46Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=f75621c6ecadbd1802a7142fd346511cea05250a'/>
<id>urn:sha1:f75621c6ecadbd1802a7142fd346511cea05250a</id>
<content type='text'>
Rule r is only use in org or report mode, so only execute it in those
cases.

Signed-off-by: Julia Lawall &lt;Julia.Lawall@lip6.fr&gt;
Signed-off-by: Michal Marek &lt;mmarek@suse.com&gt;
</content>
</entry>
<entry>
<title>Coccinelle: pm_runtime: reduce rule applicability</title>
<updated>2016-02-18T21:08:09Z</updated>
<author>
<name>Julia Lawall</name>
<email>Julia.Lawall@lip6.fr</email>
</author>
<published>2016-01-31T16:26:57Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=79ff2b3deae7db21e73f1e0add92c988135defd2'/>
<id>urn:sha1:79ff2b3deae7db21e73f1e0add92c988135defd2</id>
<content type='text'>
Rule r is only used in org or report mode, so only execute it in those
cases.

Signed-off-by: Julia Lawall &lt;Julia.Lawall@lip6.fr&gt;
Signed-off-by: Michal Marek &lt;mmarek@suse.com&gt;
</content>
</entry>
<entry>
<title>Coccinelle: array_size: reduce rule applicability</title>
<updated>2016-02-18T21:06:28Z</updated>
<author>
<name>Julia Lawall</name>
<email>Julia.Lawall@lip6.fr</email>
</author>
<published>2016-01-30T16:13:54Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=c7eaa8873b3e50667e0b6529141139147f34748e'/>
<id>urn:sha1:c7eaa8873b3e50667e0b6529141139147f34748e</id>
<content type='text'>
Rule r is only use in org or report mode, so only execute it in those
cases.

Signed-off-by: Julia Lawall &lt;Julia.Lawall@lip6.fr&gt;
Signed-off-by: Michal Marek &lt;mmarek@suse.com&gt;
</content>
</entry>
<entry>
<title>Coccinelle: reduce rule applicability</title>
<updated>2016-02-18T21:05:30Z</updated>
<author>
<name>Julia Lawall</name>
<email>Julia.Lawall@lip6.fr</email>
</author>
<published>2016-01-30T15:27:04Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=8f551befa2269dc244bcfbcad795132f833cb71c'/>
<id>urn:sha1:8f551befa2269dc244bcfbcad795132f833cb71c</id>
<content type='text'>
Rule r is only use in org or report mode, so only execute it in those
cases.

Signed-off-by: Julia Lawall &lt;Julia.Lawall@lip6.fr&gt;
Signed-off-by: Michal Marek &lt;mmarek@suse.com&gt;
</content>
</entry>
<entry>
<title>scripts/coccinelle: modernize &amp;</title>
<updated>2016-02-18T10:49:30Z</updated>
<author>
<name>Julia Lawall</name>
<email>Julia.Lawall@lip6.fr</email>
</author>
<published>2016-02-17T23:16:14Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=1b669e713f277a4d4b3cec84e13d16544ac8286d'/>
<id>urn:sha1:1b669e713f277a4d4b3cec84e13d16544ac8286d</id>
<content type='text'>
&amp; is no longer allowed in column 0, since Coccinelle 1.0.4.

Signed-off-by: Julia Lawall &lt;Julia.Lawall@lip6.fr&gt;
Tested-by: Nishanth Menon &lt;nm@ti.com&gt;
Cc: stable@vger.kernel.org
Signed-off-by: Michal Marek &lt;mmarek@suse.com&gt;
</content>
</entry>
<entry>
<title>coccinelle: tests: unsigned value cannot be lesser than zero</title>
<updated>2016-01-12T16:47:47Z</updated>
<author>
<name>Andrzej Hajda</name>
<email>a.hajda@samsung.com</email>
</author>
<published>2016-01-07T09:36:51Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=3f984cb39907f87515d83657ecd471ae396a6c4a'/>
<id>urn:sha1:3f984cb39907f87515d83657ecd471ae396a6c4a</id>
<content type='text'>
Unsigned expressions cannot be lesser than zero. Presence of comparisons
'unsigned (&lt;|&lt;=|&gt;|&gt;=) 0' often indicates a bug, usually wrong type of variable.
The patch beside finding such comparisons tries to eliminate false positives,
mainly by bypassing range checks.

gcc can detect such comparisons also using -Wtype-limits switch, but it warns
also in correct cases, making too much noise.

Signed-off-by: Andrzej Hajda &lt;a.hajda@samsung.com&gt;
Acked-by: Julia Lawall &lt;julia.lawall@lip6.fr&gt;
Signed-off-by: Michal Marek &lt;mmarek@suse.com&gt;
</content>
</entry>
<entry>
<title>coccinelle: Improve checking for missing NULL terminators</title>
<updated>2015-10-26T21:44:51Z</updated>
<author>
<name>Daniel Granat</name>
<email>d.granat@samsung.com</email>
</author>
<published>2015-10-23T15:31:06Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=67afc2110a84872aa6aae44ce6b2ea6534db1438'/>
<id>urn:sha1:67afc2110a84872aa6aae44ce6b2ea6534db1438</id>
<content type='text'>
Extend checking on tables containing structures which are initialized
without specifying member name. Added new tables for checking:
i2c_device_id and platform_device_id.

Signed-off-by: Daniel Granat &lt;d.granat@samsung.com&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: ifnullfree: handle various destroy functions</title>
<updated>2015-10-26T21:41:18Z</updated>
<author>
<name>Julia Lawall</name>
<email>Julia.Lawall@lip6.fr</email>
</author>
<published>2015-10-26T21:28:26Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=4743775c6de44b3c36e15bcab2dee928b6361a16'/>
<id>urn:sha1:4743775c6de44b3c36e15bcab2dee928b6361a16</id>
<content type='text'>
Extend ifnullfree to the various destroy functions that were recently
extended to tolerate NULL arguments.

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: ifnullfree: various cleanups</title>
<updated>2015-10-26T21:41:13Z</updated>
<author>
<name>Julia Lawall</name>
<email>Julia.Lawall@lip6.fr</email>
</author>
<published>2015-10-26T21:28:25Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=ca047e715c638eacf58cb830c3ef36cecc45c3f8'/>
<id>urn:sha1:ca047e715c638eacf58cb830c3ef36cecc45c3f8</id>
<content type='text'>
Adjust tests to compare against NULL, to match cases that explicitly make
that comparison.

Remove removal and re-addition of freeing functions.

Add position variable on usb_free_urb in the non-patch case.

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