浏览代码

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 年之前
父节点
当前提交
61b7e22479
共有 1 个文件被更改,包括 1 次插入1 次删除
  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 \