[PATCH] net: ti: am65-cpsw-nuss: Initialise ret
Tom Rini
trini at konsulko.com
Sun Aug 17 17:24:45 CEST 2025
On Wed, 06 Aug 2025 11:43:47 +0100, Andrew Goodbody wrote:
> In am65_cpsw_phy_init it is not certain that ret will be assigned to
> before it reaches the 'return ret' statement. Initialise ret to ensure
> that ret is valid.
>
> This issue was found by Smatch.
>
>
> [...]
Applied to u-boot/next, thanks!
[1/1] net: ti: am65-cpsw-nuss: Initialise ret
commit: 1edd1fd539f52cadcb57c0c79c504f46f9540045
--
Tom
More information about the U-Boot
mailing list