summaryrefslogtreecommitdiffstats
path: root/ShellPkg/Include
diff options
context:
space:
mode:
authorLaszlo Ersek <lersek@redhat.com>2016-09-08 17:10:47 +0200
committerLaszlo Ersek <lersek@redhat.com>2016-09-08 20:42:28 +0200
commitb6c54204617c37e305c4389ece4f7af116485f92 (patch)
tree65a57e034222214113b2d1d1ff920932d4180fbd /ShellPkg/Include
parent1b3be4a12e7dd7504b502fb58929efec967b7fbf (diff)
downloadedk2-b6c54204617c37e305c4389ece4f7af116485f92.tar.gz
edk2-b6c54204617c37e305c4389ece4f7af116485f92.tar.bz2
edk2-b6c54204617c37e305c4389ece4f7af116485f92.zip
ShellPkg/UefiHandleParsingLib: fix IN/OUT notation in child ctrlr parsing
"MatchingHandleCount" is an output parameter of ParseHandleDatabaseForChildControllers(). Cc: Jaben Carsey <jaben.carsey@intel.com> Cc: Ruiyu Ni <ruiyu.ni@intel.com> Cc: Tapan Shah <tapandshah@hpe.com> Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Laszlo Ersek <lersek@redhat.com> Reviewed-by: Jaben Carsey <jaben.carsey@intel.com> Reviewed-by: Tapan Shah <tapandshah@hpe.com>
Diffstat (limited to 'ShellPkg/Include')
-rw-r--r--ShellPkg/Include/Library/HandleParsingLib.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/ShellPkg/Include/Library/HandleParsingLib.h b/ShellPkg/Include/Library/HandleParsingLib.h
index 441f65fffe..79dcc9cc5a 100644
--- a/ShellPkg/Include/Library/HandleParsingLib.h
+++ b/ShellPkg/Include/Library/HandleParsingLib.h
@@ -306,7 +306,7 @@ ParseHandleDatabaseForChildDevices(
Gets handles for any child controllers of the passed in controller.
@param[in] ControllerHandle The handle of the "parent controller".
- @param[in] MatchingHandleCount The pointer to the number of handles in
+ @param[out] MatchingHandleCount The pointer to the number of handles in
MatchingHandleBuffer on return.
@param[out] MatchingHandleBuffer The buffer containing handles on a successful
return.
@@ -317,7 +317,7 @@ EFI_STATUS
EFIAPI
ParseHandleDatabaseForChildControllers(
IN CONST EFI_HANDLE ControllerHandle,
- IN UINTN *MatchingHandleCount,
+ OUT UINTN *MatchingHandleCount,
OUT EFI_HANDLE **MatchingHandleBuffer OPTIONAL
);