<feed xmlns='http://www.w3.org/2005/Atom'>
<title>linux.git/drivers/staging/silicom, branch v3.14</title>
<subtitle>Linux kernel source tree</subtitle>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux.git/'/>
<entry>
<title>Staging: silicom: fix sparse non static symbol warnings</title>
<updated>2014-01-09T18:28:15+00:00</updated>
<author>
<name>Wei Yongjun</name>
<email>yongjun_wei@trendmicro.com.cn</email>
</author>
<published>2013-12-24T00:54:40+00:00</published>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux.git/commit/?id=c246d19ab12aae69b39d0188a38da4fac066519d'/>
<id>c246d19ab12aae69b39d0188a38da4fac066519d</id>
<content type='text'>
Fixes the following sparse warnings:

drivers/staging/silicom/bypasslib/bypass.c:528:12: warning: symbol 'init_lib_module' was not declared. Should it be static?
drivers/staging/silicom/bypasslib/bypass.c:534:13: warning: symbol 'cleanup_lib_module' was not declared. Should it be static?

Signed-off-by: Wei Yongjun &lt;yongjun_wei@trendmicro.com.cn&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>
Fixes the following sparse warnings:

drivers/staging/silicom/bypasslib/bypass.c:528:12: warning: symbol 'init_lib_module' was not declared. Should it be static?
drivers/staging/silicom/bypasslib/bypass.c:534:13: warning: symbol 'cleanup_lib_module' was not declared. Should it be static?

Signed-off-by: Wei Yongjun &lt;yongjun_wei@trendmicro.com.cn&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>silicom: remaining checkpatch issues in bypass.c</title>
<updated>2013-12-20T17:04:49+00:00</updated>
<author>
<name>Michael Hoefler</name>
<email>michael.hoefler@studium.uni-erlangen.de</email>
</author>
<published>2013-12-20T13:51:13+00:00</published>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux.git/commit/?id=382d277b38785aafd0705488bf895cf85abef93a'/>
<id>382d277b38785aafd0705488bf895cf85abef93a</id>
<content type='text'>
In this patch we fix some "logical" errors in bypass.c of the silicom bypass
driver (in staging).

Checkpatch complains about the following errors:
 - unnecessary forward declarations in a source file
 - assignment in if condition

In addition to that the __init and __exit macros were missing at the init and
cleanup function.

There are still two warnings left for this file related to too many leadingtabs
at nested blocks. I did not touch this issue becasue the code needs really some
refactoring. And since i do not have the appropriate hardware to test the code,
i do not change the functionality in any way.

Signed-off-by: Michael Hoefler &lt;michael.hoefler@studium.uni-erlangen.de&gt;
Signed-off-by: Christoph Kohl &lt;christoph.kohl@t-online.de&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>
In this patch we fix some "logical" errors in bypass.c of the silicom bypass
driver (in staging).

Checkpatch complains about the following errors:
 - unnecessary forward declarations in a source file
 - assignment in if condition

In addition to that the __init and __exit macros were missing at the init and
cleanup function.

There are still two warnings left for this file related to too many leadingtabs
at nested blocks. I did not touch this issue becasue the code needs really some
refactoring. And since i do not have the appropriate hardware to test the code,
i do not change the functionality in any way.

Signed-off-by: Michael Hoefler &lt;michael.hoefler@studium.uni-erlangen.de&gt;
Signed-off-by: Christoph Kohl &lt;christoph.kohl@t-online.de&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>silicom: fix coding style issues in bypass.c</title>
<updated>2013-12-20T17:04:49+00:00</updated>
<author>
<name>Michael Hoefler</name>
<email>michael.hoefler@studium.uni-erlangen.de</email>
</author>
<published>2013-12-20T13:51:12+00:00</published>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux.git/commit/?id=6618b7506962ccc2ee78965af9083e836d0dd371'/>
<id>6618b7506962ccc2ee78965af9083e836d0dd371</id>
<content type='text'>
This patch improves bypass.c (in staging) in terms of coding style. This
includes different issues some of them mentioned by checkpatch:

 - a c++ one line comment
 - parenthesis at return statementes
 - multiple definitions in one line
 - missing braces according to the style guide

