lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <CAHTX3d+0BD6kysK89Rge64PSYEFYX=PyNps8aiinT3n+P+xnzQ@mail.gmail.com>
Date:   Tue, 4 Feb 2020 11:32:52 +0100
From:   Michal Simek <monstr@...str.eu>
To:     LKML <linux-kernel@...r.kernel.org>,
        Michal Simek <monstr@...str.eu>, git <git@...inx.com>
Cc:     Greg Kroah-Hartman <gregkh@...uxfoundation.org>
Subject: Re: [PATCH] microblaze: Fix message about compiled-in FDT location

st 8. 1. 2020 v 15:13 odesílatel Michal Simek <michal.simek@...inx.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@...inx.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

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