Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1583143
| From | Joe Perches <joe@perches.com> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | [PATCH 33/35] kernel/trace: Convert remaining uses of pr_warning to pr_warn |
| Date | 2017-02-17 08:20 +0100 |
| Message-ID | <tbKZJ-176-49@gated-at.bofh.it> (permalink) |
| References | <tbKZH-176-3@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
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
Back to linux.kernel | Previous | Next — Next in thread | Find similar | Unroll thread
[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
csiph-web