diff options
author | Thomas Palmer <thomas.palmer@hpe.com> | 2018-04-19 04:32:27 +0800 |
---|---|---|
committer | Eric Dong <eric.dong@intel.com> | 2018-05-03 10:49:46 +0800 |
commit | 54b7f3cfc1b46a645fb2ff03bce3a00a7c8a784e (patch) | |
tree | 6755bc5d1935cfb1bf05993cb00b73ff26e11a1f /MdeModulePkg/Universal | |
parent | 124b18cfb3ff20d7a51ca87143605da9c54b86c9 (diff) | |
download | edk2-54b7f3cfc1b46a645fb2ff03bce3a00a7c8a784e.zip edk2-54b7f3cfc1b46a645fb2ff03bce3a00a7c8a784e.tar.gz edk2-54b7f3cfc1b46a645fb2ff03bce3a00a7c8a784e.tar.bz2 |
MdeModulePkg/DriverHealthManagerDxe: Update RouteConfig function
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 <thomas.palmer@hpe.com>
Reviewed-by: Dandan Bi <dandan.bi@intel.com>
Reviewed-by: Eric Dong <eric.dong@intel.com>
Diffstat (limited to 'MdeModulePkg/Universal')
-rw-r--r-- | MdeModulePkg/Universal/DriverHealthManagerDxe/DriverHealthManagerDxe.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/MdeModulePkg/Universal/DriverHealthManagerDxe/DriverHealthManagerDxe.c b/MdeModulePkg/Universal/DriverHealthManagerDxe/DriverHealthManagerDxe.c index 16b7034..3f9c240 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.<BR>
+(C) Copyright 2018 Hewlett Packard Enterprise Development LP<BR>
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;
}
|