<feed xmlns='http://www.w3.org/2005/Atom'>
<title>u-boot.git/drivers/net, branch v2025.10-rc4</title>
<subtitle>Unnamed repository; edit this file 'description' to name the repository.</subtitle>
<id>http://cgit.235523.xyz/u-boot.git/atom/drivers/net?h=v2025.10-rc4</id>
<link rel='self' href='http://cgit.235523.xyz/u-boot.git/atom/drivers/net?h=v2025.10-rc4'/>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/'/>
<updated>2025-09-08T15:16:18Z</updated>
<entry>
<title>MAINTAINERS: Add entry for DesignWare XGMAC driver</title>
<updated>2025-09-08T15:16:18Z</updated>
<author>
<name>Boon Khai Ng</name>
<email>boon.khai.ng@altera.com</email>
</author>
<published>2025-08-26T03:05:05Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=bc52200ebf5ad9549081ebb65d54de6fce5ca8c5'/>
<id>urn:sha1:bc52200ebf5ad9549081ebb65d54de6fce5ca8c5</id>
<content type='text'>
Add a MAINTAINERS entry for the DesignWare XGMAC network driver to
ensure future patches are properly routed for review and support.

Signed-off-by: Boon Khai Ng &lt;boon.khai.ng@altera.com&gt;
Reviewed-by: Tom Rini &lt;trini@konsulko.com&gt;
</content>
</entry>
<entry>
<title>net: axi_emac: Fix timeout test</title>
<updated>2025-08-25T14:20:48Z</updated>
<author>
<name>Andrew Goodbody</name>
<email>andrew.goodbody@linaro.org</email>
</author>
<published>2025-08-18T09:24:36Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=88e3524393fa88dbf675119aa89885bf144592ec'/>
<id>urn:sha1:88e3524393fa88dbf675119aa89885bf144592ec</id>
<content type='text'>
The timeout test in axi_dma_init is not correct due to the
post-decrement used on the timeout variable which will mean timeout is
not 0 if the timeout occurs. Make the timeout variable an int instead of
a u32 and then test for timeout being -1.

This issue was found by Smatch.

Signed-off-by: Andrew Goodbody &lt;andrew.goodbody@linaro.org&gt;
Link: https://lore.kernel.org/r/20250806-net_xilinx_axi-v2-1-6311cf59451d@linaro.org
Signed-off-by: Michal Simek &lt;michal.simek@amd.com&gt;
</content>
</entry>
<entry>
<title>net: ks8851_mll: Remove unreachable code</title>
<updated>2025-08-18T13:47:58Z</updated>
<author>
<name>Andrew Goodbody</name>
<email>andrew.goodbody@linaro.org</email>
</author>
<published>2025-08-05T10:34:29Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=5deb50f749659746233e08060b457c9cf9986f9c'/>
<id>urn:sha1:5deb50f749659746233e08060b457c9cf9986f9c</id>
<content type='text'>
In ks8851_mll_detect_chip the if..else code detects the case of (val &amp;
0xfff0) != CIDER_ID and returns if found. So testing for this again will
always fail and the code is unreachable. Just remove the test and code
block.

This issue was found by Smatch.

Signed-off-by: Andrew Goodbody &lt;andrew.goodbody@linaro.org&gt;
</content>
</entry>
<entry>
<title>net: cortina_ni: Fix typo accessing wrong phy</title>
<updated>2025-08-18T13:47:58Z</updated>
<author>
<name>Andrew Goodbody</name>
<email>andrew.goodbody@linaro.org</email>
</author>
<published>2025-08-01T11:59:40Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=2cb9fef65bbb7535c1e27cef3122bb0b43e38b68'/>
<id>urn:sha1:2cb9fef65bbb7535c1e27cef3122bb0b43e38b68</id>
<content type='text'>
In ca_phy_probe when checking for an external phy it uses a field from
the internal phy due to what is assumed to be a copy/paste typo. Make
the obvious fix to use the field from the external phy.

This issue was found by Smatch.

Signed-off-by: Andrew Goodbody &lt;andrew.goodbody@linaro.org&gt;
</content>
</entry>
<entry>
<title>net: octeontx2: NULL check before dereference</title>
<updated>2025-08-18T13:47:57Z</updated>
<author>
<name>Andrew Goodbody</name>
<email>andrew.goodbody@linaro.org</email>
</author>
<published>2025-08-05T14:53:35Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=425f9839f3c2922a36efaefa53833f0abe681be0'/>
<id>urn:sha1:425f9839f3c2922a36efaefa53833f0abe681be0</id>
<content type='text'>
In rvu_af_init if the code fails to allocate memory for nix_af it will
take the error path with nix_af == NULL which will dereference nix_af.
Add the appropriate NULL check.

