From: York Sun <yorksun@freescale.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH] drivers/net/e1000.c: fix compile warning under 64bit mode
Date: Mon, 26 Jan 2015 21:16:46 -0600 [thread overview]
Message-ID: <54C7031E.3020402@freescale.com> (raw)
In-Reply-To: <54C70228.4090808@freescale.com>
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
next prev parent reply other threads:[~2015-01-27 3:16 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-01-22 5:21 [U-Boot] [PATCH] drivers/net/e1000.c: fix compile warning under 64bit mode Minghuan Lian
2015-01-22 5:21 ` [U-Boot] [PATCH 1/2] drivers/pci/pci_rom.c: " Minghuan Lian
2015-02-02 18:59 ` [U-Boot] [U-Boot, " Tom Rini
2015-01-26 15:25 ` [U-Boot] [PATCH] drivers/net/e1000.c: " York Sun
2015-01-27 3:12 ` Lian Minghuan-B31939
2015-01-27 3:16 ` York Sun [this message]
2015-02-02 18:59 ` [U-Boot] " Tom Rini
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=54C7031E.3020402@freescale.com \
--to=yorksun@freescale.com \
--cc=u-boot@lists.denx.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox