-
- Downloads
USB: Change the scatterlist type in struct urb
Change the type of the URB's 'sg' pointer from a usb_sg_request to a scatterlist. This allows drivers to submit scatter-gather lists without using the usb_sg_wait() interface. It has the added benefit of removing the typecasts that were added as part of patch as1368 (and slightly decreasing the number of pointer dereferences). Signed-off-by:Matthew Wilcox <willy@linux.intel.com> Reviewed-by:
Alan Stern <stern@rowland.harvard.edu> Tested-by:
Alan Stern <stern@rowland.harvard.edu> Signed-off-by:
Greg Kroah-Hartman <gregkh@suse.de>
Showing
- drivers/usb/core/hcd.c 3 additions, 5 deletionsdrivers/usb/core/hcd.c
- drivers/usb/core/message.c 2 additions, 2 deletionsdrivers/usb/core/message.c
- drivers/usb/host/ehci-q.c 1 addition, 1 deletiondrivers/usb/host/ehci-q.c
- drivers/usb/host/whci/qset.c 2 additions, 2 deletionsdrivers/usb/host/whci/qset.c
- drivers/usb/host/xhci-ring.c 2 additions, 2 deletionsdrivers/usb/host/xhci-ring.c
- drivers/usb/mon/mon_bin.c 1 addition, 1 deletiondrivers/usb/mon/mon_bin.c
- drivers/usb/mon/mon_text.c 1 addition, 1 deletiondrivers/usb/mon/mon_text.c
- include/linux/usb.h 1 addition, 1 deletioninclude/linux/usb.h
Loading
Please register or sign in to comment