Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 195314
b: refs/heads/master
c: 41f2c6e
h: refs/heads/master
v: v3
  • Loading branch information
Alessio Igor Bogani authored and Greg Kroah-Hartman committed May 20, 2010
1 parent 67f58e6 commit f14a217
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 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: d20db4b4e938aa8e4e5735b5a1b202de5800400e
refs/heads/master: 41f2c6e89cf4d412e4b20803f5feb2b9b1560476
4 changes: 1 addition & 3 deletions trunk/drivers/usb/misc/sisusbvga/sisusb.c
Original file line number Diff line number Diff line change
Expand Up @@ -2974,13 +2974,12 @@ sisusb_ioctl(struct file *file, unsigned int cmd, unsigned long arg)
struct sisusb_usb_data *sisusb;
struct sisusb_info x;
struct sisusb_command y;
int retval = 0;
long retval = 0;
u32 __user *argp = (u32 __user *)arg;

if (!(sisusb = (struct sisusb_usb_data *)file->private_data))
return -ENODEV;

lock_kernel();
mutex_lock(&sisusb->lock);

/* Sanity check */
Expand Down Expand Up @@ -3039,7 +3038,6 @@ sisusb_ioctl(struct file *file, unsigned int cmd, unsigned long arg)

err_out:
mutex_unlock(&sisusb->lock);
unlock_kernel();
return retval;
}

Expand Down

0 comments on commit f14a217

Please sign in to comment.