[PATCH v2 1/1] efi_driver: don't leak name in efi_bl_create_block_device()

Ilias Apalodimas ilias.apalodimas at linaro.org
Thu Nov 6 12:37:18 CET 2025


On Wed, 5 Nov 2025 at 14:37, Bin Meng <bmeng.cn at gmail.com> wrote:
>
> On Wed, Nov 5, 2025 at 8:24 PM Heinrich Schuchardt
> <heinrich.schuchardt at canonical.com> wrote:
> >
> > blk_create_devicef() uses a copy of parameter name.
> > We can use a local variable.
> >
> > Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt at canonical.com>
> > ---
> > v2:
> >         use local variable
> > ---
> >  lib/efi_driver/efi_block_device.c | 6 +-----
> >  1 file changed, 1 insertion(+), 5 deletions(-)
> >
>
> Reviewed-by: Bin Meng <bmeng.cn at gmail.com>

Reviewed-by: Ilias Apalodimas <ilias.apalodimas at linaro.org>


More information about the U-Boot mailing list