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

2015-07-10 Thread Tom Rini
On Thu, Jul 09, 2015 at 02:37:30PM +0800, yuantian.t...@freescale.com wrote: > From: Tang Yuantian > > 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] >

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

2015-07-09 Thread Simon Glass
Hi, On 9 July 2015 at 00:37, wrote: > From: Tang Yuantian > > 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[po

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

2015-07-08 Thread Yuantian.Tang
From: Tang Yuantian 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; ^ drivers/block/ahci