diff options
author | Frank Li <Frank.Li@nxp.com> | 2024-03-23 16:34:51 +0100 |
---|---|---|
committer | Vinod Koul <vkoul@kernel.org> | 2024-04-07 13:50:00 +0200 |
commit | 6aa60f79e6794bbbc571ea4e0501b9fcc26026e2 (patch) | |
tree | 43344a3fbcb1744224ea76f99d5de778452518cc /drivers/vfio | |
parent | dmaengine: fsl-edma: remove 'slave_id' from fsl_edma_chan (diff) | |
download | linux-6aa60f79e6794bbbc571ea4e0501b9fcc26026e2.tar.xz linux-6aa60f79e6794bbbc571ea4e0501b9fcc26026e2.zip |
dmaengine: fsl-edma: add safety check for 'srcid'
Ensure that 'srcid' is a non-zero value to avoid dtb passing invalid
'srcid' to the driver.
Signed-off-by: Frank Li <Frank.Li@nxp.com>
Link: https://lore.kernel.org/r/20240323-8ulp_edma-v3-2-c0e981027c05@nxp.com
Signed-off-by: Vinod Koul <vkoul@kernel.org>
Diffstat (limited to 'drivers/vfio')
0 files changed, 0 insertions, 0 deletions