Re: [linux-usb-devel] PATCH: Don't allocate transfer buffers on the stack in hub.c

2003-06-05 Thread Oliver Neukum
> --- 1.17/drivers/usb/core/hub.h Mon Oct 7 16:26:34 2002 > +++ edited/drivers/usb/core/hub.h Wed Jun 4 10:37:30 2003 > @@ -175,6 +175,10 @@ > > /* buffer for urb ... 1 bit each for hub and children, rounded up */ > charbuffer[(USB_MAXCHILDREN + 1 + 7) /

[linux-usb-devel] PATCH: Don't allocate transfer buffers on the stack in hub.c

2003-06-05 Thread Alan Stern
On Tue, 3 Jun 2003, Greg KH wrote: > On Tue, Jun 03, 2003 at 04:59:31PM -0400, Alan Stern wrote: > > I've been told it's not a good idea to put transfer buffers on the stack, > > as that's not DMA-able on some architectures. Nevertheless, it's done in > > the USB core (well, I found one place in