]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/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)
committerStefan Bader <stefan.bader@canonical.com>
Tue, 15 May 2018 05:35:22 +0000 (07:35 +0200)
commit7124b2d77cbb066dc71316ff34d5b8ea4f27ae95
tree2b6cbee6a3bd66ac11f0c2e855f3d800db004115
parentb8c7f1d5353708bba4b6cbac2585f1c6ba05e7b5
x86/bugs: Fix __ssb_select_mitigation() return type

__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>
CVE-2018-3639 (x86)

Signed-off-by: Stefan Bader <stefan.bader@canonical.com>
arch/x86/kernel/cpu/bugs.c