diff options
| author | Shuai Xue <[email protected]> | 2025-04-04 12:02:16 +0000 |
|---|---|---|
| committer | Vinod Koul <[email protected]> | 2025-05-14 13:40:40 +0000 |
| commit | d5449ff1b04dfe9ed8e455769aa01e4c2ccf6805 (patch) | |
| tree | 03778fb3e09cf8bbb8f2b811d8942bbeb102fc6b /scripts/gcc-plugins/randomize_layout_plugin.c | |
| parent | dmaengine: idxd: fix memory leak in error handling path of idxd_pci_probe (diff) | |
| download | kernel-d5449ff1b04dfe9ed8e455769aa01e4c2ccf6805.tar.gz kernel-d5449ff1b04dfe9ed8e455769aa01e4c2ccf6805.zip | |
dmaengine: idxd: Add missing idxd cleanup to fix memory leak in remove call
The remove call stack is missing idxd cleanup to free bitmap, ida and
the idxd_device. Call idxd_free() helper routines to make sure we exit
gracefully.
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/randomize_layout_plugin.c')
0 files changed, 0 insertions, 0 deletions
