https://github.com/torvalds/linux
Revision 6806bfe18fca92e2001538b84cab5f63c5ea4bed authored by Greg Ungerer on 01 October 2009, 23:45:28 UTC, committed by Russell King on 02 October 2009, 21:32:34 UTC
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().

Signed-off-by: Greg Ungerer <gerg@uclinux.org>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
1 parent 31abdb7
History
Tip revision: 6806bfe18fca92e2001538b84cab5f63c5ea4bed authored by Greg Ungerer on 01 October 2009, 23:45:28 UTC
ARM: 5740/1: fix valid_phys_addr_range() range check
Tip revision: 6806bfe
File Mode Size
Documentation
arch
block
crypto
drivers
firmware
fs
include
init
ipc
kernel
lib
mm
net
samples
scripts
security
sound
tools
usr
virt
.gitignore -rw-r--r-- 952 bytes
.mailmap -rw-r--r-- 3.9 KB
COPYING -rw-r--r-- 18.3 KB
CREDITS -rw-r--r-- 91.8 KB
Kbuild -rw-r--r-- 2.4 KB
MAINTAINERS -rw-r--r-- 153.5 KB
Makefile -rw-r--r-- 55.4 KB
README -rw-r--r-- 17.0 KB
REPORTING-BUGS -rw-r--r-- 3.3 KB

README

back to top