From: Stefan Roese <sr@denx.de>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH] fdt: Change OF_BAD_ADDR to FDT_ADDR_T_NONE
Date: Wed, 9 Dec 2015 08:58:14 +0100 [thread overview]
Message-ID: <5667DF16.5020509@denx.de> (raw)
In-Reply-To: <1449481187-23967-1-git-send-email-bmeng.cn@gmail.com>
Hi Bin,
On 07.12.2015 10:39, Bin Meng wrote:
> Currently OF_BAD_ADDR is always -1ULL. When using OF_BAD_ADDR as the
> return value of dev_get_addr(), it creates potential size mismatch
> as dev_get_addr() uses FDT_ADDR_T_NONE as the return value which can
> be either -1U or -1ULL depending on CONFIG_PHYS_64BIT. Now we change
> OF_BAD_ADDR to FDT_ADDR_T_NONE to avoid such case.
>
> Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
A little late, sorry - but:
Reviewed-by: Stefan Roese <sr@denx.de>
Thanks,
Stefan
next prev parent reply other threads:[~2015-12-09 7:58 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-12-07 9:39 [U-Boot] [PATCH] fdt: Change OF_BAD_ADDR to FDT_ADDR_T_NONE Bin Meng
2015-12-08 19:34 ` Simon Glass
2015-12-09 1:57 ` Bin Meng
2015-12-09 7:58 ` Stefan Roese [this message]
2015-12-09 9:43 ` Bin Meng
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=5667DF16.5020509@denx.de \
--to=sr@denx.de \
--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