diff options
author | David Woodhouse <dwmw2@shinybook.infradead.org> | 2005-05-19 06:54:00 -0400 |
---|---|---|
committer | David Woodhouse <dwmw2@shinybook.infradead.org> | 2005-05-19 06:54:00 -0400 |
commit | 7063e6c717f6108c4b3fc3135a516c86ef944870 (patch) | |
tree | ec6eec10b4dc93474100e6e366df028bd3314fda /drivers/ieee1394/ohci1394.h | |
parent | 7ca0026495dbb644b4e32ede76be44072cb2bc7a (diff) | |
parent | 05d3794aa8bd3b2c9f7920a05003c331cdeb75c5 (diff) |
Merge with master.kernel.org:/pub/scm/linux/kernel/git/torvalds/linux-2.6.git
Diffstat (limited to 'drivers/ieee1394/ohci1394.h')
-rw-r--r-- | drivers/ieee1394/ohci1394.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/ieee1394/ohci1394.h b/drivers/ieee1394/ohci1394.h index d1758d409610..cc66c1cae250 100644 --- a/drivers/ieee1394/ohci1394.h +++ b/drivers/ieee1394/ohci1394.h | |||
@@ -236,6 +236,9 @@ struct ti_ohci { | |||
236 | 236 | ||
237 | static inline int cross_bound(unsigned long addr, unsigned int size) | 237 | static inline int cross_bound(unsigned long addr, unsigned int size) |
238 | { | 238 | { |
239 | if (size == 0) | ||
240 | return 0; | ||
241 | |||
239 | if (size > PAGE_SIZE) | 242 | if (size > PAGE_SIZE) |
240 | return 1; | 243 | return 1; |
241 | 244 | ||