git://ftp.safe.ca
/
safe
/
jmp
/
linux-2.6
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge branch 'for_linus' of git://git.kernel.org/pub/scm/linux/kernel/git/mchehab...
[safe/jmp/linux-2.6]
/
drivers
/
staging
/
poch
/
poch.c
diff --git
a/drivers/staging/poch/poch.c
b/drivers/staging/poch/poch.c
index
ec343ef
..
0d111dd
100644
(file)
--- a/
drivers/staging/poch/poch.c
+++ b/
drivers/staging/poch/poch.c
@@
-1026,7
+1026,7
@@
static int poch_ioctl(struct inode *inode, struct file *filp,
}
break;
case POCH_IOC_GET_COUNTERS:
- if (access_ok(VERIFY_WRITE, argp, sizeof(struct poch_counters)))
+ if (
!
access_ok(VERIFY_WRITE, argp, sizeof(struct poch_counters)))
return -EFAULT;
spin_lock_irq(&channel->counters_lock);