[PATCH 1/2] efi_loader: add missing const qualifier

Ilias Apalodimas ilias.apalodimas at linaro.org
Sat Oct 23 19:21:36 CEST 2021


On Sat, 23 Oct 2021 at 11:40, Heinrich Schuchardt <xypron.glpk at gmx.de> wrote:
>
> On 10/22/21 13:24, Masahisa Kojima wrote:
> > This commit fixes the following compilation warning
> > of boottime->install_configuration_table() function.
> >
> > ---
> > lib/efi_selftest/efi_selftest_tcg2.c:475:46:
> > warning: passing argument 1 of ‘boottime->install_configuration_table’
> > discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
> >    ret = boottime->install_configuration_table(&smbios_guid, dmi);
> > ---
> >
> > Signed-off-by: Masahisa Kojima <masahisa.kojima at linaro.org>
>
> The first --- separates the commit message from the rest of the patch:
>
> $ scripts/checkpatch.pl 0001-efi_loader-add-missing-const-qualifier.patch
> ERROR: Missing Signed-off-by: line by nominal patch author 'Masahisa
> Kojima <masahisa.kojima at linaro.org>'
>
> I will reformat the commit message when merging.
>
> Reviewed-by: Heinrich Schuchardt <xypron.glpk at gmx.de>
Reviewed-by: Ilias Apalodimas <ilias.apalodimas at linaro.org>


More information about the U-Boot mailing list