Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 117165
b: refs/heads/master
c: 8aafdf6
h: refs/heads/master
i:
  117163: 1d43354
v: v3
  • Loading branch information
roel kluin authored and Greg Kroah-Hartman committed Oct 22, 2008
1 parent 1f44365 commit 0842bb9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 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: 1460e5e44cc5ecad7704f63b10dcb3a59d0e008b
refs/heads/master: 8aafdf6a1528b0672a0527be473d9be5a12289d3
3 changes: 1 addition & 2 deletions trunk/drivers/usb/misc/usbtest.c
Original file line number Diff line number Diff line change
Expand Up @@ -1561,8 +1561,7 @@ usbtest_ioctl (struct usb_interface *intf, unsigned int code, void *buf)
if (code != USBTEST_REQUEST)
return -EOPNOTSUPP;

if (param->iterations <= 0 || param->length < 0
|| param->sglen < 0 || param->vary < 0)
if (param->iterations <= 0)
return -EINVAL;

if (mutex_lock_interruptible(&dev->lock))
Expand Down

0 comments on commit 0842bb9

Please sign in to comment.