This issue was found by Smatch.

Signed-off-by: Andrew Goodbody &lt;andrew.goodbody@linaro.org&gt;
</content>
</entry>
<entry>
<title>net: octeontx2: Restore default value for err</title>
<updated>2025-08-18T13:47:57Z</updated>
<author>
<name>Andrew Goodbody</name>
<email>andrew.goodbody@linaro.org</email>
</author>
<published>2025-08-05T14:53:34Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=6bc6fec3b33f3c14f14493783db9258ac9938062'/>
<id>urn:sha1:6bc6fec3b33f3c14f14493783db9258ac9938062</id>
<content type='text'>
In nix_lf_setup there is a default value assigned to err in case an
error is detected. However this default value will be overwritten in the
for loop so that later code does not return an error code from the
function. Add a new assignment to restore err to the default error code.

This issue was found by Smatch.

Signed-off-by: Andrew Goodbody &lt;andrew.goodbody@linaro.org&gt;
</content>
</entry>
<entry>
<title>net: mvpp2: Use field just assigned in error test</title>
<updated>2025-08-18T13:47:57Z</updated>
<author>
<name>Andrew Goodbody</name>
<email>andrew.goodbody@linaro.org</email>
</author>
<published>2025-08-05T14:18:19Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=c6561a467c9f9a77717ddc2ef296866a4d8a6843'/>
<id>urn:sha1:c6561a467c9f9a77717ddc2ef296866a4d8a6843</id>
<content type='text'>
In mvpp2_probe the code attempts to get a value for "gop-port-id" and
assigns it to port-&gt;gop_id but it then tests port-&gt;id for being equal to
-1. That is an impossible test as port-&gt;id is a field of type u8 so
cannot be negative. Change the test to port-&gt;gop_id.

This issue was found by Smatch.

Signed-off-by: Andrew Goodbody &lt;andrew.goodbody@linaro.org&gt;
</content>
</entry>
<entry>
<title>net: mvpp2: Cannot test unsigned variable to be negative</title>
<updated>2025-08-18T13:47:57Z</updated>
<author>
<name>Andrew Goodbody</name>
<email>andrew.goodbody@linaro.org</email>
</author>
<published>2025-08-05T14:18:18Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=3aa3d37282414ea5c19ea415f46d214f4c80d8b6'/>
<id>urn:sha1:3aa3d37282414ea5c19ea415f46d214f4c80d8b6</id>
<content type='text'>
In phy_info_parse all uses of the variable phyaddr are as an int so
declaring as u32 is not useful and prevents the test for an error return
from fdtdec_get_int ever detecting an error. Change phyaddr to be an
int.

This issue was found by Smatch.

Signed-off-by: Andrew Goodbody &lt;andrew.goodbody@linaro.org&gt;
</content>
</entry>
<entry>
<title>net: mvpp2: Return -ENOMEM for failed alloc</title>
<updated>2025-08-18T13:47:57Z</updated>
<author>
<name>Andrew Goodbody</name>
<email>andrew.goodbody@linaro.org</email>
</author>
<published>2025-08-05T14:18:17Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=6781b90f89b427ec9445c43f8102ebe0a4330e54'/>
<id>urn:sha1:6781b90f89b427ec9445c43f8102ebe0a4330e54</id>
<content type='text'>
Instead of returning -1 on a failed alloc, return -ENOMEM.

This issue was found by Smatch.

Signed-off-by: Andrew Goodbody &lt;andrew.goodbody@linaro.org&gt;
</content>
</entry>
<entry>
<title>net: mvpp2: Fix impossible test</title>
<updated>2025-08-18T13:47:57Z</updated>
<author>
<name>Andrew Goodbody</name>
<email>andrew.goodbody@linaro.org</email>
</author>
<published>2025-08-05T14:18:16Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=b24c89affd9063c3f9f3ca99db075bd3bb1fc4b2'/>
<id>urn:sha1:b24c89affd9063c3f9f3ca99db075bd3bb1fc4b2</id>
<content type='text'>
You cannot test an unsigned char to be &gt;= 256. Instead make the
variables start and end to be ints.

This issue was found by Smatch.

Signed-off-by: Andrew Goodbody &lt;andrew.goodbody@linaro.org&gt;
</content>
</entry>
</feed>
