Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 221939
b: refs/heads/master
c: eca67aa
h: refs/heads/master
i:
  221937: 959c31c
  221935: e4c057a
v: v3
  • Loading branch information
Vasiliy Kulikov authored and Greg Kroah-Hartman committed Nov 11, 2010
1 parent 20e5f8d commit a95bb51
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 5dc92cf1d0b4b0debbd2e333b83f9746c103533d
refs/heads/master: eca67aaeebd6e5d22b0d991af1dd0424dc703bfb
1 change: 1 addition & 0 deletions trunk/drivers/usb/misc/iowarrior.c
Original file line number Diff line number Diff line change
Expand Up @@ -553,6 +553,7 @@ static long iowarrior_ioctl(struct file *file, unsigned int cmd,
/* needed for power consumption */
struct usb_config_descriptor *cfg_descriptor = &dev->udev->actconfig->desc;

memset(&info, 0, sizeof(info));
/* directly from the descriptor */
info.vendor = le16_to_cpu(dev->udev->descriptor.idVendor);
info.product = dev->product_id;
Expand Down

0 comments on commit a95bb51

Please sign in to comment.