diff options
| author | Pavel Skripkin <paskripkin@gmail.com> | 2021-09-07 23:03:31 +0300 |
|---|---|---|
| committer | Aleksandr Nogikh <wp32pw@gmail.com> | 2021-09-10 11:06:39 +0200 |
| commit | 7ec889b4ca1bcdd3f3e4e8a45a6521dc0bc233c3 (patch) | |
| tree | 065f2ec82581269abd48d21bac55c4906bae1b95 /CONTRIBUTORS | |
| parent | e2776ee417c18d6e0056b058f3b6055f65206ee9 (diff) | |
tools/syz-usbgen: fix usb_ids.patch
Previous patch causes build error on top of v5.14:
error: ‘usb_bus_type’ undeclared (first use in this function); did you mean ‘hid_bus_type’?
2299 | bus_for_each_drv(&usb_bus_type, NULL, NULL, usb_device_id_dump_driver);
| ^~~~~~~~~~~~
| hid_bus_type
Fix it by including drivers/usb/core/usb.h where usb_bus_type declaration
is. Also, removed duplicate is_usb_device_driver definition, since it's
already in drivers/usb/core/usb.h.
Tested localy on qemu
Signed-off-by: Pavel Skripkin <paskripkin@gmail.com>
Diffstat (limited to 'CONTRIBUTORS')
| -rw-r--r-- | CONTRIBUTORS | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/CONTRIBUTORS b/CONTRIBUTORS index 5026bf693..08bc3898a 100644 --- a/CONTRIBUTORS +++ b/CONTRIBUTORS @@ -96,3 +96,4 @@ ANSSI Vincent Dagonneau Desmond Cheong Zhi Xi Chuck Silvers +Pavel Skripkin |
