<feed xmlns='http://www.w3.org/2005/Atom'>
<title>linux.git/drivers/staging/ozwpan/ozcdev.c, branch v3.19</title>
<subtitle>Linux kernel source tree</subtitle>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux.git/'/>
<entry>
<title>staging: ozwpan: fix missing blank line after declaration</title>
<updated>2014-09-08T20:26:33+00:00</updated>
<author>
<name>Adrian Nicoara</name>
<email>anicoara@uwaterloo.ca</email>
</author>
<published>2014-09-08T18:39:58+00:00</published>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux.git/commit/?id=ce6880e17508b31e04628a71d4691ef4a00a8b3f'/>
<id>ce6880e17508b31e04628a71d4691ef4a00a8b3f</id>
<content type='text'>
Cleanup checkpatch.pl warnings.

Signed-off-by: Adrian Nicoara &lt;anicoara@uwaterloo.ca&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>
Cleanup checkpatch.pl warnings.

Signed-off-by: Adrian Nicoara &lt;anicoara@uwaterloo.ca&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>staging: ozwpan: Simplify app interface</title>
<updated>2014-08-16T19:23:12+00:00</updated>
<author>
<name>Christoph Jaeger</name>
<email>email@christophjaeger.info</email>
</author>
<published>2014-08-04T12:54:52+00:00</published>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux.git/commit/?id=a9686e786896297f9f1d74a2cac4ffccc7b3e50e'/>
<id>a9686e786896297f9f1d74a2cac4ffccc7b3e50e</id>
<content type='text'>
Simplify the somewhat overcomplicated application interface; improves
readability and saves a bunch of lines.

Use designated struct initializers for clarity.

Signed-off-by: Christoph Jaeger &lt;email@christophjaeger.info&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>
Simplify the somewhat overcomplicated application interface; improves
readability and saves a bunch of lines.

Use designated struct initializers for clarity.

Signed-off-by: Christoph Jaeger &lt;email@christophjaeger.info&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: ozwpan: Remove redundant initialization</title>
<updated>2014-08-16T19:23:12+00:00</updated>
<author>
<name>Christoph Jaeger</name>
<email>email@christophjaeger.info</email>
</author>
<published>2014-08-04T12:54:50+00:00</published>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux.git/commit/?id=4abc48d140e75bb07143287f3be3fa858b8e10f5'/>
<id>4abc48d140e75bb07143287f3be3fa858b8e10f5</id>
<content type='text'>
Member 'ops' has already been initialized by calling cdev_init().

Signed-off-by: Christoph Jaeger &lt;email@christophjaeger.info&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>
Member 'ops' has already been initialized by calling cdev_init().

Signed-off-by: Christoph Jaeger &lt;email@christophjaeger.info&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>staging/ozwpan: coding style ether_addr_copy</title>
<updated>2014-03-17T21:47:44+00:00</updated>
<author>
<name>Jérôme Pinot</name>
<email>ngc891@gmail.com</email>
</author>
<published>2014-03-13T15:44:30+00:00</published>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux.git/commit/?id=072dc1146fb85a9c344138a9751136dff1251333'/>
<id>072dc1146fb85a9c344138a9751136dff1251333</id>
<content type='text'>
This fixes the following issues detected by checkpatch.pl:

 WARNING: Prefer ether_addr_copy() over memcpy() if the Ethernet addresses are __aligned(2)
 #220: FILE: drivers/staging/ozwpan/ozcdev.c:220:
 +              memcpy(g_cdev.active_addr, addr, ETH_ALEN);

 WARNING: Prefer ether_addr_copy() over memcpy() if the Ethernet addresses are __aligned(2)
 #286: FILE: drivers/staging/ozwpan/ozcdev.c:286:
 +                      memcpy(addr, g_cdev.active_addr, ETH_ALEN);

 WARNING: Prefer ether_addr_copy() over memcpy() if the Ethernet addresses are __aligned(2)
 #176: FILE: drivers/staging/ozwpan/ozpd.c:176:
 +              memcpy(pd-&gt;mac_addr, mac_addr, ETH_ALEN);

Signed-off-by: Jerome Pinot &lt;ngc891@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>
This fixes the following issues detected by checkpatch.pl:

 WARNING: Prefer ether_addr_copy() over memcpy() if the Ethernet addresses are __aligned(2)
 #220: FILE: drivers/staging/ozwpan/ozcdev.c:220:
 +              memcpy(g_cdev.active_addr, addr, ETH_ALEN);

 WARNING: Prefer ether_addr_copy() over memcpy() if the Ethernet addresses are __aligned(2)
 #286: FILE: drivers/staging/ozwpan/ozcdev.c:286:
 +                      memcpy(addr, g_cdev.active_addr, ETH_ALEN);

 WARNING: Prefer ether_addr_copy() over memcpy() if the Ethernet addresses are __aligned(2)
 #176: FILE: drivers/staging/ozwpan/ozpd.c:176:
 +              memcpy(pd-&gt;mac_addr, mac_addr, ETH_ALEN);

Signed-off-by: Jerome Pinot &lt;ngc891@gmail.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>ozwpan: slight optimization of addr compare</title>
<updated>2013-12-26T18:31:34+00:00</updated>
<author>
<name>dingtianhong</name>
<email>dingtianhong@huawei.com</email>
</author>
<published>2013-12-26T11:40:47+00:00</published>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux.git/commit/?id=93dc5e429b4d8ac8d683b61052592812e9353f9f'/>
<id>93dc5e429b4d8ac8d683b61052592812e9353f9f</id>
<content type='text'>
Use possibly more efficient ether_addr_equal
instead of memcmp.

