aboutsummaryrefslogtreecommitdiffstats
path: root/rust/helpers.c
diff options
context:
space:
mode:
authorArnd Bergmann <[email protected]>2023-08-09 13:05:00 +0000
committerDave Hansen <[email protected]>2023-08-10 16:13:21 +0000
commiteb3515dc99c7c85f4170b50838136b2a193f8012 (patch)
tree34c3f47132380217a7d43486245bab1413cc64c6 /rust/helpers.c
parentx86/speculation: Add cpu_show_gds() prototype (diff)
downloadkernel-eb3515dc99c7c85f4170b50838136b2a193f8012.tar.gz
kernel-eb3515dc99c7c85f4170b50838136b2a193f8012.zip
x86: Move gds_ucode_mitigated() declaration to header
The declaration got placed in the .c file of the caller, but that causes a warning for the definition: arch/x86/kernel/cpu/bugs.c:682:6: error: no previous prototype for 'gds_ucode_mitigated' [-Werror=missing-prototypes] Move it to a header where both sides can observe it instead. Fixes: 81ac7e5d74174 ("KVM: Add GDS_NO support to KVM") Signed-off-by: Arnd Bergmann <[email protected]> Signed-off-by: Dave Hansen <[email protected]> Tested-by: Daniel Sneddon <[email protected]> Cc: [email protected] Link: https://lore.kernel.org/all/20230809130530.1913368-2-arnd%40kernel.org
Diffstat (limited to 'rust/helpers.c')
0 files changed, 0 insertions, 0 deletions