Browse Source

efi_loader: file_path should be variable length

Signed-off-by: Rob Clark <robdclark@gmail.com>
Signed-off-by: Alexander Graf <agraf@suse.de>
Rob Clark 7 years ago
parent
commit
61b7e22479
1 changed files with 1 additions and 1 deletions
  1. 1 1
      include/efi_api.h

+ 1 - 1
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 \