aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/firmware/efi/libstub/fdt.c
diff options
context:
space:
mode:
authorH. Peter Anvin <hpa@linux.intel.com>2014-08-11 16:58:54 -0400
committerH. Peter Anvin <hpa@linux.intel.com>2014-08-11 16:58:54 -0400
commit9e13bcf7e0981f1db0c8c8255ac17d5f898903e9 (patch)
tree2bb16d5bceab26b92ea68c2b895ce4a353d9338a /drivers/firmware/efi/libstub/fdt.c
parentb16d8c231e4d03fefc7de1b8b62bad5659ee8070 (diff)
parent7b2a583afb4ab894f78bc0f8bd136e96b6499a7e (diff)
Merge tag 'efi-urgent' into x86/efi
* Enforce CONFIG_RELOCATABLE for the x86 EFI boot stub, otherwise it's possible to overwrite random pieces of unallocated memory during kernel decompression, leading to machine resets. Resolved Conflicts: arch/x86/Kconfig Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
Diffstat (limited to 'drivers/firmware/efi/libstub/fdt.c')
-rw-r--r--drivers/firmware/efi/libstub/fdt.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/firmware/efi/libstub/fdt.c b/drivers/firmware/efi/libstub/fdt.c
index 86d2934840e2..a56bb3528755 100644
--- a/drivers/firmware/efi/libstub/fdt.c
+++ b/drivers/firmware/efi/libstub/fdt.c
@@ -57,7 +57,7 @@ efi_status_t update_fdt(efi_system_table_t *sys_table, void *orig_fdt,
57 */ 57 */
58 prev = 0; 58 prev = 0;
59 for (;;) { 59 for (;;) {
60 const char *type, *name; 60 const char *type;
61 int len; 61 int len;
62 62
63 node = fdt_next_node(fdt, prev, NULL); 63 node = fdt_next_node(fdt, prev, NULL);