git.openpandora.org
/
pandora-kernel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
x86/spectre: Fix an error message
[pandora-kernel.git]
/
arch
/
x86
/
kernel
/
cpu
/
bugs.c
diff --git
a/arch/x86/kernel/cpu/bugs.c
b/arch/x86/kernel/cpu/bugs.c
index
991e053
..
af3b134
100644
(file)
--- a/
arch/x86/kernel/cpu/bugs.c
+++ b/
arch/x86/kernel/cpu/bugs.c
@@
-317,8
+317,7
@@
static enum spectre_v2_mitigation_cmd __init spectre_v2_parse_cmdline(void)
}
if (i >= ARRAY_SIZE(mitigation_options)) {
- pr_err("unknown option (%s). Switching to AUTO select\n",
- mitigation_options[i].option);
+ pr_err("unknown option (%s). Switching to AUTO select\n", arg);
return SPECTRE_V2_CMD_AUTO;
}
}