lkml.org 
[lkml]   [2019]   [Sep]   [20]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    From
    Subject[PATCH 26/32] lib: cpu_rmap: Use pr_warn instead of pr_warning
    Date
    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.

    Cc: Andrew Morton <akpm@linux-foundation.org>
    Signed-off-by: Kefeng Wang <wangkefeng.wang@huawei.com>
    ---
    lib/cpu_rmap.c | 2 +-
    1 file changed, 1 insertion(+), 1 deletion(-)

    diff --git a/lib/cpu_rmap.c b/lib/cpu_rmap.c
    index 075f3788bbe4..f08d9c56f712 100644
    --- a/lib/cpu_rmap.c
    +++ b/lib/cpu_rmap.c
    @@ -255,7 +255,7 @@ irq_cpu_rmap_notify(struct irq_affinity_notify *notify, const cpumask_t *mask)

    rc = cpu_rmap_update(glue->rmap, glue->index, mask);
    if (rc)
    - pr_warning("irq_cpu_rmap_notify: update failed: %d\n", rc);
    + pr_warn("irq_cpu_rmap_notify: update failed: %d\n", rc);
    }

    /**
    --
    2.20.1
    \
     
     \ /
      Last update: 2019-09-20 08:10    [W:4.112 / U:0.020 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site