Uncrustify PciHotPlug module. corrects the [in, out] parameters. Cc: Abner Chang <abner.ch...@amd.com> Cc: Paul Grimes <paul.gri...@amd.com> Signed-off-by: Abdul Lateef Attar <abdullateef.at...@amd.com> --- Platform/AMD/AmdMinBoardPkg/PciHotPlug/PciHotPlugInit.c | 4 +++- Platform/AMD/AmdMinBoardPkg/PciHotPlug/PciHotPlugInit.inf | 5 +++-- 2 files changed, 6 insertions(+), 3 deletions(-)
diff --git a/Platform/AMD/AmdMinBoardPkg/PciHotPlug/PciHotPlugInit.c b/Platform/AMD/AmdMinBoardPkg/PciHotPlug/PciHotPlugInit.c index a26ca16741..9a7b509b55 100755 --- a/Platform/AMD/AmdMinBoardPkg/PciHotPlug/PciHotPlugInit.c +++ b/Platform/AMD/AmdMinBoardPkg/PciHotPlug/PciHotPlugInit.c @@ -44,6 +44,8 @@ Copyright (c) 2007 - 2018, Intel Corporation. All rights reserved.<BR> Copyright (C) 2016, Red Hat, Inc.<BR> + Copyright (C) 2024 Advanced Micro Devices, Inc. All rights reserved. + SPDX-License-Identifier: BSD-2-Clause-Patent @par Revision Reference: @@ -169,7 +171,7 @@ InitializeRootHpc ( @param[in] This Pointer to the EFI_PCI_HOT_PLUG_INIT_PROTOCOL instance. @param[in] HpcDevicePath The device path to the HPC. @param[in] HpcPciAddress The address of the HPC function on the PCI bus. - @param[in] HpcState The state of the HPC hardware. + @param[out] HpcState The state of the HPC hardware. @param[out] Padding The amount of resource padding that is required by the PCI bus under the control of the specified HPC. @param[out] Attributes Describes how padding is accounted for. The padding diff --git a/Platform/AMD/AmdMinBoardPkg/PciHotPlug/PciHotPlugInit.inf b/Platform/AMD/AmdMinBoardPkg/PciHotPlug/PciHotPlugInit.inf index 44564df387..861fc120d9 100755 --- a/Platform/AMD/AmdMinBoardPkg/PciHotPlug/PciHotPlugInit.inf +++ b/Platform/AMD/AmdMinBoardPkg/PciHotPlug/PciHotPlugInit.inf @@ -2,8 +2,9 @@ # This driver implements EFI_PCI_HOT_PLUG_INIT_PROTOCOL. # Adds resource padding information, for PCIe hotplug purposes. # -# Copyright (C) 2023 Advanced Micro Devices, Inc. All rights reserved -# SPDX-License-Identifier: BSD-2-Clause-Patent ## +# Copyright (C) 2023 - 2024 Advanced Micro Devices, Inc. All rights reserved +# SPDX-License-Identifier: BSD-2-Clause-Patent +## [Defines] INF_VERSION = 1.29 -- 2.34.1 -=-=-=-=-=-=-=-=-=-=-=- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#118975): https://edk2.groups.io/g/devel/message/118975 Mute This Topic: https://groups.io/mt/106148090/21656 Group Owner: devel+ow...@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-