]> git.hungrycats.org Git - linux/commit
x86/bugs: Fix __ssb_select_mitigation() return type
authorJiri Kosina <jkosina@suse.cz>
Thu, 10 May 2018 20:47:18 +0000 (22:47 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 22 May 2018 16:56:29 +0000 (18:56 +0200)
commitbb82d388b5e860aed39d6bd4202ed3befe1a58d0
tree0f77235f03ae015ed6e37c111d2b52128927443e
parentb5e5979dba3936bce29bb5e733c5bfeddd5d2c88
x86/bugs: Fix __ssb_select_mitigation() return type

commit d66d8ff3d21667b41eddbe86b35ab411e40d8c5f upstream

__ssb_select_mitigation() returns one of the members of enum ssb_mitigation,
not ssb_mitigation_cmd; fix the prototype to reflect that.

Fixes: 24f7fc83b9204 ("x86/bugs: Provide boot parameters for the spec_store_bypass_disable mitigation")
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
arch/x86/kernel/cpu/bugs.c