lkml.org 
[lkml]   [2017]   [Feb]   [17]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    From
    Subject[PATCH 33/35] kernel/trace: Convert remaining uses of pr_warning to pr_warn
    Date
    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
    \
     
     \ /
      Last update: 2017-02-17 08:16    [W:4.088 / U:0.400 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site