<feed xmlns='http://www.w3.org/2005/Atom'>
<title>linux-stable.git/drivers/staging/kpc2000, branch v5.3</title>
<subtitle>Linux kernel stable tree</subtitle>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux-stable.git/'/>
<entry>
<title>staging: kpc2000: simplify comparison to NULL in fileops.c</title>
<updated>2019-07-04T08:40:44+00:00</updated>
<author>
<name>Simon Sandström</name>
<email>simon@nikanor.nu</email>
</author>
<published>2019-07-04T06:08:11+00:00</published>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux-stable.git/commit/?id=5d1532482943403eb11911898565628fa45863d7'/>
<id>5d1532482943403eb11911898565628fa45863d7</id>
<content type='text'>
Fixes checkpatch warning "Comparison to NULL could be written [...]".

Signed-off-by: Simon Sandström &lt;simon@nikanor.nu&gt;
Link: https://lore.kernel.org/r/20190704060811.10330-4-simon@nikanor.nu
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Fixes checkpatch warning "Comparison to NULL could be written [...]".

Signed-off-by: Simon Sandström &lt;simon@nikanor.nu&gt;
Link: https://lore.kernel.org/r/20190704060811.10330-4-simon@nikanor.nu
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>staging: kpc2000: simplify comparison to NULL in dma.c</title>
<updated>2019-07-04T08:40:44+00:00</updated>
<author>
<name>Simon Sandström</name>
<email>simon@nikanor.nu</email>
</author>
<published>2019-07-04T06:08:10+00:00</published>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux-stable.git/commit/?id=a50d99d40199db24e0c321457bd3da2df107dd71'/>
<id>a50d99d40199db24e0c321457bd3da2df107dd71</id>
<content type='text'>
Fixes checkpatch warning "Comparison to NULL could be written [...]".

Signed-off-by: Simon Sandström &lt;simon@nikanor.nu&gt;
Link: https://lore.kernel.org/r/20190704060811.10330-3-simon@nikanor.nu
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Fixes checkpatch warning "Comparison to NULL could be written [...]".

Signed-off-by: Simon Sandström &lt;simon@nikanor.nu&gt;
Link: https://lore.kernel.org/r/20190704060811.10330-3-simon@nikanor.nu
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>staging: kpc2000: simplify comparison to NULL in kpc2000_spi.c</title>
<updated>2019-07-04T08:40:44+00:00</updated>
<author>
<name>Simon Sandström</name>
<email>simon@nikanor.nu</email>
</author>
<published>2019-07-04T06:08:09+00:00</published>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux-stable.git/commit/?id=209ff937b0d4d70bb054890a8c1722cec3fc70fe'/>
<id>209ff937b0d4d70bb054890a8c1722cec3fc70fe</id>
<content type='text'>
Fixes checkpatch warning "Comparison to NULL could be written [...]".

Signed-off-by: Simon Sandström &lt;simon@nikanor.nu&gt;
Link: https://lore.kernel.org/r/20190704060811.10330-2-simon@nikanor.nu
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Fixes checkpatch warning "Comparison to NULL could be written [...]".

Signed-off-by: Simon Sandström &lt;simon@nikanor.nu&gt;
Link: https://lore.kernel.org/r/20190704060811.10330-2-simon@nikanor.nu
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>staging: kpc2000: fix brace issues in kpc2000_spi.c</title>
<updated>2019-07-03T16:32:09+00:00</updated>
<author>
<name>Simon Sandström</name>
<email>simon@nikanor.nu</email>
</author>
<published>2019-07-01T09:18:19+00:00</published>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux-stable.git/commit/?id=6a2ac8d4bf91d56c6335db0fc0585b9788397a3b'/>
<id>6a2ac8d4bf91d56c6335db0fc0585b9788397a3b</id>
<content type='text'>
Fixes issues found by checkpatch:

- "WARNING: braces {} are not necessary for single statement blocks"
- "WARNING: braces {} are not necessary for any arm of this statement"

Signed-off-by: Simon Sandström &lt;simon@nikanor.nu&gt;
Link: https://lore.kernel.org/r/20190701091819.18528-1-simon@nikanor.nu
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Fixes issues found by checkpatch:

- "WARNING: braces {} are not necessary for single statement blocks"
- "WARNING: braces {} are not necessary for any arm of this statement"

