Re: [PATCH] USB: serial: iuu_phoenix: fix DMA from stack

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, Jan 04, 2021 at 03:57:51PM +0100, Greg Kroah-Hartman wrote:
> On Mon, Jan 04, 2021 at 03:50:07PM +0100, Johan Hovold wrote:
> > Stack-allocated buffers cannot be used for DMA (on all architectures) so
> > allocate the flush command buffer using kmalloc().
> > 
> > Fixes: 60a8fc017103 ("USB: add iuu_phoenix driver")
> > Cc: stable <stable@xxxxxxxxxxxxxxx>     # 2.6.25
> > Signed-off-by: Johan Hovold <johan@xxxxxxxxxx>
> 
> Reviewed-by: Greg Kroah-Hartman <gregkh@xxxxxxxxxxxxxxxxxxx>

Thanks for reviewing. Now applied.

Johan




[Index of Archives]     [Linux Kernel]     [Kernel Development Newbies]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite Hiking]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux