From: "Gustavo A. R. Silva" <gustavo@embeddedor.com>
To: "Thomas Weißschuh" <thomas@weissschuh.net>
Cc: "Gustavo A. R. Silva" <gustavoars@kernel.org>,
Lee Jones <lee@kernel.org>, Pavel Machek <pavel@kernel.org>,
Benson Leung <bleung@chromium.org>,
Guenter Roeck <groeck@chromium.org>,
linux-leds@vger.kernel.org, chrome-platform@lists.linux.dev,
linux-kernel@vger.kernel.org, linux-hardening@vger.kernel.org
Subject: Re: [PATCH][next] leds: Avoid -Wflex-array-member-not-at-end warning
Date: Mon, 31 Mar 2025 11:04:02 -0600 [thread overview]
Message-ID: <0a1f5cad-3ebb-4063-bb79-117574da521c@embeddedor.com> (raw)
In-Reply-To: <c5e292a2-927f-472b-a805-e70003319edd@t-8ch.de>
> My issue was with the general usage of DEFINE_RAW_FLEX(), the reply was
> placed badly. For somebody not knowing this construct it's not clear
> what is happening under the hood.
> It's probably fine in a regular header file with some explanation,
> but in a random driver it looks off.
>
> The following is what I had in mind. Now actually tested.
OK, let's go with that :)
https://lore.kernel.org/linux-hardening/Z-rKcgFjsyKvd58q@kspp/
Thanks!
--
Gustavo
prev parent reply other threads:[~2025-03-31 17:04 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-03-28 14:33 Gustavo A. R. Silva
2025-03-28 18:31 ` Thomas Weißschuh
2025-03-28 18:51 ` Gustavo A. R. Silva
2025-03-29 9:32 ` Thomas Weißschuh
2025-03-31 17:04 ` Gustavo A. R. Silva [this message]
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=0a1f5cad-3ebb-4063-bb79-117574da521c@embeddedor.com \
--to=gustavo@embeddedor.com \
--cc=bleung@chromium.org \
--cc=chrome-platform@lists.linux.dev \
--cc=groeck@chromium.org \
--cc=gustavoars@kernel.org \
--cc=lee@kernel.org \
--cc=linux-hardening@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-leds@vger.kernel.org \
--cc=pavel@kernel.org \
--cc=thomas@weissschuh.net \
/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
all inboxes | Powered by JetHome®