<feed xmlns='http://www.w3.org/2005/Atom'>
<title>linux-dev/drivers/net/ethernet/sunplus, branch linus/master</title>
<subtitle>Linux kernel development work - see feature branches</subtitle>
<id>https://git.zx2c4.com/linux-dev/atom/drivers/net/ethernet/sunplus?h=linus%2Fmaster</id>
<link rel='self' href='https://git.zx2c4.com/linux-dev/atom/drivers/net/ethernet/sunplus?h=linus%2Fmaster'/>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/linux-dev/'/>
<updated>2022-05-20T00:46:56Z</updated>
<entry>
<title>net: ethernet: SP7021: fix a use after free of skb-&gt;len</title>
<updated>2022-05-20T00:46:56Z</updated>
<author>
<name>Dan Carpenter</name>
<email>dan.carpenter@oracle.com</email>
</author>
<published>2022-05-18T17:37:15Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/linux-dev/commit/?id=df98714e432abf5cbdac3e4c1a13f94c65ddb8d3'/>
<id>urn:sha1:df98714e432abf5cbdac3e4c1a13f94c65ddb8d3</id>
<content type='text'>
The netif_receive_skb() function frees "skb" so store skb-&gt;len before
it is freed.

Fixes: fd3040b9394c ("net: ethernet: Add driver for Sunplus SP7021")
Signed-off-by: Dan Carpenter &lt;dan.carpenter@oracle.com&gt;
Link: https://lore.kernel.org/r/YoUuy4iTjFAcSn03@kili
Signed-off-by: Jakub Kicinski &lt;kuba@kernel.org&gt;
</content>
</entry>
<entry>
<title>net: ethernet: sunplus: add missing of_node_put() in spl2sw_mdio_init()</title>
<updated>2022-05-18T13:08:49Z</updated>
<author>
<name>Yang Yingliang</name>
<email>yangyingliang@huawei.com</email>
</author>
<published>2022-05-18T02:08:12Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/linux-dev/commit/?id=223153ea6c79a0d78dc2a04e3300de1deb336f14'/>
<id>urn:sha1:223153ea6c79a0d78dc2a04e3300de1deb336f14</id>
<content type='text'>
of_get_child_by_name() returns device node pointer with refcount
incremented. The refcount should be decremented before returning
from spl2sw_mdio_init().

Fixes: fd3040b9394c ("net: ethernet: Add driver for Sunplus SP7021")
Reported-by: Hulk Robot &lt;hulkci@huawei.com&gt;
Signed-off-by: Yang Yingliang &lt;yangyingliang@huawei.com&gt;
Reviewed-by: Wells Lu &lt;wellslutw@gmail.com&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
<entry>
<title>net: ethernet: Fix unmet direct dependencies detected for NVMEM_SUNPLUS_OCOTP</title>
<updated>2022-05-17T01:02:21Z</updated>
<author>
<name>Wells Lu</name>
<email>wellslutw@gmail.com</email>
</author>
<published>2022-05-13T11:57:16Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/linux-dev/commit/?id=6251264fedde83ade6f0f1f7049037469dd4de0b'/>
<id>urn:sha1:6251264fedde83ade6f0f1f7049037469dd4de0b</id>
<content type='text'>
Removed unnecessary:

	select COMMON_CLK_SP7021
	select RESET_SUNPLUS
	select NVMEM_SUNPLUS_OCOTP

from Kconfig.

Reported-by: kernel test robot &lt;yujie.liu@intel.com&gt;
Signed-off-by: Wells Lu &lt;wellslutw@gmail.com&gt;
Link: https://lore.kernel.org/r/1652443036-24731-1-git-send-email-wellslutw@gmail.com
Signed-off-by: Jakub Kicinski &lt;kuba@kernel.org&gt;
</content>
</entry>
<entry>
<title>net: ethernet: fix platform_no_drv_owner.cocci warning</title>
<updated>2022-05-13T10:31:18Z</updated>
<author>
<name>Yang Li</name>
<email>yang.lee@linux.alibaba.com</email>
</author>
<published>2022-05-12T08:03:57Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/linux-dev/commit/?id=7b8b82224c26863d9b6c67f6cc6044bc24044e44'/>
<id>urn:sha1:7b8b82224c26863d9b6c67f6cc6044bc24044e44</id>
<content type='text'>
Remove .owner field if calls are used which set it automatically.
./drivers/net/ethernet/sunplus/spl2sw_driver.c:569:3-8: No need to set
.owner here. The core will do it.

Reported-by: Abaci Robot &lt;abaci@linux.alibaba.com&gt;
Signed-off-by: Yang Li &lt;yang.lee@linux.alibaba.com&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
<entry>
<title>net: ethernet: Use swap() instead of open coding it</title>
<updated>2022-05-13T10:26:59Z</updated>
<author>
<name>Jiapeng Chong</name>
<email>jiapeng.chong@linux.alibaba.com</email>
</author>
<published>2022-05-12T06:09:05Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/linux-dev/commit/?id=a19cef450bb6b1365c3bd5c82952f95b76688143'/>
<id>urn:sha1:a19cef450bb6b1365c3bd5c82952f95b76688143</id>
<content type='text'>
Clean the following coccicheck warning:

./drivers/net/ethernet/sunplus/spl2sw_driver.c:217:27-28: WARNING
opportunity for swap().

./drivers/net/ethernet/sunplus/spl2sw_driver.c:222:27-28: WARNING
opportunity for swap().

Reported-by: Abaci Robot &lt;abaci@linux.alibaba.com&gt;
Signed-off-by: Jiapeng Chong &lt;jiapeng.chong@linux.alibaba.com&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
<entry>
<title>net: ethernet: SP7021: Fix spelling mistake "Interrput" -&gt; "Interrupt"</title>
<updated>2022-05-12T10:15:15Z</updated>
<author>
<name>Colin Ian King</name>
<email>colin.i.king@gmail.com</email>
</author>
<published>2022-05-11T10:44:48Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/linux-dev/commit/?id=982c97eede13f3cb98c471c1b8fc5a12686ef85c'/>
<id>urn:sha1:982c97eede13f3cb98c471c1b8fc5a12686ef85c</id>
<content type='text'>
There is a spelling mistake in a dev_dbg message. Fix it.

Signed-off-by: Colin Ian King &lt;colin.i.king@gmail.com&gt;
Link: https://lore.kernel.org/r/20220511104448.150800-1-colin.i.king@gmail.com
Signed-off-by: Paolo Abeni &lt;pabeni@redhat.com&gt;
</content>
</entry>
<entry>
<title>net: ethernet: Add driver for Sunplus SP7021</title>
<updated>2022-05-10T09:31:32Z</updated>
<author>
<name>Wells Lu</name>
<email>wellslutw@gmail.com</email>
</author>
<published>2022-05-08T10:13:20Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/linux-dev/commit/?id=fd3040b9394c58bcedb83554bcf1a073021d6b36'/>
<id>urn:sha1:fd3040b9394c58bcedb83554bcf1a073021d6b36</id>
<content type='text'>
Add driver for Sunplus SP7021 SoC.

Reviewed-by: Andrew Lunn &lt;andrew@lunn.ch&gt;
Signed-off-by: Wells Lu &lt;wellslutw@gmail.com&gt;
Signed-off-by: Paolo Abeni &lt;pabeni@redhat.com&gt;
</content>
</entry>
</feed>
