[PATCH] USB: remove 8 bytes of padding from usb_host_interface on 64 bit builds

2012-07-10 Thread Richard Kennedy
d for more padding. Signed-off-by: Richard Kennedy --- patch against v3.5-rc6 compiled and tested on x86_64 I've been running this patch for several weeks with no obvious problems. This will allow the usb_host_interface array to be a bit smaller and should better align with the cachelines

Re: ubs_skeleton how does unanchor_urb get called in write path?

2008-02-18 Thread Richard Kennedy
On Sun, 2008-02-17 at 12:33 -0500, Alan Stern wrote: > On Sun, 17 Feb 2008, Richard Kennedy wrote: > > > Sorry if this a dumb question but I've been trying to figure out how to > > use usb_anchor_urb by looking at usb_skeleton.c. > > > > skel_write

ubs_skeleton how does unanchor_urb get called in write path?

2008-02-17 Thread Richard Kennedy
Sorry if this a dumb question but I've been trying to figure out how to use usb_anchor_urb by looking at usb_skeleton.c. skel_write calls usb_anchor_urb, but how does usb_unanchor_urb get called when the urb is processed successfully? I see it gets called on the error path but nowhere else. Shoul