[PATCH] libertas if_usb: Fix crash on 64-bit machines

Larry Finger Larry.Finger at lwfinger.net
Fri Oct 30 15:08:17 EDT 2009


David Woodhouse wrote:
> On Fri, 2009-10-30 at 19:44 +0100, Christian Lamparter wrote:
>> that's just a fill-in macro.
>> AFAICT usb_submit_urb does the tricky dma mapping.
> 
> Ah, that makes sense. In that case, all we need to do is make
> map_urb_for_dma() do the right thing.

After I sent my message, I realized that usb_submit_urb() and friends
do no checking and that the test had to be further down the line.

Larry



More information about the libertas-dev mailing list