]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
cpu/speculation: Add prototype for cpu_show_srbds()
authorGuenter Roeck <linux@roeck-us.net>
Wed, 17 Jun 2020 14:14:10 +0000 (07:14 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 16 Jun 2022 11:23:31 +0000 (13:23 +0200)
commit9e2efaa5dd104bc3e2ecdfbbaf68a4edfb09198d
tree1843c979cda50c33f32cde945380ff2720800971
parent9d6e67bf50908cc661972969e8f073ec1d1bc97d
cpu/speculation: Add prototype for cpu_show_srbds()

commit 2accfa69050c2a0d6fc6106f609208b3e9622b26 upstream.

0-day is not happy that there is no prototype for cpu_show_srbds():

drivers/base/cpu.c:565:16: error: no previous prototype for 'cpu_show_srbds'

Fixes: 7e5b3c267d25 ("x86/speculation: Add Special Register Buffer Data Sampling (SRBDS) mitigation")
Reported-by: kernel test robot <lkp@intel.com>
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Signed-off-by: Borislav Petkov <bp@suse.de>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Link: https://lkml.kernel.org/r/20200617141410.93338-1-linux@roeck-us.net
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
include/linux/cpu.h