audk/ShellPkg/Library/UefiShellDriver1CommandsLib
Laszlo Ersek 61d505dfc1 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>
2019-10-09 09:40:10 +02:00
..
Connect.c ShellPkg/UefiShellDriver1CommandsLib: fix parameter list typo 2019-10-09 09:40:10 +02:00
DevTree.c ShellPkg: Replace BSD License with BSD+Patent License 2019-04-09 10:58:25 -07:00
Devices.c ShellPkg: Replace BSD License with BSD+Patent License 2019-04-09 10:58:25 -07:00
Dh.c ShellPkg: Replace BSD License with BSD+Patent License 2019-04-09 10:58:25 -07:00
Disconnect.c ShellPkg: Replace BSD License with BSD+Patent License 2019-04-09 10:58:25 -07:00
Drivers.c ShellPkg/UefiShellDriver1CommandsLib: Make array big enough 2019-08-19 14:54:38 -07:00
DrvCfg.c ShellPkg: Replace BSD License with BSD+Patent License 2019-04-09 10:58:25 -07:00
DrvDiag.c ShellPkg: Replace BSD License with BSD+Patent License 2019-04-09 10:58:25 -07:00
OpenInfo.c ShellPkg: Replace BSD License with BSD+Patent License 2019-04-09 10:58:25 -07:00
Reconnect.c ShellPkg: Replace BSD License with BSD+Patent License 2019-04-09 10:58:25 -07:00
UefiShellDriver1CommandsLib.c ShellPkg: Replace BSD License with BSD+Patent License 2019-04-09 10:58:25 -07:00
UefiShellDriver1CommandsLib.h ShellPkg: Replace BSD License with BSD+Patent License 2019-04-09 10:58:25 -07:00
UefiShellDriver1CommandsLib.inf ShellPkg: Replace BSD License with BSD+Patent License 2019-04-09 10:58:25 -07:00
UefiShellDriver1CommandsLib.uni ShellPkg: Replace BSD License with BSD+Patent License 2019-04-09 10:58:25 -07:00
Unload.c ShellPkg: Replace BSD License with BSD+Patent License 2019-04-09 10:58:25 -07:00