From: Alexey Dobriyan <adobriyan@gmail.com>
To: linux-kernel@vger.kernel.org
Cc: yamada.masahiro@socionext.com, ndesaulniers@google.com,
luc.vanoostenryck@gmail.com, keescook@chromium.org,
linux@rasmusvillemoes.dk
Subject: Re: [to-be-updated] build_bugh-add-wrapper-for-_static_assert.patch removed from -mm tree
Date: Sat, 9 Feb 2019 16:00:47 +0300 [thread overview]
Message-ID: <20190209130047.GA11849@avx2> (raw)
In-Reply-To: <20190208215824.zhXpv%akpm@linux-foundation.org>
On Fri, Feb 08, 2019 at 01:58:24PM -0800, akpm@linux-foundation.org wrote:
> --- a/include/linux/build_bug.h~build_bugh-add-wrapper-for-_static_assert
> +++ a/include/linux/build_bug.h
> +#define static_assert(expr, ...) __static_assert(expr, ##__VA_ARGS__, #expr)
> +#define __static_assert(expr, msg, ...) _Static_assert(expr, "" msg "")
I suggest adding it to assert.h like userspace does:
#include <assert.h>
parent reply other threads:[~2019-02-09 13:00 UTC|newest]
Thread overview: expand[flat|nested] mbox.gz Atom feed
[parent not found: <20190208215824.zhXpv%akpm@linux-foundation.org>]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20190209130047.GA11849@avx2 \
--to=adobriyan@gmail.com \
--cc=keescook@chromium.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux@rasmusvillemoes.dk \
--cc=luc.vanoostenryck@gmail.com \
--cc=ndesaulniers@google.com \
--cc=yamada.masahiro@socionext.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox