]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
x86/platform/uv: Use str_enabled_disabled() in uv_nmi_setup_hubless_intr()
authorThorsten Blum <thorsten.blum@linux.dev>
Mon, 4 May 2026 18:19:46 +0000 (20:19 +0200)
committerBorislav Petkov (AMD) <bp@alien8.de>
Tue, 2 Jun 2026 20:57:38 +0000 (13:57 -0700)
commitd022ff2557accbc7e169e4812bd9899e7c77fb5c
tree712d681dea435f62f54a1a0c4cb8c22b7f80c7fd
parent1df61a8b2d01c560822a0421f2a76af7fda34c1f
x86/platform/uv: Use str_enabled_disabled() in uv_nmi_setup_hubless_intr()

Replace hard-coded strings with the str_enabled_disabled() helper. This
unifies the output and helps the linker with deduplication, which can result
in a smaller binary. Additionally, address the following Coccinelle/coccicheck
warning reported by string_choices.cocci:

  opportunity for str_enabled_disabled(uv_pch_intr_now_enabled)

Signed-off-by: Thorsten Blum <thorsten.blum@linux.dev>
Signed-off-by: Borislav Petkov (AMD) <bp@alien8.de>
Reviewed-by: Kyle Meyer <kyle.meyer@hpe.com>
Link: https://patch.msgid.link/20260504181945.143928-2-thorsten.blum@linux.dev
arch/x86/platform/uv/uv_nmi.c