mirror of
https://git.proxmox.com/git/mirror_edk2
synced 2026-01-25 22:05:35 +00:00
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> |
||
|---|---|---|
| .. | ||
| UefiHandleParsingLib | ||
| UefiShellAcpiViewCommandLib | ||
| UefiShellBcfgCommandLib | ||
| UefiShellCEntryLib | ||
| UefiShellCommandLib | ||
| UefiShellDebug1CommandsLib | ||
| UefiShellDriver1CommandsLib | ||
| UefiShellInstall1CommandsLib | ||
| UefiShellLevel1CommandsLib | ||
| UefiShellLevel2CommandsLib | ||
| UefiShellLevel3CommandsLib | ||
| UefiShellLib | ||
| UefiShellNetwork1CommandsLib | ||
| UefiShellNetwork2CommandsLib | ||