]> git.sur5r.net Git - u-boot/commitdiff
efi_loader: file_path should be variable length
authorRob Clark <robdclark@gmail.com>
Wed, 13 Sep 2017 22:05:39 +0000 (18:05 -0400)
committerAlexander Graf <agraf@suse.de>
Wed, 20 Sep 2017 09:08:58 +0000 (11:08 +0200)
Signed-off-by: Rob Clark <robdclark@gmail.com>
Signed-off-by: Alexander Graf <agraf@suse.de>
include/efi_api.h

index d0aefa8221e7ce053cb176affb12b11826bd5377..604c5b7ec4e1f9272a031cb05c96b0e24a6673e9 100644 (file)
@@ -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 \