]> git.baikalelectronics.ru Git - 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)
committerThomas Gleixner <tglx@linutronix.de>
Thu, 10 May 2018 20:58:11 +0000 (22:58 +0200)
commit19a2a37ac79af58a6e7f674d966295109058c2a4
tree70ee74cae5abfc15eaaa2db30861cfded9f10aef
parent5d1534fb27351b966b8c9f01866b05055468d934
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: 5ff574492a35e ("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>
arch/x86/kernel/cpu/bugs.c