Changeset 3690c75 in mainline for uspace/drv/usbhid/main.c
- Timestamp:
- 2011-04-15T16:13:07Z (13 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 242f0e2, e3f1987
- Parents:
- 6b082a1b (diff), 11d2e96a (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)
links above to see all the changes relative to each parent. - File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/drv/usbhid/main.c
r6b082a1b r3690c75 75 75 static int usb_hid_try_add_device(usb_device_t *dev) 76 76 { 77 assert(dev != NULL); 78 77 79 /* 78 80 * Initialize device (get and process descriptors, get address, etc.) … … 178 180 usb_log_debug("usb_hid_add_device()\n"); 179 181 182 if (dev == NULL) { 183 usb_log_warning("Wrong parameter given for add_device().\n"); 184 return EINVAL; 185 } 186 180 187 if (dev->interface_no < 0) { 181 188 usb_log_warning("Device is not a supported HID device.\n");
Note:
See TracChangeset
for help on using the changeset viewer.