diff options
| author | Abdun Nihaal <[email protected]> | 2025-04-09 05:44:48 +0000 |
|---|---|---|
| committer | Jakub Kicinski <[email protected]> | 2025-04-12 01:33:22 +0000 |
| commit | 8b82f656826c741d032490b089a5638c33f2c91d (patch) | |
| tree | fa1f74c530414bedb080151f7326f093a300da4b /net/unix/af_unix.c | |
| parent | Merge tag 'wireless-2025-04-11' of https://git.kernel.org/pub/scm/linux/kerne... (diff) | |
| download | kernel-8b82f656826c741d032490b089a5638c33f2c91d.tar.gz kernel-8b82f656826c741d032490b089a5638c33f2c91d.zip | |
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 <[email protected]>
Reviewed-by: Michal Swiatkowski <[email protected]>
Reviewed-by: Shannon Nelson <[email protected]>
Link: https://patch.msgid.link/[email protected]
Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions
