[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20110329073037.GK27398@elte.hu>
Date: Tue, 29 Mar 2011 09:30:37 +0200
From: Ingo Molnar <mingo@...e.hu>
To: Alexey Dobriyan <adobriyan@...il.com>
Cc: Steven Rostedt <rostedt@...dmis.org>,
"H. Peter Anvin" <hpa@...or.com>,
richard -rw- weinberger <richard.weinberger@...il.com>,
linux-kernel@...r.kernel.org, mingo@...hat.com,
torvalds@...ux-foundation.org, srostedt@...hat.com,
tglx@...utronix.de, linux-tip-commits@...r.kernel.org
Subject: Re: [tip:core/urgent] WARN_ON_SMP(): Add comment to explain ({0;})
* Alexey Dobriyan <adobriyan@...il.com> wrote:
> On Mon, Mar 28, 2011 at 11:09:00AM -0400, Steven Rostedt wrote:
> > Geeze, I never expected such a fuss over a simple change ;)
>
> And it's still broken ;-)
>
> WARN_ON_SMP(x) should expand to x, not 0.
Dunno, we really do not want to *guarantee* side-effects in WARN_ON()
constructs.
Thanks,
Ingo
--
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