summaryrefslogtreecommitdiff
path: root/lib/efi_loader/efi_device_path_utilities.c
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2025-05-24 11:28:23 -0600
committerHeinrich Schuchardt <heinrich.schuchardt@canonical.com>2025-05-25 11:27:18 +0200
commit162a6b3df349295bf766c1d128d71b4547e8d56e (patch)
tree084d7d3ca3b0420413ee917add7dc891d5e3b8e1 /lib/efi_loader/efi_device_path_utilities.c
parentf139fbe64b03e980d601bba1dc0f1a9ef4515648 (diff)
efi: Rename END to EFI_DP_END
This exported symbol has a very generic name. Rename it to indicate that it relates to EFI and device-paths. Fix checkpatch warnings related to use of multiple assignments. Signed-off-by: Simon Glass <sjg@chromium.org> Suggested-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com> Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
Diffstat (limited to 'lib/efi_loader/efi_device_path_utilities.c')
-rw-r--r--lib/efi_loader/efi_device_path_utilities.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/efi_loader/efi_device_path_utilities.c b/lib/efi_loader/efi_device_path_utilities.c
index f3ef3eabdae..87d52df5066 100644
--- a/lib/efi_loader/efi_device_path_utilities.c
+++ b/lib/efi_loader/efi_device_path_utilities.c
@@ -32,7 +32,7 @@ static efi_uintn_t EFIAPI get_device_path_size(
efi_uintn_t sz = 0;
EFI_ENTRY("%pD", device_path);
- /* size includes the END node: */
+ /* size includes the EFI_DP_END node: */
if (device_path)
sz = efi_dp_size(device_path) + sizeof(struct efi_device_path);
return EFI_EXIT(sz);