From mboxrd@z Thu Jan 1 00:00:00 1970 From: York Sun Date: Mon, 26 Jan 2015 21:16:46 -0600 Subject: [U-Boot] [PATCH] drivers/net/e1000.c: fix compile warning under 64bit mode In-Reply-To: <54C70228.4090808@freescale.com> References: <1421904115-4840-1-git-send-email-Minghuan.Lian@freescale.com> <54C65C5D.7080005@freescale.com> <54C70228.4090808@freescale.com> Message-ID: <54C7031E.3020402@freescale.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Minghuan, On 01/26/2015 09:12 PM, Lian Minghuan-B31939 wrote: > Hi York, > > We can not use phys_addr_t and phys_size_t here. > > If CONFIG_PHYS_64BIT is defined and uboot is compiled as 32bit like > PowerPC64 arch, > phys_addr_t and phys_size_t will be defined as 64bit, but the pointer is > still 32bit size. I take unsigned long is a good alternative. York