efi_loader: efi_dp_from_lo() don't copy GUID
authorHeinrich Schuchardt <xypron.glpk@gmx.de>
Thu, 14 Oct 2021 23:31:02 +0000 (01:31 +0200)
committerHeinrich Schuchardt <xypron.glpk@gmx.de>
Thu, 21 Oct 2021 01:46:04 +0000 (03:46 +0200)
commit0421735dd8ffc82db22c3767e7aa38c65fc7298e
tree9b1b9fb1eb831410422689e70d7476cfc03053c7
parentebdea88d57d5e67b8f6e6cf615300eedbc7200a9
efi_loader: efi_dp_from_lo() don't copy GUID

Instead of copying a GUID and then using a pointer to the copy for calling
guidcmp(), just pass the pointer to the orginal GUID.

Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
cmd/efidebug.c
include/efi_loader.h
lib/efi_loader/efi_device_path.c
lib/efi_loader/efi_helper.c