[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAPcyv4hzw4wQ2ju3uaaHNfO+pemgWhgVdkE1Faiu3nRk3q276A@mail.gmail.com>
Date: Thu, 8 May 2014 09:21:51 -0700
From: Dan Williams <dan.j.williams@...el.com>
To: Mathias Nyman <mathias.nyman@...ux.intel.com>
Cc: Greg KH <gregkh@...uxfoundation.org>,
USB list <linux-usb@...r.kernel.org>,
"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>,
Sarah Sharp <sarah.a.sharp@...ux.intel.com>,
Alan Stern <stern@...land.harvard.edu>
Subject: Re: [PATCH 03/10] usb: catch attempts to submit urbs with a vmalloc'd
transfer buffer
On Thu, May 8, 2014 at 9:25 AM, Mathias Nyman
<mathias.nyman@...ux.intel.com> wrote:
> From: Dan Williams <dan.j.williams@...el.com>
>
> Save someone else the debug cycles of figuring out why a driver's
> transfer request is failing or causing undefined system behavior.
> Buffers submitted for dma must come from GFP allocated / DMA-able
> memory.
>
> Return -EAGAIN matching the return value for dma_mapping_error() cases.
>
> Cc: Alan Stern <stern@...land.harvard.edu>
> Cc: Sarah Sharp <sarah.a.sharp@...ux.intel.com>
> Cc: Mathias Nyman <mathias.nyman@...ux.intel.com>
> Signed-off-by: Dan Williams <dan.j.williams@...el.com>
> Signed-off-by: Mathias Nyman <mathias.nyman@...ux.intel.com>
Thanks Mathias.
One note, this was acked-by Alan here:
http://marc.info/?l=linux-usb&m=139327920501989&w=2
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists