Re: [PATCH v2 3/3] partitions/efi: Support NVIDIA Tegra devices

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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.



[Index of Archives]     [ARM Kernel]     [Linux ARM]     [Linux ARM MSM]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux