summaryrefslogtreecommitdiffstats
path: root/src/include/ipxe
diff options
context:
space:
mode:
authorMichael Brown2019-07-15 13:49:47 +0200
committerMichael Brown2019-07-15 13:49:47 +0200
commita385e2376859dc0195ec77aeab220876b201c16b (patch)
tree5c654730ac61146037965e752ef7092a0b76d89f /src/include/ipxe
parent[arm] Provide dummy implementations for {in,out}[s]{b,w,l} (diff)
downloadipxe-a385e2376859dc0195ec77aeab220876b201c16b.tar.gz
ipxe-a385e2376859dc0195ec77aeab220876b201c16b.tar.xz
ipxe-a385e2376859dc0195ec77aeab220876b201c16b.zip
[efi] Return only registered EFI devices from efidev_parent()
efidev_parent() currently assumes that any device with BUS_TYPE_EFI is part of a struct efi_device. This assumption is not valid, since the code in efi_device_info() may also create a device with BUS_TYPE_EFI. Fix by searching through the list of registered EFI devices when looking for a match, instead of relying on the bus type value. Signed-off-by: Michael Brown <mcb30@ipxe.org>
Diffstat (limited to 'src/include/ipxe')
0 files changed, 0 insertions, 0 deletions