Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1345661
| From | Michael Ellerman <mpe@ellerman.id.au> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: [V2] arch/powerpc: use BUILD_BUG_ON_MSG() when detect unfit {cmp}xchg size |
| Date | 2016-02-29 12:10 +0100 |
| Message-ID | <r7tSb-2et-37@gated-at.bofh.it> (permalink) |
| References | <r5j0S-4sa-19@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
On Tue, 2016-23-02 at 11:05:01 UTC, xinhui wrote:
> From: pan xinhui <xinhui.pan@linux.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@linux.vnet.ibm.com>
Applied to powerpc next, thanks.
https://git.kernel.org/powerpc/c/10d8b1480e6966ba03cd3afad3
cheers
Back to linux.kernel | Previous | Next — Previous in thread | Find similar | Unroll thread
[PATCH V2] arch/powerpc: use BUILD_BUG_ON_MSG() when detect unfit {cmp}xchg size Pan Xinhui <xinhui@linux.vnet.ibm.com> - 2016-02-23 12:10 +0100
Re: [V2] arch/powerpc: use BUILD_BUG_ON_MSG() when detect unfit {cmp}xchg size Michael Ellerman <mpe@ellerman.id.au> - 2016-02-29 12:10 +0100
csiph-web