<feed xmlns='http://www.w3.org/2005/Atom'>
<title>linux-dev/drivers/staging/silicom, branch master</title>
<subtitle>Linux kernel development work - see feature branches</subtitle>
<id>https://git.zx2c4.com/linux-dev/atom/drivers/staging/silicom?h=master</id>
<link rel='self' href='https://git.zx2c4.com/linux-dev/atom/drivers/staging/silicom?h=master'/>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/linux-dev/'/>
<updated>2014-07-27T18:24:37Z</updated>
<entry>
<title>staging: silicom: remove driver</title>
<updated>2014-07-27T18:24:37Z</updated>
<author>
<name>Kristina Martšenko</name>
<email>kristina.martsenko@gmail.com</email>
</author>
<published>2014-07-24T23:30:46Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/linux-dev/commit/?id=ad8c12eea0cb02040a2705ed28e020b49bb06a3c'/>
<id>urn:sha1:ad8c12eea0cb02040a2705ed28e020b49bb06a3c</id>
<content type='text'>
The driver hasn't been cleaned up and it doesn't look like anyone is
working on it anymore (including the original author). So remove it.
If someone wants to work on cleaning the driver up and moving it out of
staging, this commit can be reverted.

In addition, since this removes the CONFIG_NET_VENDOR_SILICOM config
symbol, remove the symbol from all defconfig files that reference it.

Signed-off-by: Kristina Martšenko &lt;kristina.martsenko@gmail.com&gt;
Cc: Daniel Cotey &lt;puff65537@bansheeslibrary.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>staging: silicom: fix sparse warning for static variable</title>
<updated>2014-06-01T23:46:56Z</updated>
<author>
<name>James A Shackleford</name>
<email>shack@linux.com</email>
</author>
<published>2014-06-01T23:34:28Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/linux-dev/commit/?id=f4d90513c83d8d8e2e33f88c1ccba1db2dc31e72'/>
<id>urn:sha1:f4d90513c83d8d8e2e33f88c1ccba1db2dc31e72</id>
<content type='text'>
This patch fixes the following sparse warning in bpctl_mod.c:
warning: symbol 'bpvm_lock' was not declared. Should it be static?

Signed-off-by: James A Shackleford &lt;shack@linux.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>staging: silicom/bypasslib/bp_ioctl.h: Fix erroneous global variable definitions</title>
<updated>2014-05-26T17:36:07Z</updated>
<author>
<name>Joel Porquet</name>
<email>joel@porquet.org</email>
</author>
<published>2014-05-26T16:07:38Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/linux-dev/commit/?id=c1ad28a3995da1e8300d29ac01fd3757c8dfadfc'/>
<id>urn:sha1:c1ad28a3995da1e8300d29ac01fd3757c8dfadfc</id>
<content type='text'>
Originally, this header was defining two new typedefs, CMND_TYPE and
CMND_TYPE_SD, following this type of declaration:

typedef enum {
	...
} CMND_TYPE;

A previous commit (785086556a573f07747b3633732a9dbd7e45728f) tried to
fix warnings that were pointed out by checkpatch.pl, concerning not
adding new typedefs. But this commit only removed the 'typedef' keyword,
thus transforming both the typedefs into two the definition of global
variables. For example:

enum {
	...
} CMND_TYPE;

As noticed by the Sparse tool, this patch removes those erroneous global
variable definitions, and just leaves anonymous enum type definitions:

enum {
	...
};

Signed-off-by: Joel Porquet &lt;joel@porquet.org&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>drivers/staging: Remove useless return variables</title>
<updated>2014-05-26T17:32:15Z</updated>
<author>
<name>Peter Senna Tschudin</name>
<email>peter.senna@gmail.com</email>
</author>
<published>2014-05-26T14:08:50Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/linux-dev/commit/?id=4764ca981b040048766e4f39a45a4b9c5cecff9c'/>
<id>urn:sha1:4764ca981b040048766e4f39a45a4b9c5cecff9c</id>
<content type='text'>
This patch remove variables that are initialized with a constant,
are never updated, and are only used as parameter of return.
Return the constant instead of using a variable.

Verified by compilation only.

The coccinelle script that find and fixes this issue is:
// &lt;smpl&gt;
@@
type T;
constant C;
identifier ret;
@@
- T ret = C;
... when != ret
    when strict
return
- ret
+ C
;
// &lt;/smpl&gt;

