Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 276322
b: refs/heads/master
c: 06b446c
h: refs/heads/master
v: v3
  • Loading branch information
Greg Kroah-Hartman committed Nov 27, 2011
1 parent 7219ec6 commit 4548a93
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 6 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: e384a41141949843899affcf51f4e6e646c1fe9f
refs/heads/master: 06b446c8af5db5a98b2eaa30b513c79089ed254b
5 changes: 0 additions & 5 deletions trunk/drivers/staging/comedi/comedi_fops.c
Original file line number Diff line number Diff line change
Expand Up @@ -670,11 +670,6 @@ static int do_insnlist_ioctl(struct comedi_device *dev,
goto error;
}

if (sizeof(struct comedi_insn) * insnlist.n_insns < insnlist.n_insns) {
ret = -EINVAL;
goto error;
}

insns =
kmalloc(sizeof(struct comedi_insn) * insnlist.n_insns, GFP_KERNEL);
if (!insns) {
Expand Down

0 comments on commit 4548a93

Please sign in to comment.