]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
KVM: SVM: Use str_enabled_disabled() helper in sev_hardware_setup()
authorThorsten Blum <thorsten.blum@linux.dev>
Fri, 27 Dec 2024 09:44:51 +0000 (10:44 +0100)
committerSean Christopherson <seanjc@google.com>
Wed, 8 Jan 2025 22:08:41 +0000 (14:08 -0800)
commit800173cf7560e00c5e2587cba00ce3384cf13532
tree906ba191f87ec51908dab6d4eda6c07c632e97f8
parent036e78a942b4981a21a48751d45eebaf53f4c5c4
KVM: SVM: Use str_enabled_disabled() helper in sev_hardware_setup()

Remove hard-coded strings by using the str_enabled_disabled() helper
function.

Signed-off-by: Thorsten Blum <thorsten.blum@linux.dev>
Reviewed-by: Pavan Kumar Paluri <papaluri@amd.com>
Reviewed-by: Nikunj A Dadhania <nikunj@amd.com>
Link: https://lore.kernel.org/r/20241227094450.674104-2-thorsten.blum@linux.dev
Signed-off-by: Sean Christopherson <seanjc@google.com>
arch/x86/kvm/svm/sev.c