bitkeeper revision 1.160.2.1 (3e9404cdSqybQBuNBFNyXk6bQWczUw)

ioremap fix
This commit is contained in:
jws@cairnwell.research committed 2003-04-09 11:32:29 +00:00
1 parent a4270c3358
commit b88856eac4
1 file changed
+1 -1
+1 -1
View File
@@ -50,7 +50,7 @@ void * __ioremap(unsigned long phys_addr, unsigned long size, unsigned long flag
if (phys_addr >= 0xA0000 && last_addr < 0x100000)
return phys_to_virt(phys_addr);
if(remap_base + size > IOREMAP_VIRT_END) {
if(remap_base + size > IOREMAP_VIRT_END-1) {
printk("ioremap: going past end of reserved space!\n");
return NULL;
}
Reference in new issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.