Cc: Rupesh Gujare &lt;rupesh.gujare@atmel.com&gt;
Cc: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
Cc: devel@driverdev.osuosl.org
Cc: linux-kernel@vger.kernel.org
Signed-off-by: Tan Xiaojun &lt;tanxiaojun@huawei.com&gt;
Signed-off-by: Ding Tianhong &lt;dingtianhong@huawei.com&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Use possibly more efficient ether_addr_equal
instead of memcmp.

Cc: Rupesh Gujare &lt;rupesh.gujare@atmel.com&gt;
Cc: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
Cc: devel@driverdev.osuosl.org
Cc: linux-kernel@vger.kernel.org
Signed-off-by: Tan Xiaojun &lt;tanxiaojun@huawei.com&gt;
Signed-off-by: Ding Tianhong &lt;dingtianhong@huawei.com&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>staging: ozwpan: prevent overflow in oz_cdev_write()</title>
<updated>2013-10-30T19:24:49+00:00</updated>
<author>
<name>Dan Carpenter</name>
<email>dan.carpenter@oracle.com</email>
</author>
<published>2013-10-29T19:07:47+00:00</published>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux.git/commit/?id=c2c65cd2e14ada6de44cb527e7f1990bede24e15'/>
<id>c2c65cd2e14ada6de44cb527e7f1990bede24e15</id>
<content type='text'>
We need to check "count" so we don't overflow the ei-&gt;data buffer.

Reported-by: Nico Golde &lt;nico@ngolde.de&gt;
Reported-by: Fabian Yamaguchi &lt;fabs@goesec.de&gt;
Signed-off-by: Dan Carpenter &lt;dan.carpenter@oracle.com&gt;
Cc: stable@kernel.org
Signed-off-by: Linus Torvalds &lt;torvalds@linux-foundation.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
We need to check "count" so we don't overflow the ei-&gt;data buffer.

Reported-by: Nico Golde &lt;nico@ngolde.de&gt;
Reported-by: Fabian Yamaguchi &lt;fabs@goesec.de&gt;
Signed-off-by: Dan Carpenter &lt;dan.carpenter@oracle.com&gt;
Cc: stable@kernel.org
Signed-off-by: Linus Torvalds &lt;torvalds@linux-foundation.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>staging: ozwpan: Return error, if PD is not connected.</title>
<updated>2013-08-28T22:18:40+00:00</updated>
<author>
<name>Rupesh Gujare</name>
<email>rupesh.gujare@atmel.com</email>
</author>
<published>2013-08-28T11:43:16+00:00</published>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux.git/commit/?id=8503f9016f01d01b4c3a1e8c9848d4f564e71bd1'/>
<id>8503f9016f01d01b4c3a1e8c9848d4f564e71bd1</id>
<content type='text'>
Return error if we receive write(), while PD is not connected.

Signed-off-by: Rupesh Gujare &lt;rupesh.gujare@atmel.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>
Return error if we receive write(), while PD is not connected.

Signed-off-by: Rupesh Gujare &lt;rupesh.gujare@atmel.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>staging: ozwpan: Change error number.</title>
<updated>2013-08-28T22:18:40+00:00</updated>
<author>
<name>Rupesh Gujare</name>
<email>rupesh.gujare@atmel.com</email>
</author>
<published>2013-08-28T11:43:15+00:00</published>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux.git/commit/?id=b93d85f007177076c07acd8bf249dc466a977260'/>
<id>b93d85f007177076c07acd8bf249dc466a977260</id>
<content type='text'>
Incorrect error number was returned here (EPERM), ENXIO is more
appropriate.

Signed-off-by: Rupesh Gujare &lt;rupesh.gujare@atmel.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>
Incorrect error number was returned here (EPERM), ENXIO is more
appropriate.

Signed-off-by: Rupesh Gujare &lt;rupesh.gujare@atmel.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>staging: ozwpan: Fix Documentation style.</title>
<updated>2013-08-23T17:12:32+00:00</updated>
<author>
<name>Rupesh Gujare</name>
<email>rupesh.gujare@atmel.com</email>
</author>
<published>2013-08-23T15:11:02+00:00</published>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux.git/commit/?id=4e7fb829771de2cf8a5ba9576290d76936d3e814'/>
<id>4e7fb829771de2cf8a5ba9576290d76936d3e814</id>
<content type='text'>
This patch fixes Kernel Documentation style.

Signed-off-by: Rupesh Gujare &lt;rupesh.gujare@atmel.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>
This patch fixes Kernel Documentation style.

Signed-off-by: Rupesh Gujare &lt;rupesh.gujare@atmel.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>staging: ozwpan: Add a blank line between functions &amp; declarations.</title>
<updated>2013-08-14T21:13:43+00:00</updated>
<author>
<name>Rupesh Gujare</name>
<email>rupesh.gujare@atmel.com</email>
</author>
<published>2013-08-13T17:24:22+00:00</published>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux.git/commit/?id=6e244a8319ab80acdda424795e85687fb6af0be2'/>
<id>6e244a8319ab80acdda424795e85687fb6af0be2</id>
<content type='text'>
This patch adds a blank line between global declarations &amp;
functions for readability.

Signed-off-by: Rupesh Gujare &lt;rupesh.gujare@atmel.com&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>
This patch adds a blank line between global declarations &amp;
functions for readability.

Signed-off-by: Rupesh Gujare &lt;rupesh.gujare@atmel.com&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>
