From: Marek Vasut Date: Mon, 5 Sep 2016 18:02:50 +0200 Subject: [U-Boot] [PATCH 07/11] arm: socfpga: sysmgr: Fix casting warning when enabling ARM64 In-Reply-To: <1471878163-3598-8-git-send-email-clsee@altera.com> References: <1471878163-3598-1-git-send-email-clsee@altera.com> <1471878163-3598-8-git-send-email-clsee@altera.com> Message-ID: <24fff019-151f-002c-3a07-a7d612f38562@denx.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On 08/22/2016 05:02 PM, Chin Liang See wrote: > Fix casting warning to pointer from integer of different size > when enabling ARM64 support What sort of error did you observe ? > Signed-off-by: Chin Liang See > Cc: Marek Vasut > Cc: Dinh Nguyen > Cc: Ley Foon Tan > --- > arch/arm/mach-socfpga/system_manager.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/arch/arm/mach-socfpga/system_manager.c b/arch/arm/mach-socfpga/system_manager.c > index 75a65f3..89161bd 100644 > --- a/arch/arm/mach-socfpga/system_manager.c > +++ b/arch/arm/mach-socfpga/system_manager.c > @@ -56,7 +56,7 @@ static void populate_sysmgr_fpgaintf_module(void) > */ > void sysmgr_pinmux_init(void) > { > - uint32_t regs = (uint32_t)&sysmgr_regs->emacio[0]; > + uint32_t *regs = (uint32_t *)&sysmgr_regs->emacio[0]; > const u8 *sys_mgr_init_table; > unsigned int len; > int i; > -- Best regards, Marek Vasut