<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel/linux.git/drivers/staging/pi433, branch v4.14.286</title>
<subtitle>Linux kernel stable tree (mirror)</subtitle>
<id>https://git.radix-linux.su/kernel/linux.git/atom?h=v4.14.286</id>
<link rel='self' href='https://git.radix-linux.su/kernel/linux.git/atom?h=v4.14.286'/>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/'/>
<updated>2019-02-12T18:46:00+00:00</updated>
<entry>
<title>staging: pi433: fix potential null dereference</title>
<updated>2019-02-12T18:46:00+00:00</updated>
<author>
<name>Michael Straube</name>
<email>straube.linux@gmail.com</email>
</author>
<published>2018-11-25T09:22:25+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/commit/?id=84e4e56c9a385b7a1fa1e683f6525391c2cd00f3'/>
<id>urn:sha1:84e4e56c9a385b7a1fa1e683f6525391c2cd00f3</id>
<content type='text'>
[ Upstream commit 64c4c4ca6c129a4191e8e1e91b2d5d9b8d08c518 ]

Add a test for successful call to cdev_alloc() to avoid
potential null dereference. Issue reported by smatch.

Signed-off-by: Michael Straube &lt;straube.linux@gmail.com&gt;
Fixes: 874bcba65f9a ("staging: pi433: New driver")
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
Signed-off-by: Sasha Levin &lt;sashal@kernel.org&gt;
</content>
</entry>
<entry>
<title>staging: pi433: Move limit check to switch default to kill warning</title>
<updated>2017-09-18T10:25:31+00:00</updated>
<author>
<name>Geert Uytterhoeven</name>
<email>geert@linux-m68k.org</email>
</author>
<published>2017-09-06T15:40:25+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/commit/?id=b72703e26b9478da531144ce5c4552dd22f1103d'/>
<id>urn:sha1:b72703e26b9478da531144ce5c4552dd22f1103d</id>
<content type='text'>
With gcc-4.1.2:

    drivers/staging/pi433/rf69.c: In function ‘rf69_set_dio_mapping’:
    drivers/staging/pi433/rf69.c:566: warning: ‘regaddr’ may be used uninitialized in this function
    drivers/staging/pi433/rf69.c:565: warning: ‘shift’ may be used uninitialized in this function
    drivers/staging/pi433/rf69.c:564: warning: ‘mask’ may be used uninitialized in this function

While this is a false positive, it can easily be fixed by moving the
limit check into the "default" case of the switch statement.

Signed-off-by: Geert Uytterhoeven &lt;geert@linux-m68k.org&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>Staging: Pi433: style fix - tabs and spaces</title>
<updated>2017-08-31T16:28:34+00:00</updated>
<author>
<name>Derek Robson</name>
<email>robsonde@gmail.com</email>
</author>
<published>2017-08-31T06:37:48+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/commit/?id=52056bd7acb9497ab7eb4b567a0c822b55156d72'/>
<id>urn:sha1:52056bd7acb9497ab7eb4b567a0c822b55156d72</id>
<content type='text'>
Fixed checkpatch errors, spaces before tabs.
Found using checkpatch.

Signed-off-by: Derek Robson &lt;robsonde@gmail.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>staging: pi433: fix spelling mistake: "preample" -&gt; "preamble"</title>
<updated>2017-08-31T16:28:34+00:00</updated>
<author>
<name>Colin Ian King</name>
<email>colin.king@canonical.com</email>
</author>
<published>2017-08-30T12:05:38+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/commit/?id=5dcf92266cdc994fc380521258b2e81025e31df9'/>
<id>urn:sha1:5dcf92266cdc994fc380521258b2e81025e31df9</id>
<content type='text'>
Trivial fix to spelling mistake in dev_dbg message

Signed-off-by: Colin Ian King &lt;colin.king@canonical.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>staging: pi433: fix interrupt handler signatures</title>
<updated>2017-08-28T08:27:29+00:00</updated>
<author>
<name>Cihangir Akturk</name>
<email>cakturk@gmail.com</email>
</author>
<published>2017-08-25T08:21:02+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/commit/?id=ee26e23616f0ea1c82516cfc5ae05e671597a546'/>
<id>urn:sha1:ee26e23616f0ea1c82516cfc5ae05e671597a546</id>
<content type='text'>
Remove "struct pt_regs *" parameter from interrupt handlers, since
it is no longer passed to interrupt handlers. Also, convert return
types to irqreturn_t.

