Re: [PATCH 03/10] usb: catch attempts to submit urbs with a vmalloc'd transfer buffer

From: Greg KH
Date: Mon May 19 2014 - 20:58:37 EST


On Mon, May 12, 2014 at 06:01:02PM +0300, Mathias Nyman wrote:
> On 05/08/2014 07:21 PM, Dan Williams wrote:
> > On Thu, May 8, 2014 at 9:25 AM, Mathias Nyman
> > <mathias.nyman@xxxxxxxxxxxxxxx> wrote:
> >> From: Dan Williams <dan.j.williams@xxxxxxxxx>
> >>
> >> 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@xxxxxxxxxxxxxxxxxxx>
> >> Cc: Sarah Sharp <sarah.a.sharp@xxxxxxxxxxxxxxx>
> >> Cc: Mathias Nyman <mathias.nyman@xxxxxxxxxxxxxxx>
> >> Signed-off-by: Dan Williams <dan.j.williams@xxxxxxxxx>
> >> Signed-off-by: Mathias Nyman <mathias.nyman@xxxxxxxxxxxxxxx>
> >
> > Thanks Mathias.
> >
> > One note, this was acked-by Alan here:
> >
> > http://marc.info/?l=linux-usb&m=139327920501989&w=2
> >
>
> Ah, Right
>
> Greg, Alan, Should I resubmit this series with the added ACK for this patch?

No need, I can add it.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/