diff options
author | 2025-03-12 11:31:57 +0300 | |
---|---|---|
committer | 2025-03-13 15:00:33 +0200 | |
commit | 01db3d1ff43aeedeaf11c8bc9d09493ec00c8f4a (patch) | |
tree | 9707b5f87d2f03c97dfb69a871d9dc4fc3af0d80 /scripts/gdb/linux/utils.py | |
parent | Merge branch 'intel-sst' of https://github.com/spandruvada/linux-kernel into review-ilpo-next (diff) | |
download | wireguard-linux-01db3d1ff43aeedeaf11c8bc9d09493ec00c8f4a.tar.xz wireguard-linux-01db3d1ff43aeedeaf11c8bc9d09493ec00c8f4a.zip |
platform/x86/amd/pmc: fix leak in probe()
Call pci_dev_put(rdev) before returning.
Fixes: 6ad1b2dc0f2a ("platform/x86/amd/pmc: Use managed APIs for mutex")
Signed-off-by: Dan Carpenter <dan.carpenter@linaro.org>
Link: https://lore.kernel.org/r/65e2fffb-a1cb-4297-b725-661d6b790a05@stanley.mountain
Reviewed-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
Signed-off-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
Diffstat (limited to 'scripts/gdb/linux/utils.py')
0 files changed, 0 insertions, 0 deletions