Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1583143 > unrolled thread
| Started by | Joe Perches <joe@perches.com> |
|---|---|
| First post | 2017-02-17 08:20 +0100 |
| Last post | 2017-02-17 16:00 +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.
[PATCH 33/35] kernel/trace: Convert remaining uses of pr_warning to pr_warn Joe Perches <joe@perches.com> - 2017-02-17 08:20 +0100
Re: [PATCH 33/35] kernel/trace: Convert remaining uses of pr_warning to pr_warn Steven Rostedt <rostedt@goodmis.org> - 2017-02-17 16:00 +0100
| From | Joe Perches <joe@perches.com> |
|---|---|
| Date | 2017-02-17 08:20 +0100 |
| Subject | [PATCH 33/35] kernel/trace: Convert remaining uses of pr_warning to pr_warn |
| Message-ID | <tbKZJ-176-49@gated-at.bofh.it> |
To enable eventual removal of pr_warning
This makes pr_warn use consistent for kernel/trace
Prior to this patch, there were 2 uses of pr_warning and
79 uses of pr_warn in kernel/trace
Signed-off-by: Joe Perches <joe@perches.com>
---
kernel/trace/trace_benchmark.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/kernel/trace/trace_benchmark.c b/kernel/trace/trace_benchmark.c
index e49fbe901cfc..483e8b3fcb27 100644
--- a/kernel/trace/trace_benchmark.c
+++ b/kernel/trace/trace_benchmark.c
@@ -169,14 +169,14 @@ static int benchmark_event_kthread(void *arg)
int trace_benchmark_reg(void)
{
if (!ok_to_run) {
- pr_warning("trace benchmark cannot be started via kernel command line\n");
+ pr_warn("trace benchmark cannot be started via kernel command line\n");
return -EBUSY;
}
bm_event_thread = kthread_run(benchmark_event_kthread,
NULL, "event_benchmark");
if (IS_ERR(bm_event_thread)) {
- pr_warning("trace benchmark failed to create kernel thread\n");
+ pr_warn("trace benchmark failed to create kernel thread\n");
return PTR_ERR(bm_event_thread);
}
--
2.10.0.rc2.1.g053435c
[toc] | [next] | [standalone]
| From | Steven Rostedt <rostedt@goodmis.org> |
|---|---|
| Date | 2017-02-17 16:00 +0100 |
| Subject | Re: [PATCH 33/35] kernel/trace: Convert remaining uses of pr_warning to pr_warn |
| Message-ID | <tbSaS-5B2-11@gated-at.bofh.it> |
| In reply to | #1583143 |
On Thu, 16 Feb 2017 23:11:46 -0800 Joe Perches <joe@perches.com> wrote: > To enable eventual removal of pr_warning > > This makes pr_warn use consistent for kernel/trace > > Prior to this patch, there were 2 uses of pr_warning and > 79 uses of pr_warn in kernel/trace > > Signed-off-by: Joe Perches <joe@perches.com> Acked-by: Steven Rostedt (VMware) <rostedt@goodmis.org> -- Steve
[toc] | [prev] | [standalone]
Back to top | Article view | linux.kernel
csiph-web