diff mbox series

[U-Boot,v2,16/21] efi_loader: file_path should be variable length

Message ID 20170910112149.21358-26-robdclark@gmail.com
State Superseded
Delegated to: Alexander Graf
Headers show
Series efi_loader: enough UEFI for standard distro boot | expand

Commit Message

Rob Clark Sept. 10, 2017, 11:21 a.m. UTC
After "efi_loader: refactor boot device and loaded_image handling" we
can drop this hack.

Signed-off-by: Rob Clark <robdclark@gmail.com>
---
 include/efi_api.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff mbox series

Patch

diff --git a/include/efi_api.h b/include/efi_api.h
index d0aefa8221..604c5b7ec4 100644
--- a/include/efi_api.h
+++ b/include/efi_api.h
@@ -373,7 +373,7 @@  struct efi_device_path_cdrom_path {
 
 struct efi_device_path_file_path {
 	struct efi_device_path dp;
-	u16 str[32];
+	u16 str[];
 } __packed;
 
 #define BLOCK_IO_GUID \