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: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>



[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux