[U-Boot] [PATCH v3 16/21] efi_loader: file_path should be variable length

Rob Clark robdclark at gmail.com
Wed Sep 13 22:05:39 UTC 2017


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

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 \
-- 
2.13.5



More information about the U-Boot mailing list