summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorWentao Liang <vulab@iscas.ac.cn>2026-09-16 18:00:36 +0000
committerLyude Paul <lyude@redhat.com>2026-09-17 13:19:03 -0400
commit67b4411538c8341692548429d43256f25be99f7a (patch)
tree1582be3077d5830a4d8cedfa08e6b683f13db54f /tools/perf/scripts/python
parent1fca688e9443003e33cf30453e7a7560367656c9 (diff)
drm/nouveau: Fix bridge reference leak in nv1a_ram_new()
pci_get_domain_bus_and_slot() takes a reference to the PCI device, which is never released once the memory size has been read from its config space. Drop the reference before returning. Fixes: 2fa6d6cdaf283c05 ("drm/nouveau: deprecate pci_get_bus_and_slot()") Cc: stable@vger.kernel.org Signed-off-by: Wentao Liang <vulab@iscas.ac.cn> Reviewed-by: Lyude Paul <lyude@redhat.com> Signed-off-by: Lyude Paul <lyude@redhat.com> Link: https://patch.msgid.link/20260916180036.2090118-1-vulab@iscas.ac.cn
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions