Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 264762
b: refs/heads/master
c: 9561f7f
h: refs/heads/master
v: v3
  • Loading branch information
Dan Carpenter authored and Jiri Kosina committed Sep 26, 2011
1 parent a095d57 commit 58be3e6
Show file tree
Hide file tree
Showing 2 changed files with 3 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: 65b01bd561dc995aab116aa784f97a37f7c49a65
refs/heads/master: 9561f7faa45cb855b1ba83a4acf3f2ad3665e71f
2 changes: 2 additions & 0 deletions trunk/drivers/hid/usbhid/hiddev.c
Original file line number Diff line number Diff line change
Expand Up @@ -641,6 +641,8 @@ static long hiddev_ioctl(struct file *file, unsigned int cmd, unsigned long arg)
struct usb_device *dev = hid_to_usb_dev(hid);
struct usbhid_device *usbhid = hid->driver_data;

memset(&dinfo, 0, sizeof(dinfo));

dinfo.bustype = BUS_USB;
dinfo.busnum = dev->bus->busnum;
dinfo.devnum = dev->devnum;
Expand Down

0 comments on commit 58be3e6

Please sign in to comment.