On Fri, Oct 26, 2018 at 05:17:48PM -0700, Andrey Smirnov wrote: > No one is modifying 'force_gpt', so constify it to reflect that fact. > > Signed-off-by: Andrey Smirnov <andrew.smirnov@xxxxxxxxx> > --- > common/partitions/efi.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) Applied, thanks Sascha > > diff --git a/common/partitions/efi.c b/common/partitions/efi.c > index 64de4cb32..c3ec4f246 100644 > --- a/common/partitions/efi.c > +++ b/common/partitions/efi.c > @@ -23,7 +23,7 @@ > #include "efi.h" > #include "parser.h" > > -static int force_gpt = IS_ENABLED(CONFIG_PARTITION_DISK_EFI_GPT_NO_FORCE); > +static const int force_gpt = IS_ENABLED(CONFIG_PARTITION_DISK_EFI_GPT_NO_FORCE); > > /** > * efi_crc32() - EFI version of crc32 function > -- > 2.17.1 > > > _______________________________________________ > barebox mailing list > barebox@xxxxxxxxxxxxxxxxxxx > http://lists.infradead.org/mailman/listinfo/barebox > -- Pengutronix e.K. | | Industrial Linux Solutions | http://www.pengutronix.de/ | Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 | Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 | _______________________________________________ barebox mailing list barebox@xxxxxxxxxxxxxxxxxxx http://lists.infradead.org/mailman/listinfo/barebox