]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
perf/dwc_pcie: fix some unreleased resources
authorYunhui Cui <cuiyunhui@bytedance.com>
Thu, 20 Feb 2025 12:17:15 +0000 (20:17 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 20 Apr 2025 08:15:11 +0000 (10:15 +0200)
commit89a4db7a67e707533d20649fc4eaa2fcbf29472a
treebd4c95410caeac5b93a65872a79217d5c18a2059
parent1b3ebfb15dc0bb14d3ac202446919acd4b4e9408
perf/dwc_pcie: fix some unreleased resources

[ Upstream commit 6eb1e8ef586ac4a3dcdc20248f9cb45e4ceb141f ]

Release leaked resources, such as plat_dev and dev_info.

Signed-off-by: Yunhui Cui <cuiyunhui@bytedance.com>
Reviewed-by: Shuai Xue <xueshuai@linux.alibaba.com>
Link: https://lore.kernel.org/r/20250220121716.50324-2-cuiyunhui@bytedance.com
Signed-off-by: Will Deacon <will@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/perf/dwc_pcie_pmu.c