diff options
| author | Shuai Xue <[email protected]> | 2025-04-04 12:02:17 +0000 |
|---|---|---|
| committer | Vinod Koul <[email protected]> | 2025-05-14 13:40:40 +0000 |
| commit | a409e919ca321cc0e28f8abf96fde299f0072a81 (patch) | |
| tree | 4772ff9f77fc32221073a50ac9bb4ea23d61bbe4 /scripts/gcc-plugins/sancov_plugin.c | |
| parent | dmaengine: idxd: Add missing idxd cleanup to fix memory leak in remove call (diff) | |
| download | kernel-a409e919ca321cc0e28f8abf96fde299f0072a81.tar.gz kernel-a409e919ca321cc0e28f8abf96fde299f0072a81.zip | |
dmaengine: idxd: Refactor remove call with idxd_cleanup() helper
The idxd_cleanup() helper cleans up perfmon, interrupts, internals and
so on. Refactor remove call with the idxd_cleanup() helper to avoid code
duplication. Note, this also fixes the missing put_device() for idxd
groups, enginces and wqs.
Fixes: bfe1d56091c1 ("dmaengine: idxd: Init and probe for Intel data accelerators")
Cc: [email protected]
Suggested-by: Vinicius Costa Gomes <[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
