diff options
| author | Dhananjay Ugwekar <[email protected]> | 2025-03-20 10:06:19 +0000 |
|---|---|---|
| committer | Ingo Molnar <[email protected]> | 2025-03-20 20:03:55 +0000 |
| commit | 7e512f5ad24458e2c930b5be5d96ddf9e176e05d (patch) | |
| tree | 41e5dcf385acf8b64c0adf0a93a156e689691525 /drivers/gpu/drm/amd/amdgpu/mes_userqueue.c | |
| parent | perf/x86: Check data address for IBS software filter (diff) | |
| download | kernel-7e512f5ad24458e2c930b5be5d96ddf9e176e05d.tar.gz kernel-7e512f5ad24458e2c930b5be5d96ddf9e176e05d.zip | |
perf/x86/rapl: Fix error handling in init_rapl_pmus()
If init_rapl_pmu() fails while allocating memory for "rapl_pmu" objects,
we miss freeing the "rapl_pmus" object in the error path. Fix that.
Fixes: 9b99d65c0bb4 ("perf/x86/rapl: Move the pmu allocation out of CPU hotplug")
Signed-off-by: Dhananjay Ugwekar <[email protected]>
Signed-off-by: Ingo Molnar <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/mes_userqueue.c')
0 files changed, 0 insertions, 0 deletions
