Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1583148 > unrolled thread

[PATCH 34/35] lib: Convert remaining uses of pr_warning to pr_warn

Started byJoe Perches <joe@perches.com>
First post2017-02-17 08:20 +0100
Last post2017-02-17 08:20 +0100
Articles 1 — 1 participant

Back to article view | Back to linux.kernel

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  [PATCH 34/35] lib: Convert remaining uses of pr_warning to pr_warn Joe Perches <joe@perches.com> - 2017-02-17 08:20 +0100

#1583148 — [PATCH 34/35] lib: Convert remaining uses of pr_warning to pr_warn

FromJoe Perches <joe@perches.com>
Date2017-02-17 08:20 +0100
Subject[PATCH 34/35] lib: Convert remaining uses of pr_warning to pr_warn
Message-ID<tbKZJ-176-59@gated-at.bofh.it>
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 <joe@perches.com>
---
 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

[toc] | [standalone]


Back to top | Article view | linux.kernel


csiph-web