summaryrefslogtreecommitdiff
path: root/arch/x86/kernel/msr.c
diff options
context:
space:
mode:
authorBorislav Petkov <bp@suse.de>2020-11-18 15:34:07 +0300
committerBorislav Petkov <bp@suse.de>2020-11-19 12:46:54 +0300
commitb023fd5f741f34d2cd90258ccc3f245924d2eadd (patch)
treeb79347c81127e80e3abd46c79473dc0bf85979e3 /arch/x86/kernel/msr.c
parent18741a5251d018094536a2dffe284d269ebb07fe (diff)
downloadlinux-b023fd5f741f34d2cd90258ccc3f245924d2eadd.tar.xz
x86/msr: Downgrade unrecognized MSR message
It is a warning and not an error so use pr_warn(). Signed-off-by: Borislav Petkov <bp@suse.de> Link: https://lkml.kernel.org/r/20201118123806.19672-1-bp@alien8.de
Diffstat (limited to 'arch/x86/kernel/msr.c')
-rw-r--r--arch/x86/kernel/msr.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/x86/kernel/msr.c b/arch/x86/kernel/msr.c
index b1147862730c..95e6b97b7d8b 100644
--- a/arch/x86/kernel/msr.c
+++ b/arch/x86/kernel/msr.c
@@ -99,8 +99,8 @@ static int filter_write(u32 reg)
if (!__ratelimit(&fw_rs))
return 0;
- pr_err("Write to unrecognized MSR 0x%x by %s (pid: %d). Please report to x86@kernel.org.\n",
- reg, current->comm, current->pid);
+ pr_warn("Write to unrecognized MSR 0x%x by %s (pid: %d). Please report to x86@kernel.org.\n",
+ reg, current->comm, current->pid);
return 0;
}