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


Groups > linux.kernel > #1583132 > unrolled thread

[PATCH 26/35] drivers/oprofile: 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 15:10 +0100
Articles 2 — 2 participants

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 26/35] drivers/oprofile: Convert remaining uses of pr_warning to pr_warn Joe Perches <joe@perches.com> - 2017-02-17 08:20 +0100
    Re: [PATCH 26/35] drivers/oprofile: Convert remaining uses of  pr_warning to pr_warn Robert Richter <rric@kernel.org> - 2017-02-17 15:10 +0100

#1583132 — [PATCH 26/35] drivers/oprofile: Convert remaining uses of pr_warning to pr_warn

FromJoe Perches <joe@perches.com>
Date2017-02-17 08:20 +0100
Subject[PATCH 26/35] drivers/oprofile: Convert remaining uses of pr_warning to pr_warn
Message-ID<tbKZI-176-25@gated-at.bofh.it>
To enable eventual removal of pr_warning

This makes pr_warn use consistent for drivers/oprofile

Prior to this patch, there were 2 uses of pr_warning and
0 uses of pr_warn in drivers/oprofile

Signed-off-by: Joe Perches <joe@perches.com>
---
 drivers/oprofile/oprofile_perf.c | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/drivers/oprofile/oprofile_perf.c b/drivers/oprofile/oprofile_perf.c
index d5b2732b1b81..6718440ab8da 100644
--- a/drivers/oprofile/oprofile_perf.c
+++ b/drivers/oprofile/oprofile_perf.c
@@ -45,8 +45,8 @@ static void op_overflow_handler(struct perf_event *event,
 	if (id != num_counters)
 		oprofile_add_sample(regs, id);
 	else
-		pr_warning("oprofile: ignoring spurious overflow "
-				"on cpu %u\n", cpu);
+		pr_warn("oprofile: ignoring spurious overflow on cpu %u\n",
+			cpu);
 }
 
 /*
@@ -87,8 +87,8 @@ static int op_create_counter(int cpu, int event)
 
 	if (pevent->state != PERF_EVENT_STATE_ACTIVE) {
 		perf_event_release_kernel(pevent);
-		pr_warning("oprofile: failed to enable event %d "
-				"on CPU %d\n", event, cpu);
+		pr_warn("oprofile: failed to enable event %d on CPU %d\n",
+			event, cpu);
 		return -EBUSY;
 	}
 
-- 
2.10.0.rc2.1.g053435c

[toc] | [next] | [standalone]


#1583424 — Re: [PATCH 26/35] drivers/oprofile: Convert remaining uses of pr_warning to pr_warn

FromRobert Richter <rric@kernel.org>
Date2017-02-17 15:10 +0100
SubjectRe: [PATCH 26/35] drivers/oprofile: Convert remaining uses of pr_warning to pr_warn
Message-ID<tbRou-5iA-13@gated-at.bofh.it>
In reply to#1583132
On 16.02.17 23:11:39, Joe Perches wrote:
> To enable eventual removal of pr_warning
> 
> This makes pr_warn use consistent for drivers/oprofile
> 
> Prior to this patch, there were 2 uses of pr_warning and
> 0 uses of pr_warn in drivers/oprofile
> 
> Signed-off-by: Joe Perches <joe@perches.com>

Acked-by: Robert Richter <rric@kernel.org>

[toc] | [prev] | [standalone]


Back to top | Article view | linux.kernel


csiph-web