projects
/
deliverable
/
linux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
s390/appldata: restore missing init_virt_timer()
[deliverable/linux.git]
/
drivers
/
usb
/
core
/
driver.c
diff --git
a/drivers/usb/core/driver.c
b/drivers/usb/core/driver.c
index 620a0baf103e1c2017865fa586e984010430e860..5d01558cef666233b47f29d569595a1f42dda8b2 100644
(file)
--- a/
drivers/usb/core/driver.c
+++ b/
drivers/usb/core/driver.c
@@
-73,6
+73,9
@@
ssize_t usb_store_new_id(struct usb_dynids *dynids,
if (fields > 4) {
const struct usb_device_id *id = id_table;
+ if (!id)
+ return -ENODEV;
+
for (; id->match_flags; id++)
if (id->idVendor == refVendor && id->idProduct == refProduct)
break;
This page took
0.026111 seconds
and
5
git commands to generate.