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] [thread-next>] [day] [month] [year] [list]
Message-ID: <52834F92.6060808@monstr.eu>
Date:	Wed, 13 Nov 2013 11:08:18 +0100
From:	Michal Simek <monstr@...str.eu>
To:	Geert Uytterhoeven <geert@...ux-m68k.org>
CC:	Andrew Morton <akpm@...ux-foundation.org>,
	linux-arch@...r.kernel.org, linux-kernel@...r.kernel.org,
	microblaze-uclinux@...e.uq.edu.au
Subject: Re: [PATCH 08/17] microblaze: Remove _fdt_start casts

On 11/12/2013 08:42 PM, Geert Uytterhoeven wrote:
> _fdt_start is an array, i.e. a pointer.
> 
> Signed-off-by: Geert Uytterhoeven <geert@...ux-m68k.org>
> Cc: Michal Simek <monstr@...str.eu>
> Cc: microblaze-uclinux@...e.uq.edu.au
> ---
>  arch/microblaze/kernel/setup.c |    5 ++---
>  1 file changed, 2 insertions(+), 3 deletions(-)
> 
> diff --git a/arch/microblaze/kernel/setup.c b/arch/microblaze/kernel/setup.c
> index 8de8ebc309f1..603e22fec6d5 100644
> --- a/arch/microblaze/kernel/setup.c
> +++ b/arch/microblaze/kernel/setup.c
> @@ -136,7 +136,7 @@ void __init machine_early_init(const char *cmdline, unsigned int ram,
>  	lockdep_init();
>  
>  /* initialize device tree for usage in early_printk */
> -	early_init_devtree((void *)_fdt_start);
> +	early_init_devtree(_fdt_start);
>  
>  #ifdef CONFIG_EARLY_PRINTK
>  	setup_early_printk(NULL);
> @@ -152,8 +152,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 0x%08x\n",
> -					(unsigned int)_fdt_start);
> +		pr_info("Compiled-in FDT at %p\n", _fdt_start);
>  
>  #ifdef CONFIG_MTD_UCLINUX
>  	pr_info("Found romfs @ 0x%08x (0x%08x)\n",
> 

Applied.

Thanks,
Michal


-- 
Michal Simek, Ing. (M.Eng), OpenPGP -> KeyID: FE3D1F91
w: www.monstr.eu p: +42-0-721842854
Maintainer of Linux kernel - Microblaze cpu - http://www.monstr.eu/fdt/
Maintainer of Linux kernel - Xilinx Zynq ARM architecture
Microblaze U-BOOT custodian and responsible for u-boot arm zynq platform



Download attachment "signature.asc" of type "application/pgp-signature" (264 bytes)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