lkml.org 
[lkml]   [2019]   [Sep]   [20]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH 25/32] trace: Use pr_warn instead of pr_warning
On Fri, 20 Sep 2019 14:25:37 +0800
Kefeng Wang <wangkefeng.wang@huawei.com> wrote:

> As said in commit f2c2cbcc35d4 ("powerpc: Use pr_warn instead of
> pr_warning"), removing pr_warning so all logging messages use a
> consistent <prefix>_warn style. Let's do it.

Acked-by: Steven Rostedt (VMware) <rostedt@goodmis.org>

-- Steve

>
> Cc: Steven Rostedt <rostedt@goodmis.org>
> Cc: Ingo Molnar <mingo@redhat.com>
> Signed-off-by: Kefeng Wang <wangkefeng.wang@huawei.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 80e0b2aca703..2e9a4746ea85 100644
> --- a/kernel/trace/trace_benchmark.c
> +++ b/kernel/trace/trace_benchmark.c
> @@ -178,14 +178,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);
> }
>

\
 
 \ /
  Last update: 2019-09-20 15:27    [W:0.201 / U:0.208 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site