Signed-off-by: Simon Sandström &lt;simon@nikanor.nu&gt;
Link: https://lore.kernel.org/r/20190701091819.18528-1-simon@nikanor.nu
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>staging: kpc2000: drop useless softdep statement</title>
<updated>2019-07-01T15:44:50+00:00</updated>
<author>
<name>Jean Delvare</name>
<email>jdelvare@suse.de</email>
</author>
<published>2019-07-01T15:06:38+00:00</published>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux-stable.git/commit/?id=268d828144d214d085b07f1bdde74aed41052f13'/>
<id>268d828144d214d085b07f1bdde74aed41052f13</id>
<content type='text'>
The i2c-dev module is for access to I2C buses from user-space.
Kernel drivers do not care about its presence.

Signed-off-by: Jean Delvare &lt;jdelvare@suse.de&gt;
Cc: Matt Sickler &lt;Matt.Sickler@daktronics.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The i2c-dev module is for access to I2C buses from user-space.
Kernel drivers do not care about its presence.

Signed-off-by: Jean Delvare &lt;jdelvare@suse.de&gt;
Cc: Matt Sickler &lt;Matt.Sickler@daktronics.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>staging: kpc2000: remove needless 'break'</title>
<updated>2019-07-01T07:19:43+00:00</updated>
<author>
<name>Fabian Krueger</name>
<email>fabian.krueger@fau.de</email>
</author>
<published>2019-06-26T07:35:26+00:00</published>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux-stable.git/commit/?id=d19b75b05178e1e1483ccd9bd38fce930a0204d2'/>
<id>d19b75b05178e1e1483ccd9bd38fce930a0204d2</id>
<content type='text'>
The unconditioned jump will prohibit to ever reach the break-statement.
Deleting this needless statement, the code becomes more understandable.

Signed-off-by: Fabian Krueger &lt;fabian.krueger@fau.de&gt;
Signed-off-by: Michael Scheiderer &lt;michael.scheiderer@fau.de&gt;
Cc: &lt;linux-kernel@i4.cs.fau.de&gt;
Reviewed-by: Dan Carpenter &lt;dan.carpenter@oracle.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The unconditioned jump will prohibit to ever reach the break-statement.
Deleting this needless statement, the code becomes more understandable.

Signed-off-by: Fabian Krueger &lt;fabian.krueger@fau.de&gt;
Signed-off-by: Michael Scheiderer &lt;michael.scheiderer@fau.de&gt;
Cc: &lt;linux-kernel@i4.cs.fau.de&gt;
Reviewed-by: Dan Carpenter &lt;dan.carpenter@oracle.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>staging: kpc2000: introduce __func__</title>
<updated>2019-07-01T07:19:43+00:00</updated>
<author>
<name>Fabian Krueger</name>
<email>fabian.krueger@fau.de</email>
</author>
<published>2019-06-26T07:35:25+00:00</published>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux-stable.git/commit/?id=39e828584b390e612958e20ca308957001fcf854'/>
<id>39e828584b390e612958e20ca308957001fcf854</id>
<content type='text'>
Instead of using the function name hard coded as string, using __func__
and the '%s'-placeholder will always give the current name of the
function. When renaming a function, the debugging-messages won't have to
be rewritten.

Signed-off-by: Fabian Krueger &lt;fabian.krueger@fau.de&gt;
Signed-off-by: Michael Scheiderer &lt;michael.scheiderer@fau.de&gt;
Cc: &lt;linux-kernel@i4.cs.fau.de&gt;
Reviewed-by: Dan Carpenter &lt;dan.carpenter@oracle.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Instead of using the function name hard coded as string, using __func__
and the '%s'-placeholder will always give the current name of the
function. When renaming a function, the debugging-messages won't have to
be rewritten.

Signed-off-by: Fabian Krueger &lt;fabian.krueger@fau.de&gt;
Signed-off-by: Michael Scheiderer &lt;michael.scheiderer@fau.de&gt;
Cc: &lt;linux-kernel@i4.cs.fau.de&gt;
Reviewed-by: Dan Carpenter &lt;dan.carpenter@oracle.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>staging: kpc2000: introduce 'unsigned int'</title>
<updated>2019-07-01T07:19:43+00:00</updated>
<author>
<name>Fabian Krueger</name>
<email>fabian.krueger@fau.de</email>
</author>
<published>2019-06-26T07:35:24+00:00</published>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux-stable.git/commit/?id=69086fb80d09bf50a649cd74f28a44f60f420a42'/>
<id>69086fb80d09bf50a649cd74f28a44f60f420a42</id>
<content type='text'>
Replaced 'unsigned' with it's equivalent 'unsigned int' to reduce
confusion while reading the code.

