From: Kees Cook <kees@kernel.org>
To: Miguel Ojeda <ojeda@kernel.org>
Cc: Arnd Bergmann <arnd@arndb.de>,
"Rafael J. Wysocki" <rafael@kernel.org>,
Len Brown <lenb@kernel.org>, Marco Elver <elver@google.com>,
Andrew Morton <akpm@linux-foundation.org>,
Przemek Kitszel <przemyslaw.kitszel@intel.com>,
Hao Luo <haoluo@google.com>,
Masahiro Yamada <masahiroy@kernel.org>,
Christophe Leroy <christophe.leroy@csgroup.eu>,
Johannes Weiner <hannes@cmpxchg.org>,
linux-acpi@vger.kernel.org, Nathan Chancellor <nathan@kernel.org>,
Nick Desaulniers <nick.desaulniers+lkml@gmail.com>,
Bill Wendling <morbo@google.com>,
Justin Stitt <justinstitt@google.com>,
Jakub Kicinski <kuba@kernel.org>,
Alexander Potapenko <glider@google.com>,
Yafang Shao <laoar.shao@gmail.com>,
Jan Hendrik Farr <kernel@jfarr.cc>,
Tony Ambardar <tony.ambardar@gmail.com>,
Alexander Lobakin <aleksander.lobakin@intel.com>,
Alice Ryhl <aliceryhl@google.com>, Tejun Heo <tj@kernel.org>,
Yoann Congal <yoann.congal@smile.fr>,
Roman Gushchin <roman.gushchin@linux.dev>,
Jens Axboe <axboe@kernel.dk>, Chen Ridong <chenridong@huawei.com>,
Mark Rutland <mark.rutland@arm.com>, Jann Horn <jannh@google.com>,
Vincent Guittot <vincent.guittot@linaro.org>,
linux-kernel@vger.kernel.org, llvm@lists.linux.dev,
linux-hardening@vger.kernel.org
Subject: Re: [PATCH] compiler_types: Introduce __nonstring_array
Date: Mon, 10 Mar 2025 14:48:51 -0700 [thread overview]
Message-ID: <202503101448.1A6978F79E@keescook> (raw)
In-Reply-To: <20250310214244.work.194-kees@kernel.org>
On Mon, Mar 10, 2025 at 02:42:48PM -0700, Kees Cook wrote:
> In file included from ../include/acpi/actbl.h:371, from ../include/acpi/acpi.h:26, from ../include/linux/acpi.h:26,
> from ../drivers/acpi/tables.c:19:
Ugh, this whole paste went poorly. I've fixed it locally. It should be:
In file included from ../include/acpi/actbl.h:371,
from ../include/acpi/acpi.h:26,
from ../include/linux/acpi.h:26,
from ../drivers/acpi/tables.c:19:
../include/acpi/actbl1.h:30:33: warning: initializer-string for array of 'char' truncates NUL terminator but destination lacks 'nonstring' attribute (5 chars into 4 available) [-Wunterminated-string-initialization]
30 | #define ACPI_SIG_BERT "BERT" /* Boot Error Record Table */
| ^~~~~~
../drivers/acpi/tables.c:400:9: note: in expansion of macro 'ACPI_SIG_BERT'
400 | ACPI_SIG_BERT, ACPI_SIG_BGRT, ACPI_SIG_CPEP, ACPI_SIG_ECDT,
| ^~~~~~~~~~~~~
../include/acpi/actbl1.h:31:33: warning: initializer-string for array of 'char' truncates NUL terminator but destination lacks 'nonstring' attribute (5 chars into 4 available) [-Wunterminated-string-initialization]
31 | #define ACPI_SIG_BGRT "BGRT" /* Boot Graphics Resource Table */
| ^~~~~~
--
Kees Cook
next prev parent reply other threads:[~2025-03-10 21:48 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-03-10 21:42 [PATCH] compiler_types: Introduce __nonstring_array Kees Cook
2025-03-10 21:48 ` Kees Cook [this message]
2025-03-10 23:04 ` Miguel Ojeda
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=202503101448.1A6978F79E@keescook \
--to=kees@kernel.org \
--cc=akpm@linux-foundation.org \
--cc=aleksander.lobakin@intel.com \
--cc=aliceryhl@google.com \
--cc=arnd@arndb.de \
--cc=axboe@kernel.dk \
--cc=chenridong@huawei.com \
--cc=christophe.leroy@csgroup.eu \
--cc=elver@google.com \
--cc=glider@google.com \
--cc=hannes@cmpxchg.org \
--cc=haoluo@google.com \
--cc=jannh@google.com \
--cc=justinstitt@google.com \
--cc=kernel@jfarr.cc \
--cc=kuba@kernel.org \
--cc=laoar.shao@gmail.com \
--cc=lenb@kernel.org \
--cc=linux-acpi@vger.kernel.org \
--cc=linux-hardening@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=llvm@lists.linux.dev \
--cc=mark.rutland@arm.com \
--cc=masahiroy@kernel.org \
--cc=morbo@google.com \
--cc=nathan@kernel.org \
--cc=nick.desaulniers+lkml@gmail.com \
--cc=ojeda@kernel.org \
--cc=przemyslaw.kitszel@intel.com \
--cc=rafael@kernel.org \
--cc=roman.gushchin@linux.dev \
--cc=tj@kernel.org \
--cc=tony.ambardar@gmail.com \
--cc=vincent.guittot@linaro.org \
--cc=yoann.congal@smile.fr \
/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