aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorDaniel Sneddon <[email protected]>2024-04-09 23:08:05 +0000
committerIngo Molnar <[email protected]>2024-04-10 05:05:04 +0000
commit04f4230e2f86a4e961ea5466eda3db8c1762004d (patch)
tree5aed553b5e224a9321ae5725ef5e9dc21041c150 /tools/perf/scripts/python
parentMerge branch 'linus' into x86/urgent, to pick up dependent commits (diff)
downloadkernel-04f4230e2f86a4e961ea5466eda3db8c1762004d.tar.gz
kernel-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 <[email protected]> Signed-off-by: Daniel Sneddon <[email protected]> Signed-off-by: Ingo Molnar <[email protected]> Cc: Linus Torvalds <[email protected]> Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions