[PATCH 33/35] kernel/trace: Convert remaining uses of pr_warning to pr_warn
From: Joe Perches
Date: Fri Feb 17 2017 - 02:15:23 EST
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@xxxxxxxxxxx>
---
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