Files
linux/drivers/dma
Yoshihiro Shimoda 1cab402e6a dmaengine: usb-dmac: fix endless loop in usb_dmac_chan_terminate_all()
commit d9f5efade2 upstream.

This patch fixes an issue that list_for_each_entry() in
usb_dmac_chan_terminate_all() is possible to cause endless loop because
this will move own desc to the desc_freed. So, this driver should use
list_for_each_entry_safe() instead of list_for_each_entry().

Signed-off-by: Yoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com>
Signed-off-by: Vinod Koul <vinod.koul@intel.com>
Signed-off-by: Biju Das <biju.das@bp.renesas.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2018-06-06 16:46:22 +02:00
..
2016-05-04 14:48:42 -07:00
2013-01-07 17:36:37 +01:00