From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754587AbcAaJbB (ORCPT ); Sun, 31 Jan 2016 04:31:01 -0500 Received: from mail-ig0-f177.google.com ([209.85.213.177]:36287 "EHLO mail-ig0-f177.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752759AbcAaJa4 (ORCPT ); Sun, 31 Jan 2016 04:30:56 -0500 From: Chen Yucong To: hpa@zytor.com Cc: tony.luck@intel.com, bp@alien8.de, x86@kernel.org, linux-edac@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH] mcheck/threshold: use pr_err rather than printk(KERN_ERR ...) Date: Sun, 31 Jan 2016 17:30:45 +0800 Message-Id: <1454232645-15761-1-git-send-email-slaoub@gmail.com> X-Mailer: git-send-email 1.8.3.1 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Use the current logging styles. And convert printk(KERN_ERR ...) to pr_err(...) for threshold.c. Signed-off-by: Chen Yucong --- arch/x86/kernel/cpu/mcheck/threshold.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/x86/kernel/cpu/mcheck/threshold.c b/arch/x86/kernel/cpu/mcheck/threshold.c index 7245980..fcf9ae9 100644 --- a/arch/x86/kernel/cpu/mcheck/threshold.c +++ b/arch/x86/kernel/cpu/mcheck/threshold.c @@ -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; -- 1.8.3.1