Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 182192
b: refs/heads/master
c: 88cb773
h: refs/heads/master
v: v3
  • Loading branch information
Philippe De Muyter authored and Geert Uytterhoeven committed Feb 27, 2010
1 parent 278ceb5 commit f694039
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 145452649d035e4e5152f6c4e6798c41960cad3e
refs/heads/master: 88cb773c5f8e45e48f3a89480610448974337cb0
2 changes: 1 addition & 1 deletion trunk/arch/m68k/mm/kmap.c
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ void __iomem *__ioremap(unsigned long physaddr, unsigned long size, int cachefla
/*
* Don't allow mappings that wrap..
*/
if (!size || size > physaddr + size)
if (!size || physaddr > (unsigned long)(-size))
return NULL;

#ifdef CONFIG_AMIGA
Expand Down

0 comments on commit f694039

Please sign in to comment.