From patchwork Wed Apr 18 20:32:27 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Palmer, Thomas" X-Patchwork-Id: 133668 Delivered-To: patch@linaro.org Received: by 10.46.66.142 with SMTP id h14csp307363ljf; Wed, 18 Apr 2018 13:32:40 -0700 (PDT) X-Google-Smtp-Source: AIpwx489AI2Op85cGw7pa9gJAiZUdE8IUxca2aZWQWNqoxYRavF6UBdtVpvKwgMMeRflJvxruil8 X-Received: by 10.98.34.145 with SMTP id p17mr3270215pfj.236.1524083560175; Wed, 18 Apr 2018 13:32:40 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1524083560; cv=none; d=google.com; s=arc-20160816; b=IK57F09ngVRABsdp1pfb5tCvKSbWaKJsreEhNFp7aG160Eg5gonzO6nXRcrlr1SK/7 hpP1QYYm2vXoLsXnavfcy27qePW/xzP2eDqTVTxB3ceYLInZstYAI8KzAZF4fJvXD5wp ubThqh3ZjVO1FUscYFMJcXwxwgOTSUuP9oBows41fQH0pE77Weo2byH1xV2pBc46pczQ 9CQog7QOV3ztniEqf6W2rRg5FpYb+GIOUgi4b7T9PTkqv8gffP2hv775U3Hd4HBedw10 26KqzbOgF8novoa1u+VhtuQdYY4t1ytKkk0Q9BLOoFzNSrahUxtqqklYgWjhSjKDFXjd OFnQ== 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:references:in-reply-to:message-id:date :to:from:delivered-to:arc-authentication-results; bh=U9/cirySfQ5pXLUj530B0CPF8c5JCf0pZopecrh32l0=; b=gBmQ+iogZ+WaFSp1vFPGcLNnvLr1tetmYxpsTfYjGpp0xSasvJNLetWHsJEZjVT2Ft iQT8zg9UABtyu2LPxHoLUGqpWgbB3vlWyWvR+NQnK2e16YV3R0t8H8mV+3TOAeYBiNGH AwsVtpG8SYcecf+rqqptooGBZL90tS2fYSNV81+84OTAUxjdrYidRqxo/GmSRMBB26py kglerohMNtHbPMWvqxRHxsQbvytqVN+NxJDvE78d9fU9g4gBLBQP8hMB9fW/RwK/nbaG 59GWb6VAE/TYJJcT5yBcW/hNduhQ7VRfOJPgFkxXNRd/1o0rx23RO5M/n1FXom0U0vcC dcLg== 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 c10-v6si1738147pla.127.2018.04.18.13.32.39 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 18 Apr 2018 13:32:40 -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 0BB8F22690AAD; Wed, 18 Apr 2018 13:32:39 -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 6F4F522690AAA for ; Wed, 18 Apr 2018 13:32:38 -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 94C1854; Wed, 18 Apr 2018 20:32:37 +0000 (UTC) From: Thomas Palmer To: edk2-devel@lists.01.org Date: Wed, 18 Apr 2018 15:32:27 -0500 Message-Id: <1524083547-32000-3-git-send-email-thomas.palmer@hpe.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1524083547-32000-1-git-send-email-thomas.palmer@hpe.com> References: <1524083547-32000-1-git-send-email-thomas.palmer@hpe.com> Subject: [edk2] [PATCH 4/8] MdeModulePkg/DriverHealthManagerDxe: 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/Universal/DriverHealthManagerDxe/DriverHealthManagerDxe.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/Universal/DriverHealthManagerDxe/DriverHealthManagerDxe.c b/MdeModulePkg/Universal/DriverHealthManagerDxe/DriverHealthManagerDxe.c index 16b703495a2f..3f9c24036d43 100644 --- a/MdeModulePkg/Universal/DriverHealthManagerDxe/DriverHealthManagerDxe.c +++ b/MdeModulePkg/Universal/DriverHealthManagerDxe/DriverHealthManagerDxe.c @@ -5,6 +5,7 @@ firmware setup (UI). Copyright (c) 2013 - 2015, 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 @@ -123,6 +124,8 @@ DriverHealthManagerFakeRouteConfig ( return EFI_INVALID_PARAMETER; } + *Progress = Configuration; + return EFI_NOT_FOUND; }