summaryrefslogtreecommitdiffstats
path: root/io_uring/napi.c
diff options
context:
space:
mode:
authorDaniel Sneddon <daniel.sneddon@linux.intel.com>2024-04-09 16:08:05 -0700
committerIngo Molnar <mingo@kernel.org>2024-04-10 07:05:04 +0200
commit04f4230e2f86a4e961ea5466eda3db8c1762004d (patch)
tree5aed553b5e224a9321ae5725ef5e9dc21041c150 /io_uring/napi.c
parenta40d2525eaa6ba40ebd39ea2ed9598e13092a7dc (diff)
downloadlinux-stable-04f4230e2f86a4e961ea5466eda3db8c1762004d.tar.gz
linux-stable-04f4230e2f86a4e961ea5466eda3db8c1762004d.tar.bz2
linux-stable-04f4230e2f86a4e961ea5466eda3db8c1762004d.zip
x86/bugs: Fix return type of spectre_bhi_state()
The definition of spectre_bhi_state() incorrectly returns a const char * const. This causes the a compiler warning when building with W=1: warning: type qualifiers ignored on function return type [-Wignored-qualifiers] 2812 | static const char * const spectre_bhi_state(void) Remove the const qualifier from the pointer. Fixes: ec9404e40e8f ("x86/bhi: Add BHI mitigation knob") Reported-by: Sean Christopherson <seanjc@google.com> Signed-off-by: Daniel Sneddon <daniel.sneddon@linux.intel.com> Signed-off-by: Ingo Molnar <mingo@kernel.org> Cc: Linus Torvalds <torvalds@linux-foundation.org> Link: https://lore.kernel.org/r/20240409230806.1545822-1-daniel.sneddon@linux.intel.com
Diffstat (limited to 'io_uring/napi.c')
0 files changed, 0 insertions, 0 deletions