From ef0460b852fbfec180089b5490f6888e5141a68e Mon Sep 17 00:00:00 2001 From: Michael Kubacki Date: Thu, 6 Aug 2020 12:05:36 -0700 Subject: FmpDevicePkg/FmpDependencyLib: Correct ValidateDependency() documentation Modifies the return value documentation to state that the BOOLEAN value indicates whether a given dependency expression is valid not a capsule. Cc: Liming Gao Cc: Michael D Kinney Cc: Guomin Jiang Cc: Wei6 Xu Signed-off-by: Michael Kubacki Reviewed-by: Michael D Kinney Reviewed-by: Guomin Jiang Reviewed-by: Wei6 Xu --- FmpDevicePkg/Include/Library/FmpDependencyLib.h | 5 +++-- FmpDevicePkg/Library/FmpDependencyLib/FmpDependencyLib.c | 5 +++-- 2 files changed, 6 insertions(+), 4 deletions(-) (limited to 'FmpDevicePkg') diff --git a/FmpDevicePkg/Include/Library/FmpDependencyLib.h b/FmpDevicePkg/Include/Library/FmpDependencyLib.h index 1110eefa9a..c732903425 100644 --- a/FmpDevicePkg/Include/Library/FmpDependencyLib.h +++ b/FmpDevicePkg/Include/Library/FmpDependencyLib.h @@ -2,6 +2,7 @@ Fmp Capsule Dependency support functions for Firmware Management Protocol based firmware updates. + Copyright (c) Microsoft Corporation.
Copyright (c) 2020, Intel Corporation. All rights reserved.
SPDX-License-Identifier: BSD-2-Clause-Patent @@ -29,8 +30,8 @@ typedef struct { @param[in] MaxDepexSize Max size of the dependency. @param[out] DepexSize Size of dependency. - @retval TRUE The capsule is valid. - @retval FALSE The capsule is invalid. + @retval TRUE The dependency expression is valid. + @retval FALSE The dependency expression is invalid. **/ BOOLEAN diff --git a/FmpDevicePkg/Library/FmpDependencyLib/FmpDependencyLib.c b/FmpDevicePkg/Library/FmpDependencyLib/FmpDependencyLib.c index 91dc0b9abd..2835806995 100644 --- a/FmpDevicePkg/Library/FmpDependencyLib/FmpDependencyLib.c +++ b/FmpDevicePkg/Library/FmpDependencyLib/FmpDependencyLib.c @@ -1,6 +1,7 @@ /** @file Supports Fmp Capsule Dependency Expression. + Copyright (c) Microsoft Corporation.
Copyright (c) 2020, Intel Corporation. All rights reserved.
SPDX-License-Identifier: BSD-2-Clause-Patent @@ -433,8 +434,8 @@ Error: @param[in] MaxDepexSize Max size of the dependency. @param[out] DepexSize Size of dependency. - @retval TRUE The capsule is valid. - @retval FALSE The capsule is invalid. + @retval TRUE The dependency expression is valid. + @retval FALSE The dependency expression is invalid. **/ BOOLEAN -- cgit v1.2.3