Signed-off-by: Michael Hoefler &lt;michael.hoefler@studium.uni-erlangen.de&gt;
Signed-off-by: Christoph Kohl &lt;christoph.kohl@t-online.de&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>
This patch improves bypass.c (in staging) in terms of coding style. This
includes different issues some of them mentioned by checkpatch:

 - a c++ one line comment
 - parenthesis at return statementes
 - multiple definitions in one line
 - missing braces according to the style guide

Signed-off-by: Michael Hoefler &lt;michael.hoefler@studium.uni-erlangen.de&gt;
Signed-off-by: Christoph Kohl &lt;christoph.kohl@t-online.de&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>silicom: fix whitespace issues in bypass.c</title>
<updated>2013-12-20T17:04:49+00:00</updated>
<author>
<name>Michael Hoefler</name>
<email>michael.hoefler@studium.uni-erlangen.de</email>
</author>
<published>2013-12-20T13:51:11+00:00</published>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux.git/commit/?id=74552f1b2f7bee7f8a7d3040ce86a1df167ec691'/>
<id>74552f1b2f7bee7f8a7d3040ce86a1df167ec691</id>
<content type='text'>
This patch addresses several problems in bypass.c found by checkpatch.
Furthermore it removes/adds some empty lines to make the code more readable.

