diff options
| author | Frank Li <Frank.Li@nxp.com> | 2024-03-23 18:34:51 +0300 |
|---|---|---|
| committer | Vinod Koul <vkoul@kernel.org> | 2024-04-07 14:50:00 +0300 |
| commit | 6aa60f79e6794bbbc571ea4e0501b9fcc26026e2 (patch) | |
| tree | 43344a3fbcb1744224ea76f99d5de778452518cc /drivers/usb/cdns3/cdns3-trace.c | |
| parent | cee8cbfc7be8ff9f3ccf258134f9ab2c273abb75 (diff) | |
| download | linux-6aa60f79e6794bbbc571ea4e0501b9fcc26026e2.tar.xz | |
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/usb/cdns3/cdns3-trace.c')
0 files changed, 0 insertions, 0 deletions
