diff options
author | Josh Poimboeuf <jpoimboe@redhat.com> | 2022-04-26 02:40:02 +0300 |
---|---|---|
committer | Borislav Petkov <bp@suse.de> | 2022-04-28 12:12:17 +0300 |
commit | 2147c438fde135d6c145a96e373d9348e7076f7f (patch) | |
tree | 969c1b56b266ac79c98416db2a991059dd6f6362 /include/acpi | |
parent | b0b592cf08367719e1d1ef07c9f136e8c17f7ec3 (diff) | |
download | linux-2147c438fde135d6c145a96e373d9348e7076f7f.tar.xz |
x86/speculation: Add missing prototype for unpriv_ebpf_notify()
Fix the following warnings seen with "make W=1":
kernel/sysctl.c:183:13: warning: no previous prototype for ‘unpriv_ebpf_notify’ [-Wmissing-prototypes]
183 | void __weak unpriv_ebpf_notify(int new_state)
| ^~~~~~~~~~~~~~~~~~
arch/x86/kernel/cpu/bugs.c:659:6: warning: no previous prototype for ‘unpriv_ebpf_notify’ [-Wmissing-prototypes]
659 | void unpriv_ebpf_notify(int new_state)
| ^~~~~~~~~~~~~~~~~~
Fixes: 44a3918c8245 ("x86/speculation: Include unprivileged eBPF status in Spectre v2 mitigation reporting")
Reported-by: kernel test robot <lkp@intel.com>
Signed-off-by: Josh Poimboeuf <jpoimboe@redhat.com>
Signed-off-by: Borislav Petkov <bp@suse.de>
Link: https://lore.kernel.org/r/5689d065f739602ececaee1e05e68b8644009608.1650930000.git.jpoimboe@redhat.com
Diffstat (limited to 'include/acpi')
0 files changed, 0 insertions, 0 deletions