<feed xmlns='http://www.w3.org/2005/Atom'>
<title>linux/scripts/coccinelle/api/pm_runtime.cocci, branch v4.5</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.5</id>
<link rel='self' href='https://git.shady.money/linux/atom?h=v4.5'/>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/'/>
<updated>2015-05-20T06:01:41Z</updated>
<entry>
<title>coccinelle: pm_runtime: Insert blank line</title>
<updated>2015-05-20T06:01:41Z</updated>
<author>
<name>Fabio Estevam</name>
<email>fabio.estevam@freescale.com</email>
</author>
<published>2015-05-09T20:09:27Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=f9beafc9d8bf7febf673df9b41e13596ca669f75'/>
<id>urn:sha1:f9beafc9d8bf7febf673df9b41e13596ca669f75</id>
<content type='text'>
Insert a blank line in order to improve the readability of the
generated patch and also make it consistent with the other
.cocci files.

Signed-off-by: Fabio Estevam &lt;fabio.estevam@freescale.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>scripts: Coccinelle script for pm_runtime_* return checks with IS_ERR_VALUE</title>
<updated>2014-01-03T13:39:35Z</updated>
<author>
<name>Nishanth Menon</name>
<email>nm@ti.com</email>
</author>
<published>2013-12-02T13:39:41Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=79f0345fefaafb7cde301a830471edd21a37989b'/>
<id>urn:sha1:79f0345fefaafb7cde301a830471edd21a37989b</id>
<content type='text'>
As indicated by Sekhar in [1], there seems to be a tendency to use
IS_ERR_VALUE to check the error result for pm_runtime_* functions which
make no sense considering commit c48cd65 (ARM: OMAP: use consistent
error checking) - the error values can either be &lt; 0 for error OR
0, 1 in cases where we have success.

So, setup a coccinelle script to help identify the same.

[1] http://marc.info/?t=138472678100003&amp;r=1&amp;w=2

Cc: Russell King &lt;rmk+kernel@arm.linux.org.uk&gt;
Reported-by: Sekhar Nori &lt;nsekhar@ti.com&gt;
Signed-off-by: Nishanth Menon &lt;nm@ti.com&gt;
Acked-by: Julia Lawall &lt;julia.lawall@lip6.fr&gt;
Signed-off-by: Michal Marek &lt;mmarek@suse.cz&gt;
</content>
</entry>
</feed>
