]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
cpufreq/amd-pstate: Add static asserts for EPP indices
authorMario Limonciello (AMD) <superm1@kernel.org>
Thu, 9 Oct 2025 16:17:56 +0000 (11:17 -0500)
committerMario Limonciello (AMD) <superm1@kernel.org>
Tue, 11 Nov 2025 05:35:20 +0000 (23:35 -0600)
commit077f23573d29d063a950e90aa77c8e1f79580147
treea26bbaa46d1465a30a1339c57ba9f19f90dab05f
parente9d62ca86a5525a742742fe69e9aa316cfd4f471
cpufreq/amd-pstate: Add static asserts for EPP indices

In case a new index is introduced add a static assert to make sure
that strings and values are updated.

Reviewed-by: Gautham R. Shenoy <gautham.shenoy@amd.com>
Signed-off-by: Mario Limonciello (AMD) <superm1@kernel.org>
drivers/cpufreq/amd-pstate.c