diff options
author | Laszlo Ersek <lersek@redhat.com> | 2019-09-06 22:02:06 +0200 |
---|---|---|
committer | Laszlo Ersek <lersek@redhat.com> | 2019-10-09 09:40:10 +0200 |
commit | 61d505dfc11a44601cc4b7bf8122df7e300cd5a2 (patch) | |
tree | 986f39a19d0d0b6e4c30c7264414d76076442160 /ShellPkg/Library/UefiShellLevel2CommandsLib/UefiShellLevel2CommandsLib.h | |
parent | fcf8bdcd5313ae076506cbbf8474bb660fa47a93 (diff) | |
download | edk2-61d505dfc11a44601cc4b7bf8122df7e300cd5a2.tar.gz edk2-61d505dfc11a44601cc4b7bf8122df7e300cd5a2.tar.bz2 edk2-61d505dfc11a44601cc4b7bf8122df7e300cd5a2.zip |
ShellPkg/UefiShellDriver1CommandsLib: fix parameter list typo
The ShellCommandRunConnect() function passes EFI_HANDLE -- (VOID*) --
objects to ConvertAndConnectControllers(), and
ConvertAndConnectControllers() passes those to gBS->OpenProtocol().
Accordingly, ConvertAndConnectControllers() should specify EFI_HANDLE
parameter types, not (EFI_HANDLE*) -- (VOID**) -- types.
This typo is masked because (VOID*) converts to and from any
pointer-to-object type silently.
Note that functionally speaking there is no problem, so this patch does
not change beavior, only cleans up the code.
Cc: Jaben Carsey <jaben.carsey@intel.com>
Cc: Ray Ni <ray.ni@intel.com>
Cc: Zhichao Gao <zhichao.gao@intel.com>
Signed-off-by: Laszlo Ersek <lersek@redhat.com>
Reviewed-by: Philippe Mathieu-Daude <philmd@redhat.com>
Reviewed-by: Zhichao Gao <zhichao.gao@intel.com>
Diffstat (limited to 'ShellPkg/Library/UefiShellLevel2CommandsLib/UefiShellLevel2CommandsLib.h')
0 files changed, 0 insertions, 0 deletions