[U-Boot] [PATCH v2] ahci: Fix compiling warnings under 64bit platforms

2015-07-07 Thread Yuantian.Tang
From: Tang Yuantian yuantian.t...@freescale.com When compling under 64bit platforms, there are lots of warnings, like: drivers/block/ahci.c:114:18: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] u8 *port_mmio = (u8 *)probe_ent-port[port].port_mmio;

Re: [U-Boot] [PATCH v2] ahci: Fix compiling warnings under 64bit platforms

2015-07-07 Thread Albert ARIBAUD
Hello yuantian.t...@freescale.com, On Tue, 7 Jul 2015 15:48:26 +0800, yuantian.t...@freescale.com yuantian.t...@freescale.com wrote: From: Tang Yuantian yuantian.t...@freescale.com When compling under 64bit platforms, there are lots of warnings, like: drivers/block/ahci.c:114:18: warning:

Re: [U-Boot] [PATCH v2] ahci: Fix compiling warnings under 64bit platforms

2015-07-07 Thread Yuantian Tang
-Original Message- From: Albert ARIBAUD [mailto:albert.u.b...@aribaud.net] Sent: Tuesday, July 07, 2015 7:20 PM To: Tang Yuantian-B29983 Cc: tr...@konsulko.com; Xie Shaohui-B21989; u-boot@lists.denx.de Subject: Re: [U-Boot] [PATCH v2] ahci: Fix compiling warnings under 64bit