1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2024-12-25 03:13:20 +02:00

Fix an off-by one printing error

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@13469 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
florian 2008-12-02 14:11:54 +00:00
parent 2c84fd9f96
commit 158d7961bf

View File

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