From patchwork Wed Apr 18 20:32:25 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Palmer, Thomas" X-Patchwork-Id: 133666 Delivered-To: patch@linaro.org Received: by 10.46.66.142 with SMTP id h14csp307302ljf; Wed, 18 Apr 2018 13:32:37 -0700 (PDT) X-Google-Smtp-Source: AIpwx4/noyYzhsg5gjqIBb+FTMhek0ts6K+oU30HfUqTXf4vn/W1xlCdi4ZslfluSvc0WlpnU3z3 X-Received: by 10.167.129.154 with SMTP id g26mr3237839pfi.169.1524083557060; Wed, 18 Apr 2018 13:32:37 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1524083557; cv=none; d=google.com; s=arc-20160816; b=aWPQvKQJEhcMXuQQdqN8PfaQJtxRBpzR6D+8RN9DF7M7tHQ5s8binlRv2X3XbmOAW8 dM2W7HpK4vzCuVxhax2x7Z4tebAVyAMpowY6XGv8+GlLtuI0PxGjP4bpGtveue1Zl9gw PVJKk2NSL2b+PGBlykNBa7SMLs6Ah05oYvJjx78T74SnaoPApeiN9bb4RGZhMb2Gxwro TmiXZJx8DKmz5+XFoOSp9du8DLsEia99QVl9OPAGAH3osCXSbTbIeUfGfy0Qj0jql3bB OCVFsHh6umOScSc8HVt53qadv0KTnhZ+IP+CiRwq8ZAytCTTOO4tuDHRNUBAsh/1XuDD si4Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:content-transfer-encoding:mime-version:cc :list-subscribe:list-help:list-post:list-archive:list-unsubscribe :list-id:precedence:subject:message-id:date:to:from:delivered-to :arc-authentication-results; bh=4BgQtoR2UL5zrLci0zEY6ErLbvXXpLQ0pbIG44O3y04=; b=mhk6dCMDIksfBav+mhAG+mncuxntOFNZ7EpEtAH02q1xzPwY83LGkbZjjq/bpfg8TA HKJYJVoeiRBWbOtvW7FDRoEWrwyvBZiN0fmzghdUcUDR8m/nGQLlZkXSxuHVIp5PKTk6 jwShkSKTVMTXb74kgxv6IHJj6nTwza9FU1HOdz897KJ13gv9fd4l7fRu92H92ysoHsU2 1aoile63YJ6TH3l7CzepoKT9jXrmlmI2mtHD+eRIzM3Ve+PRMuBHPmARpoBUTidybpC8 W+a93IcHThtA0LnsPfI4GzO7KmhsVQBrUVZodJ+8xkq0YLAp4685163talUKCQml3M0K ZebA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of edk2-devel-bounces@lists.01.org designates 2001:19d0:306:5::1 as permitted sender) smtp.mailfrom=edk2-devel-bounces@lists.01.org Return-Path: Received: from ml01.01.org (ml01.01.org. [2001:19d0:306:5::1]) by mx.google.com with ESMTPS id x9-v6si1868229plr.64.2018.04.18.13.32.36 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 18 Apr 2018 13:32:37 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of edk2-devel-bounces@lists.01.org designates 2001:19d0:306:5::1 as permitted sender) client-ip=2001:19d0:306:5::1; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of edk2-devel-bounces@lists.01.org designates 2001:19d0:306:5::1 as permitted sender) smtp.mailfrom=edk2-devel-bounces@lists.01.org Received: from [127.0.0.1] (localhost [IPv6:::1]) by ml01.01.org (Postfix) with ESMTP id A488522683908; Wed, 18 Apr 2018 13:32:36 -0700 (PDT) X-Original-To: edk2-devel@lists.01.org Delivered-To: edk2-devel@lists.01.org Received-SPF: None (no SPF record) identity=mailfrom; client-ip=15.241.140.75; helo=g4t3426.houston.hpe.com; envelope-from=thomas.palmer@hpe.com; receiver=edk2-devel@lists.01.org Received: from g4t3426.houston.hpe.com (g4t3426.houston.hpe.com [15.241.140.75]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ml01.01.org (Postfix) with ESMTPS id 2FBBA2268479B for ; Wed, 18 Apr 2018 13:32:34 -0700 (PDT) Received: from arm-build-server.us.rdlabs.hpecorp.net (arm-build-server.us.rdlabs.hpecorp.net [16.84.24.54]) by g4t3426.houston.hpe.com (Postfix) with ESMTP id CE4A469; Wed, 18 Apr 2018 20:32:33 +0000 (UTC) From: Thomas Palmer To: edk2-devel@lists.01.org Date: Wed, 18 Apr 2018 15:32:25 -0500 Message-Id: <1524083547-32000-1-git-send-email-thomas.palmer@hpe.com> X-Mailer: git-send-email 2.7.4 Subject: [edk2] [PATCH 2/8] MdeModulePkg/UiApp: Update RouteConfig function X-BeenThere: edk2-devel@lists.01.org X-Mailman-Version: 2.1.26 Precedence: list List-Id: EDK II Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: nickle.wang@hpe.com, eric.dong@intel.com, star.zeng@intel.com MIME-Version: 1.0 Errors-To: edk2-devel-bounces@lists.01.org Sender: "edk2-devel" According to UEFI spec, the RouteConfig protocol function should populate the Progress pointer with an address inside Configuration. This patch ensures that these functions are compliant when EFI_NOT_FOUND is returned. Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Thomas Palmer --- MdeModulePkg/Application/UiApp/FrontPage.c | 3 +++ 1 file changed, 3 insertions(+) -- 2.7.4 _______________________________________________ edk2-devel mailing list edk2-devel@lists.01.org https://lists.01.org/mailman/listinfo/edk2-devel diff --git a/MdeModulePkg/Application/UiApp/FrontPage.c b/MdeModulePkg/Application/UiApp/FrontPage.c index adee67a8ac14..2403aad9d98f 100644 --- a/MdeModulePkg/Application/UiApp/FrontPage.c +++ b/MdeModulePkg/Application/UiApp/FrontPage.c @@ -2,6 +2,7 @@ FrontPage routines to handle the callbacks and browser calls Copyright (c) 2004 - 2017, Intel Corporation. All rights reserved.
+(C) Copyright 2018 Hewlett Packard Enterprise Development LP
This program and the accompanying materials are licensed and made available under the terms and conditions of the BSD License which accompanies this distribution. The full text of the license may be found at @@ -152,6 +153,8 @@ FakeRouteConfig ( return EFI_INVALID_PARAMETER; } + *Progress = Configuration; + return EFI_NOT_FOUND; }