Signed-off-by: Peter Senna Tschudin &lt;peter.senna@gmail.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>Staging: Silicom: bpctl_mod.c &amp; bypass.c: Adding blank lines</title>
<updated>2014-05-26T17:30:23Z</updated>
<author>
<name>Chaitanya Hazarey</name>
<email>c@24.io</email>
</author>
<published>2014-05-26T04:58:43Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/linux-dev/commit/?id=9c73b46af4f74c255fbc26edebef8b2a61f2b7e4'/>
<id>urn:sha1:9c73b46af4f74c255fbc26edebef8b2a61f2b7e4</id>
<content type='text'>
Added a blank line after declarations in many places to fix
the following warning issued by checkpatch.pl:

WARNING: Missing a blank line after declarations

Signed-off-by: Chaitanya Hazarey &lt;c@24.io&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>staging: silicom: Remove unused pointer in bypass_init_module()</title>
<updated>2014-05-23T11:40:41Z</updated>
<author>
<name>Christian Engelmayer</name>
<email>cengelma@gmx.at</email>
</author>
<published>2014-05-07T19:26:43Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/linux-dev/commit/?id=43b54cc91b5d13110a99ef65a981c8bec9e68328'/>
<id>urn:sha1:43b54cc91b5d13110a99ef65a981c8bec9e68328</id>
<content type='text'>
Pointer 'pbpctl_dev_c' in function bypass_init_module() is unused. Thus remove
it. With the last variable declaration gone, there is no more need for an own
block. Remove it and adapt the indenting accordingly.

Signed-off-by: Christian Engelmayer &lt;cengelma@gmx.at&gt;
Reviewed-by: Dan Carpenter &lt;dan.carpenter@oracle.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>staging: silicom: Remove needless calls of get_status_port_fn()</title>
<updated>2014-05-23T11:40:41Z</updated>
<author>
<name>Christian Engelmayer</name>
<email>cengelma@gmx.at</email>
</author>
<published>2014-05-07T19:24:00Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/linux-dev/commit/?id=01cda8d380129f605f3f1cd69bdc98ec6cef44ad'/>
<id>urn:sha1:01cda8d380129f605f3f1cd69bdc98ec6cef44ad</id>
<content type='text'>
Remove a needless pointer initialisation and call to get_status_port_fn()
in functions remove_bypass_tpl_auto() and set_tpl_fn(). Variable
'pbpctl_dev_b' is set correctly later in the function before first use.

Signed-off-by: Christian Engelmayer &lt;cengelma@gmx.at&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>staging: silicom: add blank line after declarations</title>
<updated>2014-05-23T11:40:41Z</updated>
<author>
<name>Fernando Apesteguia</name>
<email>fernando.apesteguia@gmail.com</email>
</author>
<published>2014-05-07T16:02:44Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/linux-dev/commit/?id=ea3528c26a67bde111d0dd85fae474a559efce41'/>
<id>urn:sha1:ea3528c26a67bde111d0dd85fae474a559efce41</id>
<content type='text'>
Add blank line after declarations and delete extra blank line at the
beginning of the function

Signed-off-by: Fernando Apesteguia &lt;fernando.apesteguia@gmail.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>staging: silicom: remove redundant pci_get_drvdata() call</title>
<updated>2014-04-25T22:34:16Z</updated>
<author>
<name>Daeseok Youn</name>
<email>daeseok.youn@gmail.com</email>
</author>
<published>2014-04-23T08:18:42Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/linux-dev/commit/?id=5397db900a3e67a86b21860289e80b5a8d8de4cf'/>
<id>urn:sha1:5397db900a3e67a86b21860289e80b5a8d8de4cf</id>
<content type='text'>
The pci_get_drvdata() and checking NULL for dev are
called twice in while loop in is_bypass_dev().

Signed-off-by: Daeseok Youn &lt;daeseok.youn@gmail.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>Staging: silicom: fix dangerous if condition in bpctl_mod.c</title>
<updated>2014-04-25T22:33:35Z</updated>
<author>
<name>Neil Armstrong</name>
<email>superna9999@gmail.com</email>
</author>
<published>2014-04-01T13:03:44Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/linux-dev/commit/?id=2f4285d17d3a5ae42e2811005dbcd4818d5d6ebe'/>
<id>urn:sha1:2f4285d17d3a5ae42e2811005dbcd4818d5d6ebe</id>
<content type='text'>
checkpatch script returns the following warning:
ERROR: do not use assignment in if condition
+                       if (((dev_num = get_dev_idx(dev-&gt;ifindex)) ==
            -1) |

This patch fixes the if condition by splitting it.

Signed-off-by: Neil Armstrong &lt;superna9999@gmail.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
</entry>
</feed>
