Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[ARM] 4839/1: fixes kernel Oops in /dev/mem device driver for memory …
…map with PHYS_OFF "cat /dev/mem" may cause kernel Oops for boards with PHYS_OFFSET != 0 because character device is mapped to addresses starting from zero and there is no protection against such situation. Patch just add this. Signed-off-by: Alexandre Rusev <arusev@ru.mvista.com> Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
- Loading branch information