linux_dsm_epyc7002/drivers/dma/sh
Laurent Pinchart c091ff51b4 dmaengine: shdma: Make channel filter ignore unrelated devices
The shdma_chan_filter() function relies on the DMA channel being
embedded in an shdma_chan structure. If this assumption isn't true, for
instance when the system contains DMA channels supported by an unrelated
driver, the function will crash.

Avoid this by returning false directly when the channel belongs to an
unrelated device.

Signed-off-by: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
Signed-off-by: Vinod Koul <vinod.koul@intel.com>
2014-07-31 17:15:45 +05:30
..
Kconfig dmaengine: sh: Rework Kconfig and Makefile 2014-07-31 17:15:45 +05:30
Makefile dmaengine: sh: Rework Kconfig and Makefile 2014-07-31 17:15:45 +05:30
rcar-audmapp.c dma: rcar-audmapp: add DT support 2014-07-11 13:35:08 +02:00
rcar-hpbdma.c dmaengine: rcar-hpbdma: Include linux/err.h 2014-06-01 22:56:30 +05:30
shdma-arm.h dmaengine: shdma: Use defines instead of hardcoded numbers 2014-07-15 18:02:29 +09:00
shdma-base.c dmaengine: shdma: Make channel filter ignore unrelated devices 2014-07-31 17:15:45 +05:30
shdma-of.c DMA: shdma: Fix warnings due to improper casts and printk formats 2014-03-06 11:35:23 +05:30
shdma-r8a73a4.c DMA: shdma: add r8a73a4 DMAC data to the device ID table 2013-08-27 14:26:21 +05:30
shdma.h dmaengine: sh: Rework Kconfig and Makefile 2014-07-31 17:15:45 +05:30
shdmac.c dmaengine: shdma: Use defines instead of hardcoded numbers 2014-07-15 18:02:29 +09:00
sudmac.c dmaengine: sudmac: Include linux/err.h 2014-06-01 22:56:30 +05:30