<feed xmlns='http://www.w3.org/2005/Atom'>
<title>linux/drivers/staging/ozwpan/ozcdev.c, branch master</title>
<subtitle>Mirror of https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/
</subtitle>
<id>https://git.shady.money/linux/atom?h=master</id>
<link rel='self' href='https://git.shady.money/linux/atom?h=master'/>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/'/>
<updated>2015-08-11T00:00:49Z</updated>
<entry>
<title>staging: ozwpan: Remove from tree</title>
<updated>2015-08-11T00:00:49Z</updated>
<author>
<name>Jason A. Donenfeld</name>
<email>Jason@zx2c4.com</email>
</author>
<published>2015-08-10T15:49:51Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=a73e99cb67e7438e5ab0c524ae63a8a27616c839'/>
<id>urn:sha1:a73e99cb67e7438e5ab0c524ae63a8a27616c839</id>
<content type='text'>
Ozwpan is completely unmaintained and potentially a security problem. As
this is a staging driver, it should be removed, since it has been
abandoned.

Cc: Shigekatsu Tateno &lt;shigekatsu.tateno@atmel.com&gt;
Signed-off-by: Jason A. Donenfeld &lt;Jason@zx2c4.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>staging: ozwpan: fix missing blank line after declaration</title>
<updated>2014-09-08T20:26:33Z</updated>
<author>
<name>Adrian Nicoara</name>
<email>anicoara@uwaterloo.ca</email>
</author>
<published>2014-09-08T18:39:58Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=ce6880e17508b31e04628a71d4691ef4a00a8b3f'/>
<id>urn:sha1: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>
</entry>
<entry>
<title>staging: ozwpan: Simplify app interface</title>
<updated>2014-08-16T19:23:12Z</updated>
<author>
<name>Christoph Jaeger</name>
<email>email@christophjaeger.info</email>
</author>
<published>2014-08-04T12:54:52Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=a9686e786896297f9f1d74a2cac4ffccc7b3e50e'/>
<id>urn:sha1: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>
</entry>
<entry>
<title>staging: ozwpan: Remove redundant initialization</title>
<updated>2014-08-16T19:23:12Z</updated>
<author>
<name>Christoph Jaeger</name>
<email>email@christophjaeger.info</email>
</author>
<published>2014-08-04T12:54:50Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=4abc48d140e75bb07143287f3be3fa858b8e10f5'/>
<id>urn:sha1: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>
</entry>
<entry>
<title>staging/ozwpan: coding style ether_addr_copy</title>
<updated>2014-03-17T21:47:44Z</updated>
<author>
<name>Jérôme Pinot</name>
<email>ngc891@gmail.com</email>
</author>
<published>2014-03-13T15:44:30Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=072dc1146fb85a9c344138a9751136dff1251333'/>
<id>urn:sha1: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>
</entry>
<entry>
<title>ozwpan: slight optimization of addr compare</title>
<updated>2013-12-26T18:31:34Z</updated>
<author>
<name>dingtianhong</name>
<email>dingtianhong@huawei.com</email>
</author>
<published>2013-12-26T11:40:47Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=93dc5e429b4d8ac8d683b61052592812e9353f9f'/>
<id>urn:sha1: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>
</entry>
<entry>
<title>staging: ozwpan: prevent overflow in oz_cdev_write()</title>
<updated>2013-10-30T19:24:49Z</updated>
<author>
<name>Dan Carpenter</name>
<email>dan.carpenter@oracle.com</email>
</author>
<published>2013-10-29T19:07:47Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=c2c65cd2e14ada6de44cb527e7f1990bede24e15'/>
<id>urn:sha1: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>
</entry>
<entry>
<title>staging: ozwpan: Return error, if PD is not connected.</title>
<updated>2013-08-28T22:18:40Z</updated>
<author>
<name>Rupesh Gujare</name>
<email>rupesh.gujare@atmel.com</email>
</author>
<published>2013-08-28T11:43:16Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=8503f9016f01d01b4c3a1e8c9848d4f564e71bd1'/>
<id>urn:sha1: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>
</entry>
<entry>
<title>staging: ozwpan: Change error number.</title>
<updated>2013-08-28T22:18:40Z</updated>
<author>
<name>Rupesh Gujare</name>
<email>rupesh.gujare@atmel.com</email>
</author>
<published>2013-08-28T11:43:15Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=b93d85f007177076c07acd8bf249dc466a977260'/>
<id>urn:sha1: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>
</entry>
<entry>
<title>staging: ozwpan: Fix Documentation style.</title>
<updated>2013-08-23T17:12:32Z</updated>
<author>
<name>Rupesh Gujare</name>
<email>rupesh.gujare@atmel.com</email>
</author>
<published>2013-08-23T15:11:02Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=4e7fb829771de2cf8a5ba9576290d76936d3e814'/>
<id>urn:sha1: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>
</entry>
</feed>
