[tip: x86/misc] x86/msr: Downgrade unrecognized MSR message
From: tip-bot2 for Borislav Petkov
Date: Thu Nov 19 2020 - 04:50:00 EST
The following commit has been merged into the x86/misc branch of tip:
Commit-ID: b023fd5f741f34d2cd90258ccc3f245924d2eadd
Gitweb: https://git.kernel.org/tip/b023fd5f741f34d2cd90258ccc3f245924d2eadd
Author: Borislav Petkov <bp@xxxxxxx>
AuthorDate: Wed, 18 Nov 2020 13:34:07 +01:00
Committer: Borislav Petkov <bp@xxxxxxx>
CommitterDate: Thu, 19 Nov 2020 10:46:54 +01:00
x86/msr: Downgrade unrecognized MSR message
It is a warning and not an error so use pr_warn().
Signed-off-by: Borislav Petkov <bp@xxxxxxx>
Link: https://lkml.kernel.org/r/20201118123806.19672-1-bp@xxxxxxxxx
---
arch/x86/kernel/msr.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/arch/x86/kernel/msr.c b/arch/x86/kernel/msr.c
index b114786..95e6b97 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@xxxxxxxxxx.\n",
- reg, current->comm, current->pid);
+ pr_warn("Write to unrecognized MSR 0x%x by %s (pid: %d). Please report to x86@xxxxxxxxxx.\n",
+ reg, current->comm, current->pid);
return 0;
}