git://git.onelab.eu
/
linux-2.6.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
vserver 2.0 rc7
[linux-2.6.git]
/
drivers
/
ieee1394
/
ohci1394.h
diff --git
a/drivers/ieee1394/ohci1394.h
b/drivers/ieee1394/ohci1394.h
index
d1758d4
..
cc66c1c
100644
(file)
--- a/
drivers/ieee1394/ohci1394.h
+++ b/
drivers/ieee1394/ohci1394.h
@@
-236,6
+236,9
@@
struct ti_ohci {
static inline int cross_bound(unsigned long addr, unsigned int size)
{
+ if (size == 0)
+ return 0;
+
if (size > PAGE_SIZE)
return 1;