1
0
mirror of https://git.openwrt.org/openwrt/openwrt.git synced 2024-10-01 08:31:19 +02:00

Fix an off-by one printing error

SVN-Revision: 13469
This commit is contained in:
Florian Fainelli 2008-12-02 14:11:54 +00:00
parent a3b5071341
commit 01a5c953a3

@ -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);