Additionally, move DIO_irq_handler variable into the setup_GPIO
function, as it's not used outside of this function.

Signed-off-by: Cihangir Akturk &lt;cakturk@gmail.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>staging: pi433: fixed coding style issues</title>
<updated>2017-08-20T18:08:41+00:00</updated>
<author>
<name>Xiangyang Zhang</name>
<email>xyz.sun.ok@gmail.com</email>
</author>
<published>2017-08-18T03:27:40+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/commit/?id=6feb5c82de6fba4dbf1db166fa8d78ca5f4b7b34'/>
<id>urn:sha1:6feb5c82de6fba4dbf1db166fa8d78ca5f4b7b34</id>
<content type='text'>
space required before the open parenthesis, open brace should be
on previous line.

Signed-off-by: Xiangyang Zhang &lt;xyz.sun.ok@gmail.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>staging: pi433: replace INVALID_PARAM macro with inline code</title>
<updated>2017-08-18T22:57:15+00:00</updated>
<author>
<name>Marcin Ciupak</name>
<email>marcin.s.ciupak@gmail.com</email>
</author>
<published>2017-08-17T15:00:17+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/commit/?id=e221b2b11bdc3f5b0a42165422335044c472964b'/>
<id>urn:sha1:e221b2b11bdc3f5b0a42165422335044c472964b</id>
<content type='text'>
The following macro:
\#define INVALID_PARAM
	{ \
                dev_dbg(&amp;spi-&gt;dev, "set: illegal input param"); \
                return -EINVAL; \
        }
affects control flow by having return statement. This is against
Linux Kernel Coding Style and should be avoided and therefore
this macro is replaced by inline code.

Additionally following 3 minor issues:

ERROR: code indent should use tabs where possible
ERROR: spaces required around that '!=' (ctx:VxV)
ERROR: space prohibited before that close parenthesis ')'

were fiexed inline.

Signed-off-by: Marcin Ciupak &lt;marcin.s.ciupak@gmail.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>staging: pi433: replace logical not with bitwise</title>
<updated>2017-08-18T22:57:15+00:00</updated>
<author>
<name>Quentin Swain</name>
<email>dudebrobro179@gmail.com</email>
</author>
<published>2017-08-15T01:48:17+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/commit/?id=f2aee92d1865d8ff49fa7d715be638c849c650cf'/>
<id>urn:sha1:f2aee92d1865d8ff49fa7d715be638c849c650cf</id>
<content type='text'>
sparse reports the following warning  "warning: dubious: x &amp; !y".
Replaced te logical not with bitwise to resolve the warning

Signed-off-by: Quentin Swain &lt;dudebrobro179@gmail.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>staging: pi433: rf69.c style fix - spaces open brace</title>
<updated>2017-08-15T00:55:49+00:00</updated>
<author>
<name>Marcin Ciupak</name>
<email>marcin.s.ciupak@gmail.com</email>
</author>
<published>2017-08-10T15:44:13+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/commit/?id=b4bac77f2a2e3faada7313e8f6b8b4fcca7e07b8'/>
<id>urn:sha1:b4bac77f2a2e3faada7313e8f6b8b4fcca7e07b8</id>
<content type='text'>
This patch fixes the following checkpatch.pl error:

ERROR: space required before the open brace '{'

in rf69.c file as requested by TODO file.

Signed-off-by: Marcin Ciupak &lt;marcin.s.ciupak@gmail.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>staging: pi433: rf69.c style fix - else close brace</title>
<updated>2017-08-15T00:55:48+00:00</updated>
<author>
<name>Marcin Ciupak</name>
<email>marcin.s.ciupak@gmail.com</email>
</author>
<published>2017-08-10T15:43:50+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/commit/?id=46659ed7f68526783044e994ef03719813cedfa6'/>
<id>urn:sha1:46659ed7f68526783044e994ef03719813cedfa6</id>
<content type='text'>
This patch fixes the following checkpatch.pl error:

ERROR: else should follow close brace '}'

in rf69.c file as requested by TODO file.

Signed-off-by: Marcin Ciupak &lt;marcin.s.ciupak@gmail.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
</entry>
</feed>
