diff options
Diffstat (limited to 'arch/parisc')
-rw-r--r-- | arch/parisc/lib/memcpy.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/parisc/lib/memcpy.c b/arch/parisc/lib/memcpy.c index 6c5b5d35bfc0..413dc1769299 100644 --- a/arch/parisc/lib/memcpy.c +++ b/arch/parisc/lib/memcpy.c | |||
@@ -529,7 +529,7 @@ long probe_kernel_read(void *dst, const void *src, size_t size) | |||
529 | { | 529 | { |
530 | unsigned long addr = (unsigned long)src; | 530 | unsigned long addr = (unsigned long)src; |
531 | 531 | ||
532 | if (size < 0 || addr < PAGE_SIZE) | 532 | if (addr < PAGE_SIZE) |
533 | return -EFAULT; | 533 | return -EFAULT; |
534 | 534 | ||
535 | /* check for I/O space F_EXTEND(0xfff00000) access as well? */ | 535 | /* check for I/O space F_EXTEND(0xfff00000) access as well? */ |