Signed-off-by: Fabian Krueger &lt;fabian.krueger@fau.de&gt;
Signed-off-by: Michael Scheiderer &lt;michael.scheiderer@fau.de&gt;
Cc: &lt;linux-kernel@i4.cs.fau.de&gt;
Reviewed-by: Dan Carpenter &lt;dan.carpenter@oracle.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Replaced 'unsigned' with it's equivalent 'unsigned int' to reduce
confusion while reading the code.

Signed-off-by: Fabian Krueger &lt;fabian.krueger@fau.de&gt;
Signed-off-by: Michael Scheiderer &lt;michael.scheiderer@fau.de&gt;
Cc: &lt;linux-kernel@i4.cs.fau.de&gt;
Reviewed-by: Dan Carpenter &lt;dan.carpenter@oracle.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>staging: kpc2000: introduce usage of __packed</title>
<updated>2019-07-01T07:19:27+00:00</updated>
<author>
<name>Fabian Krueger</name>
<email>fabian.krueger@fau.de</email>
</author>
<published>2019-06-26T07:35:21+00:00</published>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux-stable.git/commit/?id=ecb87018bb76f4b9ba9081aa8fdbaa908456e652'/>
<id>ecb87018bb76f4b9ba9081aa8fdbaa908456e652</id>
<content type='text'>
Replaced __attribute__((packed)) with __packed. Both ways of attributing
are equivalent, but being shorter, __packed should be preferred.
This refactoring makes the core more readable.

Signed-off-by: Fabian Krueger &lt;fabian.krueger@fau.de&gt;
Signed-off-by: Michael Scheiderer &lt;michael.scheiderer@fau.de&gt;
Cc: &lt;linux-kernel@i4.cs.fau.de&gt;
Reviewed-by: Dan Carpenter &lt;dan.carpenter@oracle.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Replaced __attribute__((packed)) with __packed. Both ways of attributing
are equivalent, but being shorter, __packed should be preferred.
This refactoring makes the core more readable.

Signed-off-by: Fabian Krueger &lt;fabian.krueger@fau.de&gt;
Signed-off-by: Michael Scheiderer &lt;michael.scheiderer@fau.de&gt;
Cc: &lt;linux-kernel@i4.cs.fau.de&gt;
Reviewed-by: Dan Carpenter &lt;dan.carpenter@oracle.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>staging: kpc2000: blank lines after declaration</title>
<updated>2019-07-01T07:19:27+00:00</updated>
<author>
<name>Fabian Krueger</name>
<email>fabian.krueger@fau.de</email>
</author>
<published>2019-06-26T07:35:20+00:00</published>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux-stable.git/commit/?id=c70c7284a058b0c1855d945027d0bb39acd21f5d'/>
<id>c70c7284a058b0c1855d945027d0bb39acd21f5d</id>
<content type='text'>
After the declarations in a function, there should be a blank line, so
that the declaration part is visibly separated from the rest.
This refactoring makes the code more readable.

Signed-off-by: Fabian Krueger &lt;fabian.krueger@fau.de&gt;
Signed-off-by: Michael Scheiderer &lt;michael.scheiderer@fau.de&gt;
Cc: &lt;linux-kernel@i4.cs.fau.de&gt;
Reviewed-by: Dan Carpenter &lt;dan.carpenter@oracle.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
After the declarations in a function, there should be a blank line, so
that the declaration part is visibly separated from the rest.
This refactoring makes the code more readable.

Signed-off-by: Fabian Krueger &lt;fabian.krueger@fau.de&gt;
Signed-off-by: Michael Scheiderer &lt;michael.scheiderer@fau.de&gt;
Cc: &lt;linux-kernel@i4.cs.fau.de&gt;
Reviewed-by: Dan Carpenter &lt;dan.carpenter@oracle.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</pre>
</div>
</content>
</entry>
</feed>
