From: Tom Rini Date: Fri, 10 Jul 2015 08:56:05 -0400 Subject: [U-Boot] [PATCH v3] ahci: Fix compiling warnings under 64bit platforms In-Reply-To: <1436423850-10022-1-git-send-email-Yuantian.Tang@freescale.com> References: <1436423850-10022-1-git-send-email-Yuantian.Tang@freescale.com> Message-ID: <20150710125605.GM23886@bill-the-cat> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On Thu, Jul 09, 2015 at 02:37:30PM +0800, Yuantian.Tang at 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] > u8 *port_mmio = (u8 *)probe_ent->port[port].port_mmio; > ^ > drivers/block/ahci.c: In function ?.hci_host_init?. > drivers/block/ahci.c:218:49: warning: cast from pointer to integer > of different size [-Wpointer-to-int-cast] > probe_ent->port[i].port_mmio = ahci_port_base((u32) mmio, i); > > ...... > > Reviewed-by: Simon Glass > Signed-off-by: Shaohui Xie > Signed-off-by: Tang Yuantian Applied to u-boot/master, thanks! -- Tom -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 836 bytes Desc: Digital signature URL: