/[Development]
ViewVC logotype

Revision 3502


Jump to revision: Previous Next
Author: segher
Date: Tue Aug 12 11:58:00 2008 UTC (4 years, 9 months ago)
Changed paths: 1
Log Message:
flashrom: Fix error -EINVAL on mmap()

Don't calculate "flash_baseaddr" until the final value of "size"
is known, otherwise we end up trying to map a page right after
the end of memory.

Fixes #112.

Signed-off-by: Segher Boessenkool <segher@kernel.crashing.org>
Acked-by: Stefan Reinauer <stepan@coresystems.de>


Changed paths

Path Details
Directorytrunk/util/flashrom/flashrom.c modified , text changed

Stefan Reinauer">Stefan Reinauer
ViewVC Help
Powered by ViewVC 1.1.15