[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <alpine.LFD.2.00.1003191758460.18017@i5.linux-foundation.org>
Date: Fri, 19 Mar 2010 18:00:09 -0700 (PDT)
From: Linus Torvalds <torvalds@...ux-foundation.org>
To: Yinghai Lu <yinghai@...nel.org>
cc: "H. Peter Anvin" <hpa@...or.com>, Ingo Molnar <mingo@...e.hu>,
Thomas Gleixner <tglx@...utronix.de>,
linux-kernel@...r.kernel.org,
Ian Campbell <ian.campbell@...rix.com>,
Peter Zijlstra <peterz@...radead.org>
Subject: Re: [PATCH -v4] x86: do not free zero sized per cpu areas
On Fri, 19 Mar 2010, Yinghai Lu wrote:
> +
> + if (start > end) {
> + WARN_ONCE(1,
> + "free_early_partial got wrong start/end %#llx/%#llx\n",
> + start, end);
> +
> + return;
This should be written as
if (WARN_ONCE(start > end, "free_early_partial(%#llx/%#llx)\n", start, end))
return;
rather than having a separate conditional.
Linus
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists