[PATCH] cmd: mtd: Prevent use of uninitialised variable
Quentin Schulz
quentin.schulz at cherry.de
Thu Jun 26 13:14:25 CEST 2025
Hi Andrew,
On 6/26/25 12:49 PM, Andrew Goodbody wrote:
> ret maybe used uninitialised in some cases so instead
> initialise it first to prevent this.
>
I don't believe that's true, can you tell us which code path(s) could
trigger this because I didn't find one the 2min I spent reading the code.
> This issue was found by Smatch.
>
Seems like a false positive to me?
Cheers,
Quentin
More information about the U-Boot
mailing list