From: gerg@snapgear.com (Greg Ungerer)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH] arm: fix valid_phys_addr_range() range check
Date: Fri, 02 Oct 2009 10:28:45 +1000 [thread overview]
Message-ID: <4AC5493D.6000006@snapgear.com> (raw)
In-Reply-To: <20091001150424.GB28044@n2100.arm.linux.org.uk>
Hi Russell,
Russell King - ARM Linux wrote:
> On Thu, Sep 24, 2009 at 04:24:04PM +1000, Greg Ungerer wrote:
>> arm: fix valid_phys_addr_range() range check
>>
>> Commit 1522ac3ec95ff0230e7aa516f86b674fdf72866c
>> ("Fix virtual to physical translation macro corner cases")
>> breaks the end of memory check in valid_phys_addr_range().
>> The modified expression results in the apparent /dev/mem size
>> being 2 bytes smaller than what it actually is.
>>
>> This patch reworks the expression to correctly check the address,
>> while maintaining use of a valid address to __pa().
>
> Looks good, can you please send it to the patch system?
Done, patch 5740/1.
Thanks
Greg
------------------------------------------------------------------------
Greg Ungerer -- Principal Engineer EMAIL: gerg at snapgear.com
SnapGear Group, McAfee PHONE: +61 7 3435 2888
825 Stanley St, FAX: +61 7 3891 3630
Woolloongabba, QLD, 4102, Australia WEB: http://www.SnapGear.com
prev parent reply other threads:[~2009-10-02 0:28 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-09-24 6:24 [PATCH] arm: fix valid_phys_addr_range() range check Greg Ungerer
2009-10-01 15:04 ` Russell King - ARM Linux
2009-10-02 0:28 ` Greg Ungerer [this message]
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=4AC5493D.6000006@snapgear.com \
--to=gerg@snapgear.com \
--cc=linux-arm-kernel@lists.infradead.org \
/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;
as well as URLs for NNTP newsgroup(s).