diff options
author | 2023-08-09 15:04:59 +0200 | |
---|---|---|
committer | 2023-08-10 09:12:18 -0700 | |
commit | a57c27c7ad85c420b7de44c6ee56692d51709dda (patch) | |
tree | 259f62e199d8f8cf7d800168287bc7811f3c52f9 /scripts/generate_rust_analyzer.py | |
parent | driver core: cpu: Make cpu_show_not_affected() static (diff) | |
download | linux-rng-a57c27c7ad85c420b7de44c6ee56692d51709dda.tar.xz linux-rng-a57c27c7ad85c420b7de44c6ee56692d51709dda.zip |
x86/speculation: Add cpu_show_gds() prototype
The newly added function has two definitions but no prototypes:
drivers/base/cpu.c:605:16: error: no previous prototype for 'cpu_show_gds' [-Werror=missing-prototypes]
Add a declaration next to the other ones for this file to avoid the
warning.
Fixes: 8974eb588283b ("x86/speculation: Add Gather Data Sampling mitigation")
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Dave Hansen <dave.hansen@linux.intel.com>
Tested-by: Daniel Sneddon <daniel.sneddon@linux.intel.com>
Cc: stable@kernel.org
Link: https://lore.kernel.org/all/20230809130530.1913368-1-arnd%40kernel.org
Diffstat (limited to 'scripts/generate_rust_analyzer.py')
0 files changed, 0 insertions, 0 deletions