[PATCH] boot: bootflow: Ensure sel_id is initialised before use
Andrew Goodbody
andrew.goodbody at linaro.org
Wed Jul 9 18:33:37 CEST 2025
On 09/07/2025 16:50, Tom Rini wrote:
> On Mon, Jun 30, 2025 at 02:25:44PM +0100, Andrew Goodbody wrote:
>
>> sel_id is only assigned to in the case of EXPOACT_SELECT, anything
>> else will leave sel_id uninitialised. Initialise it on declaration
>> to ensure that it is always valid.
>>
>> This issue was found with Smatch.
>>
>> Signed-off-by: Andrew Goodbody <andrew.goodbody at linaro.org>
>> ---
>> boot/bootflow_menu.c | 2 +-
>> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> Can you please rebase this on current master? Thanks.
The patch is no longer relevant with all the changes. Just drop it.
Andrew
More information about the U-Boot
mailing list