[PATCH] boot: bootflow: Ensure sel_id is initialised before use
Tom Rini
trini at konsulko.com
Wed Jul 9 18:50:23 CEST 2025
On Wed, Jul 09, 2025 at 05:33:37PM +0100, Andrew Goodbody wrote:
> 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.
OK, thanks.
--
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 659 bytes
Desc: not available
URL: <https://lists.denx.de/pipermail/u-boot/attachments/20250709/40bd79bb/attachment.sig>
More information about the U-Boot
mailing list