lkml.org 
[lkml]   [2020]   [May]   [16]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [PATCH v5 5/6] partitions/tegra: Support enforced GPT scanning
From
Date
On 5/16/20 8:36 AM, Dmitry Osipenko wrote:
> diff --git a/block/partitions/efi.c b/block/partitions/efi.c
> index 3af4660bc11f..4eb4496fbb1b 100644
> --- a/block/partitions/efi.c
> +++ b/block/partitions/efi.c
> @@ -98,6 +98,12 @@ static int force_gpt;
> static int __init
> force_gpt_fn(char *str)
> {
> + /* This check allows to parse "gpt gpt_sector=" properly since
> + * "gpt" overlaps with "gpt_sector", see tegra_gpt_sector_fn().
> + */

same here.

> + if (force_gpt)
> + return 0;
> +
> force_gpt = 1;
> return 1;
> }


--
~Randy

\
 
 \ /
  Last update: 2020-05-16 17:53    [W:0.082 / U:1.032 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site