Re: [PATCH] net: fec_mxc: Set error code on error exit

2025-08-05 Thread Andrew Goodbody
On 04/08/2025 21:36, Fabio Estevam wrote: On Mon, Aug 4, 2025 at 12:44 PM Andrew Goodbody wrote: In fecmxc_probe if a timeout is detected when resetting the chip no error code is set before taking the error exit. This could lead to a silent failure. Instead set an error code. This issue was f

Re: [PATCH] net: fec_mxc: Set error code on error exit

2025-08-04 Thread Fabio Estevam
On Mon, Aug 4, 2025 at 12:44 PM Andrew Goodbody wrote: > > In fecmxc_probe if a timeout is detected when resetting the chip no > error code is set before taking the error exit. This could lead to a > silent failure. Instead set an error code. > > This issue was found by Smatch. > > Signed-off-by:

[PATCH] net: fec_mxc: Set error code on error exit

2025-08-04 Thread Andrew Goodbody
In fecmxc_probe if a timeout is detected when resetting the chip no error code is set before taking the error exit. This could lead to a silent failure. Instead set an error code. This issue was found by Smatch. Signed-off-by: Andrew Goodbody --- drivers/net/fec_mxc.c | 1 + 1 file changed, 1 i