Message ID | 20181017073207.13150-2-takahiro.akashi@linaro.org |
---|---|
State | Accepted |
Commit | b0c78d8ffc9fe8b0388353d72e9f2b9e9c6107c6 |
Headers | show
Return-Path: <u-boot-bounces@lists.denx.de> X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=none (mailfrom) smtp.mailfrom=lists.denx.de (client-ip=81.169.180.215; helo=lists.denx.de; envelope-from=u-boot-bounces@lists.denx.de; receiver=<UNKNOWN>) Authentication-Results: ozlabs.org; dmarc=fail (p=none dis=none) header.from=linaro.org Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (1024-bit key; unprotected) header.d=linaro.org header.i=@linaro.org header.b="RVsrtaeb"; dkim-atps=neutral Received: from lists.denx.de (dione.denx.de [81.169.180.215]) by ozlabs.org (Postfix) with ESMTP id 42ZkPN0fczz9sCW for <incoming@patchwork.ozlabs.org>; Wed, 17 Oct 2018 18:31:04 +1100 (AEDT) Received: by lists.denx.de (Postfix, from userid 105) id CE185C21D74; Wed, 17 Oct 2018 07:30:57 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on lists.denx.de X-Spam-Level: X-Spam-Status: No, score=0.0 required=5.0 tests=RCVD_IN_DNSWL_BLOCKED, RCVD_IN_MSPIKE_H2, T_DKIM_INVALID autolearn=unavailable autolearn_force=no version=3.4.0 Received: from lists.denx.de (localhost [IPv6:::1]) by lists.denx.de (Postfix) with ESMTP id E61E9C21C27; Wed, 17 Oct 2018 07:30:54 +0000 (UTC) Received: by lists.denx.de (Postfix, from userid 105) id 5ACACC21C38; Wed, 17 Oct 2018 07:30:41 +0000 (UTC) Received: from mail-yb1-f193.google.com (mail-yb1-f193.google.com [209.85.219.193]) by lists.denx.de (Postfix) with ESMTPS id 65964C21DC1 for <u-boot@lists.denx.de>; Wed, 17 Oct 2018 07:30:35 +0000 (UTC) Received: by mail-yb1-f193.google.com with SMTP id w7-v6so9957146ybm.7 for <u-boot@lists.denx.de>; Wed, 17 Oct 2018 00:30:35 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=mex2lAZQqyEAyMZm1ZRq4gKMdNSr795ar23/kt68Jng=; b=RVsrtaebzkdB+dc5MVfCDXCfXar27Yjfm7x+LmIbgjBABqlInJsGD+20gRkdB/Sy70 ZS7xLGYlvoD5C5jtt24rTjpTGmTcreyXtZ8uYfgzXpIGmMGhJx5MGKEkPgaVKY2vb5l/ uVzqMKFtwzs8kb3CQiEkaPquoqztgtEpdelNI= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=mex2lAZQqyEAyMZm1ZRq4gKMdNSr795ar23/kt68Jng=; b=ljcFgrGTG6+xX6VY+ctGwO9zqCZHLGFLkqO1mK9hnomefUUeASDhB5o0Ew/u7rdZmA k4L4VhxaQ/CM0zHJSIYAWTuo+NRLAcAh/+fv3oeitEnQdbdCkqLib+F8t3kLHgSaE4N3 VfpL7rcBXi+f7tAvUU4mG8WRVvnrArt++Efmtta+/S0osRopz1OFP+4YYZjyHLtIEgZ7 C/cGJUaruIQ1zruSnqHSKx6tU5mnccJYW5qXdaZeEeCDaffZYa0r9O9AOAu49y6nisQh trdae5z49Gjtz+5eYOxfTVsGzRrKaK+tGzvRjQk1M43WVHi80zbp/1rgUot02dmLBKNi Ziew== X-Gm-Message-State: ABuFfohvK7JA5MSMe6HKFtb4wxxOAORd2gnP+6k9AmEkAexpbEBFI8qM rvm3wditlJXrond9cogjyGlXjw== X-Google-Smtp-Source: ACcGV61iFnDitnxM34QXvpek+yCFJyQqSXO6xNZxE5NseAafdwFDDUcStIMClBlC9lKWl7FMQg9Q+Q== X-Received: by 2002:a25:e6d7:: with SMTP id d206-v6mr13547618ybh.258.1539761434188; Wed, 17 Oct 2018 00:30:34 -0700 (PDT) Received: from linaro.org ([121.95.100.191]) by smtp.googlemail.com with ESMTPSA id d136-v6sm4313302ywh.33.2018.10.17.00.30.32 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 17 Oct 2018 00:30:33 -0700 (PDT) From: AKASHI Takahiro <takahiro.akashi@linaro.org> To: trini@konsulko.com, agraf@suse.de Date: Wed, 17 Oct 2018 16:32:02 +0900 Message-Id: <20181017073207.13150-2-takahiro.akashi@linaro.org> X-Mailer: git-send-email 2.19.0 In-Reply-To: <20181017073207.13150-1-takahiro.akashi@linaro.org> References: <20181017073207.13150-1-takahiro.akashi@linaro.org> MIME-Version: 1.0 Cc: u-boot@lists.denx.de Subject: [U-Boot] [PATCH 1/6] fs: update fs_dev_part in fs_set_blk_dev_with_part() X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.18 Precedence: list List-Id: U-Boot discussion <u-boot.lists.denx.de> List-Unsubscribe: <https://lists.denx.de/options/u-boot>, <mailto:u-boot-request@lists.denx.de?subject=unsubscribe> List-Archive: <http://lists.denx.de/pipermail/u-boot/> List-Post: <mailto:u-boot@lists.denx.de> List-Help: <mailto:u-boot-request@lists.denx.de?subject=help> List-Subscribe: <https://lists.denx.de/listinfo/u-boot>, <mailto:u-boot-request@lists.denx.de?subject=subscribe> Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" <u-boot-bounces@lists.denx.de> |
Series |
efi: make efi and bootmgr more usable
|
expand
|
diff --git a/fs/fs.c b/fs/fs.c index adae98d021ee..cb265174e2f2 100644 --- a/fs/fs.c +++ b/fs/fs.c @@ -365,6 +365,7 @@ int fs_set_blk_dev_with_part(struct blk_desc *desc, int part) for (i = 0, info = fstypes; i < ARRAY_SIZE(fstypes); i++, info++) { if (!info->probe(fs_dev_desc, &fs_partition)) { fs_type = info->fstype; + fs_dev_part = part; return 0; } }
As in the case of fs_set_blk_dev(), fs_set_blk_dev_with_part() should maintain and update fs_dev_part whenever called. Without this patch, a problem will come up when an efi binary associated with efi's BOOTxxxx variable is invoked via "bootefi bootmgr". Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org> --- fs/fs.c | 1 + 1 file changed, 1 insertion(+)