diff options
| author | Shuai Xue <[email protected]> | 2025-04-04 12:02:13 +0000 |
|---|---|---|
| committer | Vinod Koul <[email protected]> | 2025-05-14 13:40:39 +0000 |
| commit | 61d651572b6c4fe50c7b39a390760f3a910c7ccf (patch) | |
| tree | 8fb77f0c88882e5de2933e2e2bdc0fc13e7c965a /scripts/gcc-plugins/sancov_plugin.c | |
| parent | dmaengine: idxd: Add missing cleanup for early error out in idxd_setup_internals (diff) | |
| download | kernel-61d651572b6c4fe50c7b39a390760f3a910c7ccf.tar.gz kernel-61d651572b6c4fe50c7b39a390760f3a910c7ccf.zip | |
dmaengine: idxd: Add missing cleanups in cleanup internals
The idxd_cleanup_internals() function only decreases the reference count
of groups, engines, and wqs but is missing the step to release memory
resources.
To fix this, use the cleanup helper to properly release the memory
resources.
Fixes: ddf742d4f3f1 ("dmaengine: idxd: Add missing cleanup for early error out in probe call")
Cc: [email protected]
Signed-off-by: Shuai Xue <[email protected]>
Reviewed-by: Fenghua Yu <[email protected]>
Reviewed-by: Dave Jiang <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Vinod Koul <[email protected]>
Diffstat (limited to 'scripts/gcc-plugins/sancov_plugin.c')
0 files changed, 0 insertions, 0 deletions
