Messages in this thread | | | Subject | Re: [PATCH 2/2] mm: Changed pr_warning() to pr_warn() | From | Joe Perches <> | Date | Sun, 09 Mar 2014 15:15:55 -0700 |
| |
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.
| |