]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
cpufreq/amd-pstate: Remove the goto label in amd_pstate_update_limits
authorDhananjay Ugwekar <dhananjay.ugwekar@amd.com>
Wed, 5 Feb 2025 11:25:12 +0000 (11:25 +0000)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 21 Feb 2025 13:01:46 +0000 (14:01 +0100)
commit704fdc59601e5b3f455184e4a0b65fbdefe0f86d
tree0174fd951709ffeb2ac05adce4c2b0e5a4c4dbd8
parente5aeac73ab046c759f79cdecae882b9cb91badb9
cpufreq/amd-pstate: Remove the goto label in amd_pstate_update_limits

commit d364eee14c682b141f4667efc3c65191339d88bd upstream.

Scope based guard/cleanup macros should not be used together with goto
labels. Hence, remove the goto label.

Fixes: 6c093d5a5b73 ("cpufreq/amd-pstate: convert mutex use to guard()")
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-2-dhananjay.ugwekar@amd.com
Signed-off-by: Mario Limonciello <mario.limonciello@amd.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/cpufreq/amd-pstate.c