lkml.org 
[lkml]   [2014]   [Mar]   [9]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [PATCH 2/2] mm: Changed pr_warning() to pr_warn()
From
Date
On Sun, 2014-03-09 at 17:15 +0900, Choi Gi-yong wrote:
> Signed-off-by: Choi Gi-yong <yong@gnoy.org>

[]

> diff --git a/mm/percpu.c b/mm/percpu.c

> @@ -812,8 +812,8 @@ fail_unlock:
> fail_unlock_mutex:
> mutex_unlock(&pcpu_alloc_mutex);
> if (warn_limit) {
> - pr_warn("PERCPU: allocation failed, size=%zu align=%zu, "
> - "%s\n", size, align, err);
> + pr_warn("PERCPU: allocation failed, size=%zu align=%zu, %s\n",
> + size, align, err);

The second line should use 3 tabs for indentation.

pr_warn("PERCPU: allocation failed, size=%zu align=%zu, %s\n",
size, align, err);

If you want to become familiar with kernel style
and patching something, please practice on some
files in drivers/staging.



\
 
 \ /
  Last update: 2014-03-09 23:41    [W:0.059 / U:1.528 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site