]> git.ipfire.org Git - thirdparty/ipxe.git/commit
[efi] Use long forms of device paths in debug messages
authorMichael Brown <mcb30@ipxe.org>
Mon, 4 Mar 2024 12:08:01 +0000 (12:08 +0000)
committerMichael Brown <mcb30@ipxe.org>
Mon, 4 Mar 2024 12:15:20 +0000 (12:15 +0000)
commit1b23d4de25d1dacf164eec442780bbfb026fbda7
tree00a2ec8e75460811802c129cf4a74f49e9509206
parent7cd73884e51f6d3649aa2ea0ed0cec0b39192f61
[efi] Use long forms of device paths in debug messages

We currently call ConvertDevicePathToText() with DisplayOnly=TRUE when
constructing a device path to appear within a debug message.  For
ATAPI device paths, this will unfortunately omit some key information:
the textual representation will not indicate which ATA bus or drive is
represented.  This can lead to misleading debug messages that appear
to refer to identical devices.

Fix by setting DisplayOnly=FALSE to select the long form of device
path textual representations.

Signed-off-by: Michael Brown <mcb30@ipxe.org>
src/interface/efi/efi_debug.c