The following problems are fixed:
 - line over 80 characters
 - space after logical operator !
 - spaces instead of tabs
 - missing empty line after local declarations
 - empty line after {

The empty line issues were not discovered by checkpatch but in my opinion these
changes make perfect sense in terms of readability.

Signed-off-by: Michael Hoefler &lt;michael.hoefler@studium.uni-erlangen.de&gt;
Signed-off-by: Christoph Kohl &lt;christoph.kohl@t-online.de&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>
This patch addresses several problems in bypass.c found by checkpatch.
Furthermore it removes/adds some empty lines to make the code more readable.

The following problems are fixed:
 - line over 80 characters
 - space after logical operator !
 - spaces instead of tabs
 - missing empty line after local declarations
 - empty line after {

The empty line issues were not discovered by checkpatch but in my opinion these
changes make perfect sense in terms of readability.

Signed-off-by: Michael Hoefler &lt;michael.hoefler@studium.uni-erlangen.de&gt;
Signed-off-by: Christoph Kohl &lt;christoph.kohl@t-online.de&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>staging: silicom: remove dead code</title>
<updated>2013-12-03T17:03:20+00:00</updated>
<author>
<name>Michal Nazarewicz</name>
<email>mina86@mina86.com</email>
</author>
<published>2013-11-29T17:05:01+00:00</published>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux.git/commit/?id=14f4f4aa90473ece675df56062a9f14efbf00859'/>
<id>14f4f4aa90473ece675df56062a9f14efbf00859</id>
<content type='text'>
bus_info field of struct ethtool_drvinfo is an array thus it always
evaluates to true in a boolean context.  Therefore operation
depending on it being false will never be executed.

Signed-off-by: Michal Nazarewicz &lt;mina86@mina86.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>
bus_info field of struct ethtool_drvinfo is an array thus it always
evaluates to true in a boolean context.  Therefore operation
depending on it being false will never be executed.

Signed-off-by: Michal Nazarewicz &lt;mina86@mina86.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Staging: silicom: Remove unnecessary variable from get_bypass_info()</title>
<updated>2013-11-12T00:34:54+00:00</updated>
<author>
<name>Rupert Muchembled</name>
<email>rupert@rmuch.net</email>
</author>
<published>2013-11-08T06:01:49+00:00</published>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux.git/commit/?id=473b1716256d2b01bfd105e6af96ccc34b951fe3'/>
<id>473b1716256d2b01bfd105e6af96ccc34b951fe3</id>
<content type='text'>
Remove unnecessary variable ioctl from get_bypass_info().

As a consequence, this patch removes an assignment to ioctl in an if condition,
reported by checkpatch.pl.

Signed-off-by: Rupert Muchembled &lt;rupert@rmuch.net&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>
Remove unnecessary variable ioctl from get_bypass_info().

As a consequence, this patch removes an assignment to ioctl in an if condition,
reported by checkpatch.pl.

Signed-off-by: Rupert Muchembled &lt;rupert@rmuch.net&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Staging: silicom: Remove unnecessary variable from do_cmd()</title>
<updated>2013-11-12T00:34:54+00:00</updated>
<author>
<name>Rupert Muchembled</name>
<email>rupert@rmuch.net</email>
</author>
<published>2013-11-08T06:01:48+00:00</published>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux.git/commit/?id=a82c40cba28266186eff04bde6e368083eefa687'/>
<id>a82c40cba28266186eff04bde6e368083eefa687</id>
<content type='text'>
Remove unnecessary variable ioctl from do_cmd().

As a consequence, this patch removes an assignment to ioctl in an if condition,
reported by checkpatch.pl.

Signed-off-by: Rupert Muchembled &lt;rupert@rmuch.net&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>
Remove unnecessary variable ioctl from do_cmd().

As a consequence, this patch removes an assignment to ioctl in an if condition,
reported by checkpatch.pl.

Signed-off-by: Rupert Muchembled &lt;rupert@rmuch.net&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>staging: silicom: fix space prohibited before semicolon</title>
<updated>2013-10-02T23:22:01+00:00</updated>
<author>
<name>Tugce Sirin</name>
<email>ztugcesirin@gmail.com</email>
</author>
<published>2013-10-02T22:39:57+00:00</published>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux.git/commit/?id=b8b04eef302941e53c8d508d6503e8bf1375f67a'/>
<id>b8b04eef302941e53c8d508d6503e8bf1375f67a</id>
<content type='text'>
Signed-off-by: Tugce Sirin &lt;ztugcesirin@gmail.com&gt;
Reviewed-by: Josh Triplett &lt;josh@joshtriplett.org&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>
Signed-off-by: Tugce Sirin &lt;ztugcesirin@gmail.com&gt;
Reviewed-by: Josh Triplett &lt;josh@joshtriplett.org&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>staging: silicom: introduce bp_dev_get_idx_bsf() and use it</title>
<updated>2013-09-17T14:47:46+00:00</updated>
<author>
<name>Andy Shevchenko</name>
<email>andriy.shevchenko@linux.intel.com</email>
</author>
<published>2013-09-13T06:44:31+00:00</published>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux.git/commit/?id=de2e487f0008f38bf3daab476c6234b1a24c8ddc'/>
<id>de2e487f0008f38bf3daab476c6234b1a24c8ddc</id>
<content type='text'>
There are two places where duplicate code is located. Moreover, there is a
custom implementation of the sscanf() functionality. This patch makes code
quite simplier and cleaner.

Signed-off-by: Andy Shevchenko &lt;andriy.shevchenko@linux.intel.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>
There are two places where duplicate code is located. Moreover, there is a
custom implementation of the sscanf() functionality. This patch makes code
quite simplier and cleaner.

Signed-off-by: Andy Shevchenko &lt;andriy.shevchenko@linux.intel.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Staging: silicom: Remove useless unneeded semicolons</title>
<updated>2013-07-23T21:42:56+00:00</updated>
<author>
<name>Vladimir</name>
<email>gg.kaspersky@gmail.com</email>
</author>
<published>2013-07-12T06:58:26+00:00</published>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux.git/commit/?id=c429df9df06af21912741d5a3848306328564262'/>
<id>c429df9df06af21912741d5a3848306328564262</id>
<content type='text'>
Found using coccinelle tool.
Signed-off-by: Vladimir Cernov &lt;gg.kaspersky@gmail.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>
Found using coccinelle tool.
Signed-off-by: Vladimir Cernov &lt;gg.kaspersky@gmail.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</pre>
</div>
</content>
</entry>
</feed>
