* [PATCH] microblaze: Fix message about compiled-in FDT location
@ 2020-01-08 14:13 Michal Simek
2020-02-04 10:32 ` Michal Simek
0 siblings, 1 reply; 2+ messages in thread
From: Michal Simek @ 2020-01-08 14:13 UTC (permalink / raw)
To: linux-kernel, monstr, michal.simek, git; +Cc: Greg Kroah-Hartman
%p is not working that early (don't know why)
Before this patch:
Compiled-in FDT at (ptrval)
After:
Compiled-in FDT at 0xc043c24c
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
---
arch/microblaze/kernel/setup.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/arch/microblaze/kernel/setup.c b/arch/microblaze/kernel/setup.c
index 522a0c5d9c59..effed14eee06 100644
--- a/arch/microblaze/kernel/setup.c
+++ b/arch/microblaze/kernel/setup.c
@@ -138,7 +138,7 @@ void __init machine_early_init(const char *cmdline, unsigned int ram,
if (fdt)
pr_info("FDT at 0x%08x\n", fdt);
else
- pr_info("Compiled-in FDT at %p\n", _fdt_start);
+ pr_info("Compiled-in FDT at 0x%08x\n", (unsigned)&_fdt_start);
#ifdef CONFIG_MTD_UCLINUX
pr_info("Found romfs @ 0x%08x (0x%08x)\n",
--
2.24.0
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] microblaze: Fix message about compiled-in FDT location
2020-01-08 14:13 [PATCH] microblaze: Fix message about compiled-in FDT location Michal Simek
@ 2020-02-04 10:32 ` Michal Simek
0 siblings, 0 replies; 2+ messages in thread
From: Michal Simek @ 2020-02-04 10:32 UTC (permalink / raw)
To: LKML, Michal Simek, git; +Cc: Greg Kroah-Hartman
st 8. 1. 2020 v 15:13 odesílatel Michal Simek <michal.simek@xilinx.com> napsal:
>
> %p is not working that early (don't know why)
>
> Before this patch:
> Compiled-in FDT at (ptrval)
>
> After:
> Compiled-in FDT at 0xc043c24c
>
> Signed-off-by: Michal Simek <michal.simek@xilinx.com>
> ---
>
> arch/microblaze/kernel/setup.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/arch/microblaze/kernel/setup.c b/arch/microblaze/kernel/setup.c
> index 522a0c5d9c59..effed14eee06 100644
> --- a/arch/microblaze/kernel/setup.c
> +++ b/arch/microblaze/kernel/setup.c
> @@ -138,7 +138,7 @@ void __init machine_early_init(const char *cmdline, unsigned int ram,
> if (fdt)
> pr_info("FDT at 0x%08x\n", fdt);
> else
> - pr_info("Compiled-in FDT at %p\n", _fdt_start);
> + pr_info("Compiled-in FDT at 0x%08x\n", (unsigned)&_fdt_start);
>
> #ifdef CONFIG_MTD_UCLINUX
> pr_info("Found romfs @ 0x%08x (0x%08x)\n",
> --
> 2.24.0
>
Applied.
M
--
Michal Simek, Ing. (M.Eng), OpenPGP -> KeyID: FE3D1F91
w: www.monstr.eu p: +42-0-721842854
Maintainer of Linux kernel - Xilinx Microblaze
Maintainer of Linux kernel - Xilinx Zynq ARM and ZynqMP ARM64 SoCs
U-Boot custodian - Xilinx Microblaze/Zynq/ZynqMP/Versal SoCs
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2020-02-04 10:33 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-01-08 14:13 [PATCH] microblaze: Fix message about compiled-in FDT location Michal Simek
2020-02-04 10:32 ` Michal Simek
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).