diff options
author | Frank Li <[email protected]> | 2024-04-11 16:39:35 -0400 |
---|---|---|
committer | Vinod Koul <[email protected]> | 2024-04-17 22:39:52 +0530 |
commit | b52e28eca7da47fa389605a8eda1952a9fa3c69f (patch) | |
tree | af66daf511a23dd8cddf51cb2a50d687e9c4d07d /scripts/generate_rust_analyzer.py | |
parent | 4665be0e952f68306cc6fba2cce68b940a7ec78c (diff) |
dmaengine: fsl-edma: fix miss mutex unlock at an error return path
Use cleanup to manage mutex. Let compiler to do scope guard automatically.
Fixes: 6aa60f79e679 ("dmaengine: fsl-edma: add safety check for 'srcid'")
Reported-by: kernel test robot <[email protected]>
Closes: https://lore.kernel.org/r/[email protected]/
Signed-off-by: Frank Li <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Vinod Koul <[email protected]>
Diffstat (limited to 'scripts/generate_rust_analyzer.py')
0 files changed, 0 insertions, 0 deletions