From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756246AbcJZKIU (ORCPT ); Wed, 26 Oct 2016 06:08:20 -0400 Received: from terminus.zytor.com ([198.137.202.10]:58114 "EHLO terminus.zytor.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754603AbcJZKIP (ORCPT ); Wed, 26 Oct 2016 06:08:15 -0400 Date: Wed, 26 Oct 2016 03:07:44 -0700 From: tip-bot for Michael Ellerman Message-ID: Cc: mingo@kernel.org, hpa@zytor.com, bp@suse.de, tglx@linutronix.de, linux-kernel@vger.kernel.org, mpe@ellerman.id.au Reply-To: mpe@ellerman.id.au, linux-kernel@vger.kernel.org, tglx@linutronix.de, bp@suse.de, hpa@zytor.com, mingo@kernel.org In-Reply-To: <1477460275-8266-1-git-send-email-mpe@ellerman.id.au> References: <1477460275-8266-1-git-send-email-mpe@ellerman.id.au> To: linux-tip-commits@vger.kernel.org Subject: [tip:core/smp] kernel/smp: Define pr_fmt() for smp.c Git-Commit-ID: ca7dfdbb33675151ad0854aea11340f95c38aff3 X-Mailer: tip-git-log-daemon Robot-ID: Robot-Unsubscribe: Contact to get blacklisted from these emails MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset=UTF-8 Content-Disposition: inline Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Commit-ID: ca7dfdbb33675151ad0854aea11340f95c38aff3 Gitweb: http://git.kernel.org/tip/ca7dfdbb33675151ad0854aea11340f95c38aff3 Author: Michael Ellerman AuthorDate: Wed, 26 Oct 2016 16:37:53 +1100 Committer: Thomas Gleixner CommitDate: Wed, 26 Oct 2016 12:02:35 +0200 kernel/smp: Define pr_fmt() for smp.c This makes all our pr_xxx()'s start with "smp: ", which helps pin down where they come from and generally looks nice. There is actually only one pr_xxx() use in smp.c at the moment, but we will add some more in the next commit. Suggested-by: Borislav Petkov Signed-off-by: Michael Ellerman Cc: akpm@osdl.org Cc: jgross@suse.com Cc: ak@linux.intel.com Cc: tim.c.chen@linux.intel.com Cc: len.brown@intel.com Cc: peterz@infradead.org Cc: richard@nod.at Cc: jolsa@redhat.com Cc: boris.ostrovsky@oracle.com Cc: mgorman@techsingularity.net Link: http://lkml.kernel.org/r/1477460275-8266-1-git-send-email-mpe@ellerman.id.au Signed-off-by: Thomas Gleixner --- kernel/smp.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/kernel/smp.c b/kernel/smp.c index bba3b20..2d1f15d 100644 --- a/kernel/smp.c +++ b/kernel/smp.c @@ -3,6 +3,9 @@ * * (C) Jens Axboe 2008 */ + +#define pr_fmt(fmt) KBUILD_MODNAME ": " fmt + #include #include #include