From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S933264AbdBQHNu (ORCPT ); Fri, 17 Feb 2017 02:13:50 -0500 Received: from smtprelay0141.hostedemail.com ([216.40.44.141]:44106 "EHLO smtprelay.hostedemail.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S933130AbdBQHNY (ORCPT ); Fri, 17 Feb 2017 02:13:24 -0500 X-Session-Marker: 6A6F6540706572636865732E636F6D X-Spam-Summary: 2,0,0,,d41d8cd98f00b204,joe@perches.com,:,RULES_HIT:41:355:379:541:800:960:973:988:989:1260:1345:1359:1381:1437:1534:1541:1711:1730:1747:1777:1792:2393:2559:2562:2895:3138:3139:3140:3141:3142:3165:3352:3866:3867:3868:3870:4321:5007:6261:9389:10004:10848:11026:11658:11914:12043:12296:12555:12895:12986:13069:13311:13357:14181:14384:14394:14721:21080:21451:30054:30070,0,RBL:none,CacheIP:none,Bayesian:0.5,0.5,0.5,Netcheck:none,DomainCache:0,MSF:not bulk,SPF:fn,MSBL:0,DNSBL:none,Custom_rules:0:0:0,LFtime:1,LUA_SUMMARY:none X-HE-Tag: boot81_565e4a00d4924 X-Filterd-Recvd-Size: 1851 From: Joe Perches To: linux-kernel@vger.kernel.org Subject: [PATCH 34/35] lib: Convert remaining uses of pr_warning to pr_warn Date: Thu, 16 Feb 2017 23:11:47 -0800 Message-Id: X-Mailer: git-send-email 2.10.0.rc2.1.g053435c In-Reply-To: References: Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org To enable eventual removal of pr_warning This makes pr_warn use consistent for lib Prior to this patch, there were 2 uses of pr_warning and 59 uses of pr_warn in lib Signed-off-by: Joe Perches --- lib/cpu_rmap.c | 2 +- lib/dma-debug.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/cpu_rmap.c b/lib/cpu_rmap.c index f610b2a10b3e..fa9778e57eab 100644 --- a/lib/cpu_rmap.c +++ b/lib/cpu_rmap.c @@ -258,7 +258,7 @@ irq_cpu_rmap_notify(struct irq_affinity_notify *notify, const cpumask_t *mask) rc = cpu_rmap_update(glue->rmap, glue->index, mask); if (rc) - pr_warning("irq_cpu_rmap_notify: update failed: %d\n", rc); + pr_warn("irq_cpu_rmap_notify: update failed: %d\n", rc); } /** diff --git a/lib/dma-debug.c b/lib/dma-debug.c index 60c57ec936db..bccb92a85268 100644 --- a/lib/dma-debug.c +++ b/lib/dma-debug.c @@ -176,7 +176,7 @@ static inline void dump_entry_trace(struct dma_debug_entry *entry) { #ifdef CONFIG_STACKTRACE if (entry) { - pr_warning("Mapped at:\n"); + pr_warn("Mapped at:\n"); print_stack_trace(&entry->stacktrace, 0); } #endif -- 2.10.0.rc2.1.g053435c