diff options
author | florian <florian@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2008-12-02 14:11:54 +0000 |
---|---|---|
committer | florian <florian@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2008-12-02 14:11:54 +0000 |
commit | 158d7961bf4a372068043e63a8cf6f01ca3c488f (patch) | |
tree | 796c7faa2a673f7983cef1a036ba04a6ad58c25f /target/linux/brcm63xx | |
parent | 2c84fd9f967b0750a609a562e24993b66ca230b8 (diff) |
Fix an off-by one printing error
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@13469 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/brcm63xx')
-rw-r--r-- | target/linux/brcm63xx/files/drivers/mtd/maps/bcm963xx-flash.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/target/linux/brcm63xx/files/drivers/mtd/maps/bcm963xx-flash.c b/target/linux/brcm63xx/files/drivers/mtd/maps/bcm963xx-flash.c index 0d5bd84ec4..6f74945e58 100644 --- a/target/linux/brcm63xx/files/drivers/mtd/maps/bcm963xx-flash.c +++ b/target/linux/brcm63xx/files/drivers/mtd/maps/bcm963xx-flash.c @@ -162,7 +162,7 @@ static int bcm963xx_probe(struct platform_device *pdev) printk(KERN_ERR PFX "Failed to ioremap\n"); return -EIO; } - printk(KERN_INFO PFX "0x%08x at 0x%08x\n", r->end - r->start, r->start); + printk(KERN_INFO PFX "0x%08x at 0x%08x\n", (r->end - r->start) + 1, r->start); simple_map_init(&bcm963xx_map); |