History

Merge tag 'usb-5.1-rc8' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb

Pull USB fixes from Greg KH: "Here are some small USB fixes for a bunch of warnings/errors that the syzbot has been finding with it's new-found ability to stress-test the USB layer. All of these are tiny, but fix real issues, and are marked for stable as well. All of these have had lots of testing in linux-next as well" * tag 'usb-5.1-rc8' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb: USB: w1 ds2490: Fix bug caused by improper use of altsetting array USB: yurex: Fix protection fault after device removal usb: usbip: fix isoc packet num validation in get_pipe USB: core: Fix bug caused by duplicate interface PM usage counter USB: dummy-hcd: Fix failure to give back unlinked URBs USB: core: Fix unterminated string returned by usb_string()

Linus Torvalds committed 7 years ago

Commit bf3bd962 parents fea27bc c11494410 files · +46 −45Browse files

Showing the changes to include/linux (1 of 10 files). Show all

Unified · Split

include/linux/usb.h+0−2
@@ -200,7 +200,6 @@ usb_find_last_int_out_endpoint(struct usb_host_interface *alt, · 199 unmodified lines
200 * @dev: driver model's view of this device200 * @dev: driver model's view of this device
201 * @usb_dev: if an interface is bound to the USB major, this will point201 * @usb_dev: if an interface is bound to the USB major, this will point
202 * to the sysfs representation for that device.202 * to the sysfs representation for that device.
203 * @pm_usage_cnt: PM usage counter for this interface
204 * @reset_ws: Used for scheduling resets from atomic context.203 * @reset_ws: Used for scheduling resets from atomic context.
205 * @resetting_device: USB core reset the device, so use alt setting 0 as204 * @resetting_device: USB core reset the device, so use alt setting 0 as
206 * current; needs bandwidth alloc after reset.205 * current; needs bandwidth alloc after reset.
@@ -257,7 +256,6 @@ struct usb_interface { · 50 unmodified lines
257 256
258 struct device dev; /* interface specific device info */257 struct device dev; /* interface specific device info */
259 struct device *usb_dev;258 struct device *usb_dev;
260 atomic_t pm_usage_cnt; /* usage counter for autosuspend */
261 struct work_struct reset_ws; /* for resets in atomic context */259 struct work_struct reset_ws; /* for resets in atomic context */
262};260};
263#define to_usb_interface(d) container_of(d, struct usb_interface, dev)261#define to_usb_interface(d) container_of(d, struct usb_interface, dev)

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t