[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20160229110524.59951140662@ozlabs.org>
Date: Mon, 29 Feb 2016 22:05:24 +1100 (AEDT)
From: Michael Ellerman <mpe@...erman.id.au>
To: xinhui <xinhui@...ux.vnet.ibm.com>, linux-kernel@...r.kernel.org,
linuxppc-dev@...ts.ozlabs.org
Cc: "Peter Zijlstra \(Intel\)" <peterz@...radead.org>,
Boqun Feng <boqun.feng@...il.com>,
Paul Mackerras <paulus@...ba.org>,
Thomas Gleixner <tglx@...utronix.de>,
"Paul E. McKenney" <paulmck@...ux.vnet.ibm.com>
Subject: Re: [V2] arch/powerpc: use BUILD_BUG_ON_MSG() when detect unfit {cmp}xchg size
On Tue, 2016-23-02 at 11:05:01 UTC, xinhui wrote:
> From: pan xinhui <xinhui.pan@...ux.vnet.ibm.com>
>
> __xchg_called_with_bad_pointer() can't tell us what codes use {cmp}xchg
> in incorrect way. And no error will be reported until the link stage.
> To fix such a kind of issues easily, we use BUILD_BUG_ON_MSG() here.
>
> Signed-off-by: pan xinhui <xinhui.pan@...ux.vnet.ibm.com>
Applied to powerpc next, thanks.
https://git.kernel.org/powerpc/c/10d8b1480e6966ba03cd3afad3
cheers
Powered by blists - more mailing lists