31.07.2021 21:36, Dmitry Osipenko пишет: > diff --git a/block/partitions/efi.c b/block/partitions/efi.c > index e2716792ecc1..dced55c0d2e1 100644 > --- a/block/partitions/efi.c > +++ b/block/partitions/efi.c > @@ -98,6 +98,15 @@ static int force_gpt; > static int __init > force_gpt_fn(char *str) > { > + /* > + * This check allows to properly parse cmdline variants like > + * "gpt gpt_sector=<sector>" and "gpt_sector=<sector> gpt" since > + * "gpt" overlaps with the "gpt_sector=", see tegra_gpt_sector_fn(). > + * The argument is absent for a boolean cmdline option. > + */ > + if (strlen(str)) > + return 0; This is not needed anymore in this patch, I noticed it only once v2 was already sent out. Will correct it in v3.