[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
arm64/xen: Fix too few arguments to function ‘grub_create_loader_cmdline
From: |
Lee Jones |
Subject: |
arm64/xen: Fix too few arguments to function ‘grub_create_loader_cmdline’ |
Date: |
Tue, 20 Nov 2018 10:45:04 +0000 |
User-agent: |
Mutt/1.9.4 (2018-02-28) |
From: Lee Jones <address@hidden>
arm64/xen: Fix too few arguments to function ‘grub_create_loader_cmdline’
Without this fix, building xen_boot.c omits:
loader/arm64/xen_boot.c: In function ‘xen_boot_binary_load’:
loader/arm64/xen_boot.c:370:7: error: too few arguments to function
‘grub_create_loader_cmdline’
grub_create_loader_cmdline (argc - 1, argv + 1, binary->cmdline,
^~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from loader/arm64/xen_boot.c:36:0:
../include/grub/lib/cmdline.h:29:12: note: declared here
grub_err_t grub_create_loader_cmdline (int argc, char *argv[], char *buf,
Signed-off-by: Lee Jones <address@hidden>
diff --git a/grub-core/loader/arm64/xen_boot.c
b/grub-core/loader/arm64/xen_boot.c
index 1003a0b99..33a855df4 100644
--- a/grub-core/loader/arm64/xen_boot.c
+++ b/grub-core/loader/arm64/xen_boot.c
@@ -368,7 +368,8 @@ xen_boot_binary_load (struct xen_boot_binary *binary,
grub_file_t file,
return;
}
grub_create_loader_cmdline (argc - 1, argv + 1, binary->cmdline,
- binary->cmdline_size);
+ binary->cmdline_size,
+ GRUB_VERIFY_KERNEL_CMDLINE);
grub_dprintf ("xen_loader",
"Xen_boot cmdline @ %p %s, size: %d\n",
binary->cmdline, binary->cmdline, binary->cmdline_size);
- [PATCH 5/5] arm-uboot, ia64, sparc64: fix up grub_file_open calls, (continued)
- [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, 2018/11/14
- [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 <=
- Re: arm64/xen: Fix too few arguments to function ‘grub_create_loader_cmdline’, Julien Grall, 2018/11/20
- Re: arm64/xen: Fix too few arguments to function ‘grub_create_loader_cmdline’, Daniel Kiper, 2018/11/21
- Re: arm64/xen: Fix too few arguments to function ‘grub_create_loader_cmdline’, Lee Jones, 2018/11/22
- arm64/xen: Fix implicit declaration of function ‘grub_file_filter_disable_compression, Lee Jones, 2018/11/20
- Re: arm64/xen: Fix implicit declaration of function ‘grub_file_filter_disable_compression, Julien Grall, 2018/11/20
- Re: arm64/xen: Fix implicit declaration of function ‘grub_file_filter_disable_compression, Lee Jones, 2018/11/20
- Re: arm64/xen: Fix implicit declaration of function ‘grub_file_filter_disable_compression, Julien Grall, 2018/11/20
- Re: arm64/xen: Fix implicit declaration of function ‘grub_file_filter_disable_compression, Lee Jones, 2018/11/20
- [PATCH v2] arm64/xen: Fix implicit declaration of function ‘grub_file_filter_disable_compression, Lee Jones, 2018/11/20
- [PATCH v3 (part 1)] arm64/xen: Fix implicit declaration of function ‘grub_file_filter_disable_compression', Lee Jones, 2018/11/20