From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-9.4 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_PATCH,MAILING_LIST_MULTI,NICE_REPLY_A, SPF_HELO_NONE,SPF_PASS,USER_AGENT_SANE_1 autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id ED837C4338F for ; Sat, 31 Jul 2021 18:46:53 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id BFE9460FE7 for ; Sat, 31 Jul 2021 18:46:53 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229642AbhGaSq6 (ORCPT ); Sat, 31 Jul 2021 14:46:58 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42072 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229590AbhGaSq5 (ORCPT ); Sat, 31 Jul 2021 14:46:57 -0400 Received: from mail-lf1-x132.google.com (mail-lf1-x132.google.com [IPv6:2a00:1450:4864:20::132]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 11A09C06175F; Sat, 31 Jul 2021 11:46:51 -0700 (PDT) Received: by mail-lf1-x132.google.com with SMTP id y34so25191752lfa.8; Sat, 31 Jul 2021 11:46:50 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=subject:from:to:cc:references:message-id:date:user-agent :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=f9mH7GxoUvwQhZmcblBHqMZcgMjxB0VFserqhea/TKU=; b=CBqmFppPYdO06ERQx2RNzKBgI9zrYi2ri3gfb137prqZ5ZluaakXmvXjI7e27gjCq0 s1ZF7C3nrcEpmDj73hzhbhREHtM58okX2Re8RFBBS9h64QRtooSJuA9kwxt/DEn5h2fV HYi3Q+1Jqx7y8VqSV1EN7aBHBcDvas+v/4JQfFdsp5TNqUY0XdqQDSJ8rjJXUPuFyT5u 0O7AAalmlTlDFe90rapJAdLlr8IB3VwWmMyFFLgVxGyh3eyMFpDURaCjx3xzQ740ub9g zcbkUZnA6ch25cAaHMtjYV/RbGZQOlc2sQlZP42CmqRh1iwv7qI3Btiszn41tSyqc8c5 9nXw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:from:to:cc:references:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=f9mH7GxoUvwQhZmcblBHqMZcgMjxB0VFserqhea/TKU=; b=rkJ1q4jKgCu8W0XA6mzZHWnBevZMfUia8WV925m/0xtvjJPFGgwjddVucNl4/7/sRZ hnsKdTVD6EAuueaFWZjwtNGekHxnLhhlKu0PYmLFwiJAlcm4CGOeQ5NbeGtuVYbh3K3B 2UV9XA/jwaZcm1yc/AUdvitJ19GDo6YO5V7kFkI/gcBfFgcyuQ4VOpW4Dzr3bnJEY0GY 5k1cNbl3XqDpJZ1qFbLwmFDKx7if3URwXupHFhER6KWTTsWLVqxH3kJSFWwN6qAUEncl hyZR+B3jaKUj6AZYEu5zoFtLDosvotv706O3qeoJCalcYiSZ4h66FpdutPiNA7Unc9V+ cq9g== X-Gm-Message-State: AOAM530x3egifzj3EPkd0zBq7OMqnRKaT03oncWgB7sgpt5tKBLTy6BI vr8wcyQRmRgUTUzLs6K/nd+mcYKTMxU= X-Google-Smtp-Source: ABdhPJzzNUqZ7ZCsfj2v/sqLp+tz8+xToeofAP6yQRy4x9aPbIC1NkyegNgs72fj9ml4345TFtUZQA== X-Received: by 2002:a05:6512:138a:: with SMTP id p10mr6562178lfa.505.1627757209358; Sat, 31 Jul 2021 11:46:49 -0700 (PDT) Received: from [192.168.2.145] (94-29-22-96.dynamic.spd-mgts.ru. [94.29.22.96]) by smtp.googlemail.com with ESMTPSA id j2sm426769ljc.49.2021.07.31.11.46.48 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sat, 31 Jul 2021 11:46:49 -0700 (PDT) Subject: Re: [PATCH v2 3/3] partitions/efi: Support NVIDIA Tegra devices From: Dmitry Osipenko To: Jens Axboe , Thierry Reding , Jonathan Hunter , =?UTF-8?B?TWljaGHFgiBNaXJvc8WCYXc=?= , David Heidelberg , Peter Geis , Ulf Hansson , Adrian Hunter , Christoph Hellwig , Ard Biesheuvel , Davidlohr Bueso , Ion Agorria , Svyatoslav Ryhel Cc: linux-tegra@vger.kernel.org, linux-block@vger.kernel.org, linux-efi References: <20210731183626.18568-1-digetx@gmail.com> <20210731183626.18568-4-digetx@gmail.com> Message-ID: <3d175de0-3c4e-1fcd-984c-0d9bf147779f@gmail.com> Date: Sat, 31 Jul 2021 21:46:48 +0300 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.11.0 MIME-Version: 1.0 In-Reply-To: <20210731183626.18568-4-digetx@gmail.com> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-efi@vger.kernel.org 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=" and "gpt_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.