[PATCH 1/1] efi_loader: remove duplicate assignment

Ilias Apalodimas ilias.apalodimas at linaro.org
Mon Apr 3 07:58:53 CEST 2023


On Sun, 2 Apr 2023 at 05:38, Simon Glass <sjg at chromium.org> wrote:
>
> On Sat, 1 Apr 2023 at 18:31, Heinrich Schuchardt <heinrich.schuchardt at canonical.com> wrote:
> >
> > Assigning the value of a variable to itself should be avoided.
> >
> > Addresses-Coverity-ID: 451089 ("Evaluation order violation")
> > Fixes: 180b7118bed8 ("efi_loader: fix device-path for USB devices")
> > Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt at canonical.com>
> > ---
> >  lib/efi_loader/efi_device_path.c | 2 +-
> >  1 file changed, 1 insertion(+), 1 deletion(-)
> >
>
> Reviewed-by: Simon Glass <sjg at chromium.org>
Reviewed-by: Ilias Apalodimas <ilias.apalodimas at linaro.org>


More information about the U-Boot mailing list