diff options
author | Abdun Nihaal <abdun.nihaal@gmail.com> | 2025-04-09 08:44:48 +0300 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2025-04-12 04:33:22 +0300 |
commit | 8b82f656826c741d032490b089a5638c33f2c91d (patch) | |
tree | fa1f74c530414bedb080151f7326f093a300da4b /tools/perf/scripts/python/gecko.py | |
parent | e861041e976b05359dcfe326f7c1ed6f83d7eb84 (diff) | |
download | linux-8b82f656826c741d032490b089a5638c33f2c91d.tar.xz |
pds_core: fix memory leak in pdsc_debugfs_add_qcq()
The memory allocated for intr_ctrl_regset, which is passed to
debugfs_create_regset32() may not be cleaned up when the driver is
removed. Fix that by using device managed allocation for it.
Fixes: 45d76f492938 ("pds_core: set up device and adminq")
Signed-off-by: Abdun Nihaal <abdun.nihaal@gmail.com>
Reviewed-by: Michal Swiatkowski <michal.swiatkowski@linux.intel.com>
Reviewed-by: Shannon Nelson <shannon.nelson@amd.com>
Link: https://patch.msgid.link/20250409054450.48606-1-abdun.nihaal@gmail.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/gecko.py')
0 files changed, 0 insertions, 0 deletions