diff options
| author | Dhananjay Ugwekar <dhananjay.ugwekar@amd.com> | 2025-02-05 11:25:20 +0000 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2025-02-21 14:01:40 +0100 |
| commit | 56e6976793c0fcf1638aa534242408ab4e4ca705 (patch) | |
| tree | f3985a41829f3a70b7aa405f9420bb9f7e3792a1 /include/net | |
| parent | 698d93debbc5b40f7c70bdb9dc355fd1bb78ada6 (diff) | |
| download | linux-56e6976793c0fcf1638aa534242408ab4e4ca705.tar.gz linux-56e6976793c0fcf1638aa534242408ab4e4ca705.tar.bz2 linux-56e6976793c0fcf1638aa534242408ab4e4ca705.zip | |
cpufreq/amd-pstate: Fix cpufreq_policy ref counting
[ Upstream commit 3ace20038e19f23fe73259513f1f08d4bf1a3c83 ]
amd_pstate_update_limits() takes a cpufreq_policy reference but doesn't
decrement the refcount in one of the exit paths, fix that.
Fixes: 45722e777fd9 ("cpufreq: amd-pstate: Optimize amd_pstate_update_limits()")
Signed-off-by: Dhananjay Ugwekar <dhananjay.ugwekar@amd.com>
Reviewed-by: Mario Limonciello <mario.limonciello@amd.com>
Link: https://lore.kernel.org/r/20250205112523.201101-10-dhananjay.ugwekar@amd.com
Signed-off-by: Mario Limonciello <mario.limonciello@amd.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'include/net')
0 files changed, 0 insertions, 0 deletions
