Return-path: Received: from netrider.rowland.org ([192.131.102.5]:34129 "HELO netrider.rowland.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with SMTP id S1757591AbZJaBll (ORCPT ); Fri, 30 Oct 2009 21:41:41 -0400 Date: Fri, 30 Oct 2009 21:41:45 -0400 (EDT) From: Alan Stern To: David Woodhouse cc: Christian Lamparter , Larry Finger , , , , , Subject: Re: [PATCH] libertas if_usb: Fix crash on 64-bit machines In-Reply-To: <1256928681.4030.112.camel@macbook.infradead.org> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: linux-wireless-owner@vger.kernel.org List-ID: On Fri, 30 Oct 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. map_urb_for_dma() does little more than call dma_map_single(). That's what you'll have to fix. Alan Stern