mcheck/threshold: use pr_err rather than printk(KERN_ERR ...)
PATCH 1/1 mcheck/threshold: use pr_err rather than printk(KERN_ERR ...)
Use the current logging styles. And convert printk(KERN_ERR ...) to pr_err(...) for threshold.c.
Signed-off-by Chen Yucong <[email protected]>
--- arch/x86/kernel/cpu/mcheck/threshold.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
arch/x86/kernel/cpu/mcheck/threshold.c +2 -2
@@ -12,8 +12,8 @@static void default_threshold_interrupt (void ) { -printk (KERN_ERR "Unexpected threshold interrupt at vector %x\n" , -THRESHOLD_APIC_VECTOR ); +pr_err ("Unexpected threshold interrupt at vector %x\n" , +THRESHOLD_APIC_VECTOR ); }void (*mce_threshold_vector)(void ) = default_threshold_interrupt;
Signature · 1 line
1.8.3.1