Skip to content

Commit

Permalink
[ARM] 3663/1: fix resource->end off-by-one thinko during physmap conv…
Browse files Browse the repository at this point in the history
…ersion

Patch from Lennert Buytenhek

Signed-off-by: Lennert Buytenhek <buytenh@wantstofly.org>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
  • Loading branch information
Lennert Buytenhek authored and Russell King committed Jun 28, 2006
1 parent 02c4293 commit 562ca1e
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion arch/arm/mach-ep93xx/gesbc9312.c
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ static struct physmap_flash_data gesbc9312_flash_data = {

static struct resource gesbc9312_flash_resource = {
.start = 0x60000000,
.end = 0x60800000,
.end = 0x607fffff,
.flags = IORESOURCE_MEM,
};

Expand Down
2 changes: 1 addition & 1 deletion arch/arm/mach-ep93xx/ts72xx.c
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ static struct physmap_flash_data ts72xx_flash_data = {

static struct resource ts72xx_flash_resource = {
.start = TS72XX_NOR_PHYS_BASE,
.end = TS72XX_NOR_PHYS_BASE + 0x01000000,
.end = TS72XX_NOR_PHYS_BASE + 0x00ffffff,
.flags = IORESOURCE_MEM,
};

Expand Down
2 changes: 1 addition & 1 deletion arch/arm/mach-ixp23xx/espresso.c
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ static struct physmap_flash_data espresso_flash_data = {

static struct resource espresso_flash_resource = {
.start = 0x90000000,
.end = 0x92000000,
.end = 0x91ffffff,
.flags = IORESOURCE_MEM,
};

Expand Down
2 changes: 1 addition & 1 deletion arch/arm/mach-ixp23xx/ixdp2351.c
Original file line number Diff line number Diff line change
Expand Up @@ -304,7 +304,7 @@ static struct physmap_flash_data ixdp2351_flash_data = {

static struct resource ixdp2351_flash_resource = {
.start = 0x90000000,
.end = 0x94000000,
.end = 0x93ffffff,
.flags = IORESOURCE_MEM,
};

Expand Down
2 changes: 1 addition & 1 deletion arch/arm/mach-ixp23xx/roadrunner.c
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@ static struct physmap_flash_data roadrunner_flash_data = {

static struct resource roadrunner_flash_resource = {
.start = 0x90000000,
.end = 0x94000000,
.end = 0x93ffffff,
.flags = IORESOURCE_MEM,
};

Expand Down

0 comments on commit 562ca1e

Please sign in to comment.