[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH 3/5] loader/efi/fdt.c: fixup grub_file_open call
From: |
Leif Lindholm |
Subject: |
[PATCH 3/5] loader/efi/fdt.c: fixup grub_file_open call |
Date: |
Wed, 14 Nov 2018 19:29:17 +0000 |
The verifiers framework changed the api of grub_file_open, but did not
fix up all users. Add the file type GRUB_FILE_TYPE_DEVICE_TREE_IMAGE
to the "devicetree" command handler call.
Signed-off-by: Leif Lindholm <address@hidden>
---
grub-core/loader/efi/fdt.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/grub-core/loader/efi/fdt.c b/grub-core/loader/efi/fdt.c
index a4c6e8036..a18ca8ccb 100644
--- a/grub-core/loader/efi/fdt.c
+++ b/grub-core/loader/efi/fdt.c
@@ -123,7 +123,7 @@ grub_cmd_devicetree (grub_command_t cmd __attribute__
((unused)),
return GRUB_ERR_NONE;
}
- dtb = grub_file_open (argv[0]);
+ dtb = grub_file_open (argv[0], GRUB_FILE_TYPE_DEVICE_TREE_IMAGE);
if (!dtb)
goto out;
--
2.11.0
- [PATCH 0/5] Fix non-x86 builds after verifiers framework merged, Leif Lindholm, 2018/11/14
- [PATCH 2/5] file.h: add device tree file type, Leif Lindholm, 2018/11/14
- [PATCH 1/5] grub/verify.h: add include guard, Leif Lindholm, 2018/11/14
- [PATCH 5/5] arm-uboot, ia64, sparc64: fix up grub_file_open calls, Leif Lindholm, 2018/11/14
- [PATCH 3/5] loader/efi/fdt.c: fixup grub_file_open call,
Leif Lindholm <=
- [PATCH 4/5] arm64/efi: fix breakage caused by verifiers, Leif Lindholm, 2018/11/14
- Re: [PATCH 0/5] Fix non-x86 builds after verifiers framework merged, Fu Wei Fu, 2018/11/15
- arm64/xen: Fix too few arguments to function ‘grub_create_loader_cmdline’, Lee Jones, 2018/11/20
- Re: arm64/xen: Fix too few arguments to function ‘grub_create_loader_cmdline’, Julien Grall, 2018/11/20