Thread (4 messages) 4 messages, 2 authors, 2025-03-07

Re: [PATCH] net: fix uninitialised access in mii_nway_restart()

From: Andrew Lunn <andrew@lunn.ch>
Date: 2025-03-07 17:56:28
Also in: linux-usb, lkml, stable

Hi Andrew,

Just following up on my patch regarding the uninitialized access fix in mii_nway_restart(). 
As I mentioned in my previous message, how about an approach similar to the patch for ch9200_mdio_read() 
for get_mac_address() where we immediately check the return value of each control_read() call and return 
an error if any call fails? This way we don't continue if failure occurs. If you're good with this approach, 
should I submit a patch v2?
Yes, this would be good.

Thanks
	Andrew
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help