Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 219777
b: refs/heads/master
c: 81604d4
h: refs/heads/master
i:
  219775: 9137fd0
v: v3
  • Loading branch information
Vasiliy Kulikov authored and Greg Kroah-Hartman committed Sep 5, 2010
1 parent c3feb70 commit aa883e0
Show file tree
Hide file tree
Showing 2 changed files with 3 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: b04462a143afde542ad9e5a1df4fcfbff6d30249
refs/heads/master: 81604d43ade6abd316444f99ddb633f2e5a3f3eb
3 changes: 2 additions & 1 deletion trunk/drivers/staging/comedi/comedi_fops.c
Original file line number Diff line number Diff line change
Expand Up @@ -537,7 +537,8 @@ static int do_chaninfo_ioctl(struct comedi_device *dev,

x = (dev->minor << 28) | (it.subdev << 24) | (i << 16) |
(s->range_table_list[i]->length);
put_user(x, it.rangelist + i);
if (put_user(x, it.rangelist + i))
return -EFAULT;
}
#if 0
if (copy_to_user(it.rangelist, s->range_type_list,
Expand Down

0 comments on commit aa883e0

Please sign in to comment.