[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Minios-devel] [UNIKRAFT PATCH 03/22] plat/kvm: Use the same declaration for _text and _end for Arm64
We get a warning that _end and _text are differently defined within setup.c and memory.c: warning: type of ‘_end’ does not match original declaration extern char _end[]; ^ note: previously declared here _ctors, _ectors, __bss_start, _end; We should use the same definition in both files and then this warning goes away. Signed-off-by: Wei Chen <wei.chen@xxxxxxx> --- plat/kvm/arm/setup.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/plat/kvm/arm/setup.c b/plat/kvm/arm/setup.c index 09530bb..63fe601 100644 --- a/plat/kvm/arm/setup.c +++ b/plat/kvm/arm/setup.c @@ -95,8 +95,8 @@ enomethod: static void _init_dtb_mem(void) { - extern char _text[]; - extern char _end[]; + extern char _text; + extern char _end; int fdt_mem, prop_len = 0, prop_min_len; int naddr, nsize; const uint64_t *regs; -- 2.17.1 _______________________________________________ Minios-devel mailing list Minios-devel@xxxxxxxxxxxxxxxxxxxx https://lists.xenproject.org/mailman/listinfo/minios-devel
|
![]() |
Lists.xenproject.org is hosted with RackSpace, monitoring our |