[PATCH v2] boot: Ensure method_flags is initialised before use
Tom Rini
trini at konsulko.com
Thu Jul 17 00:15:09 CEST 2025
On Wed, 09 Jul 2025 12:49:09 +0100, Andrew Goodbody wrote:
> The local variable method_flags is only assigned to in some of the
> code paths leaving it possibly uninitialised at first use.
> Initialise method_flags at declaration to ensure that it cannot be
> used uninitialised. Also remove now redundant assignments.
>
>
Applied to u-boot/master, thanks!
[1/1] boot: Ensure method_flags is initialised before use
commit: f1c03778a4be8e08decf88f6b2018b90f6662090
--
Tom
More information about the U-Boot
mailing list