2010-11-08 11:00:39

by Michal Nazarewicz

[permalink] [raw]
Subject: Re: [PATCH 34/39] mm: Update WARN uses

On Sat, 30 Oct 2010 23:08:51 +0200, Joe Perches <[email protected]> wrote:
> diff --git a/mm/percpu.c b/mm/percpu.c
> @@ -715,8 +715,8 @@ static void __percpu *pcpu_alloc(size_t size, size_t align, bool reserved)
> unsigned long flags;
> if (unlikely(!size || size > PCPU_MIN_UNIT_SIZE || align > PAGE_SIZE)) {
> - WARN(true, "illegal size (%zu) or align (%zu) for "
> - "percpu allocation\n", size, align);
> + WARN(true, "illegal size (%zu) or align (%zu) for percpu allocation\n",
> + size, align);
> return NULL;
> }

The above is a bit grep-unfriendly though. Just my 0.02 PLN.

--
Best regards, _ _
| Humble Liege of Serenely Enlightened Majesty of o' \,=./ `o
| Computer Science, MichaƂ "mina86" Nazarewicz (o o)
+----[mina86*mina86.com]---[mina86*jabber.org]----ooO--(_)--Ooo--