diff options
author | Heiko Carstens <[email protected]> | 2008-06-10 10:03:20 +0200 |
---|---|---|
committer | Martin Schwidefsky <[email protected]> | 2008-06-10 10:03:27 +0200 |
commit | ee0ddadd086e25503f81be551c43f66472300acd (patch) | |
tree | 0f1606c133835abd3952af30efcee03230182139 /drivers/mtd/lpddr/lpddr_cmds.c | |
parent | 12829126aa47758608578cc5be3a5adffc3d4b09 (diff) |
[S390] vmemmap: fix off-by-one bug.
If a memory range is supposed to be added to the 1:1 mapping and it
ends just below the maximum supported physical address it won't
succeed. This is because a test doesn't consider that the end address
is 1 smaller than start + size.
Fix the comparison.
Signed-off-by: Heiko Carstens <[email protected]>
Signed-off-by: Martin Schwidefsky <[email protected]>
Diffstat (limited to 'drivers/mtd/lpddr/lpddr_cmds.c')
0 files changed, 0 insertions, 0 deletions