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

Fabio Estevam festevam at gmail.com
Fri Aug 8 14:58:58 CEST 2025


On Tue, Aug 5, 2025 at 8:31 AM Andrew Goodbody
<andrew.goodbody at linaro.org> 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: Andrew Goodbody <andrew.goodbody at linaro.org>

Applied, thanks.


More information about the U-Boot mailing list