]> git.proxmox.com Git - mirror_edk2.git/commit
OvmfPkg/VirtioNetDxe: Check ChildHandle argument in GetControllerName
authorDimitrije Pavlov <dimitrije.pavlov@arm.com>
Wed, 17 Aug 2022 14:35:03 +0000 (09:35 -0500)
committermergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
Mon, 10 Oct 2022 10:17:11 +0000 (10:17 +0000)
commitf80580f56b267c96f16f985dbf707b2f96947da4
tree821c675b37f38d93de9c8347ea1f61eb8b7319e3
parent8db4e9f9a0c2ec992e28259ceb7a8eb316716b05
OvmfPkg/VirtioNetDxe: Check ChildHandle argument in GetControllerName

Per the UEFI specification, a device driver implementation should return
EFI_UNSUPPORTED if the ChildHandle argument in
EFI_COMPONENT_NAME2_PROTOCOL.GetControllerName() is not NULL.

Signed-off-by: Dimitrije Pavlov <Dimitrije.Pavlov@arm.com>
Reviewed-by: Samer El-Haj-Mahmoud <Samer.El-Haj-Mahmoud@arm.com>
Reviewed-by: Sunny Wang <sunny.wang@arm.com>
OvmfPkg/VirtioNetDxe/ComponentName.c