Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 130460
b: refs/heads/master
c: dcbbcef
h: refs/heads/master
v: v3
  • Loading branch information
Roel Kluin authored and Greg Kroah-Hartman committed Jan 28, 2009
1 parent 6906105 commit b248ffd
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: 05d6d677ab4b975697c6a987f1dffdc55d61a160
refs/heads/master: dcbbcefb6a6d540b605421e85fbaa4cea3fef5a2
2 changes: 1 addition & 1 deletion trunk/drivers/staging/poch/poch.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit b248ffd

Please sign in to comment.