From: Rob Clark Date: Wed, 13 Sep 2017 22:05:39 +0000 (-0400) Subject: efi_loader: file_path should be variable length X-Git-Tag: v2017.11-rc1~4^2~7 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=61b7e22479880f57140dd74879996c83577aa63d;p=u-boot efi_loader: file_path should be variable length Signed-off-by: Rob Clark Signed-off-by: Alexander Graf --- 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 \