[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <81af0106-a732-ce45-bb1c-c45db9e1aeb9@embeddedor.com>
Date: Mon, 26 Sep 2022 17:27:41 -0500
From: "Gustavo A. R. Silva" <gustavo@...eddedor.com>
To: Mark Brown <broonie@...nel.org>,
"Gustavo A. R. Silva" <gustavoars@...nel.org>
Cc: Jaroslav Kysela <perex@...ex.cz>, Takashi Iwai <tiwai@...e.com>,
alsa-devel@...a-project.org, linux-kernel@...r.kernel.org,
linux-hardening@...r.kernel.org
Subject: Re: [PATCH][next] ASoC: SOF: control.h: Replace zero-length array
with DECLARE_FLEX_ARRAY() helper
On 9/26/22 17:12, Mark Brown wrote:
> On Mon, Sep 26, 2022 at 04:40:55PM -0500, Gustavo A. R. Silva wrote:
>> Zero-length arrays are deprecated and we are moving towards adopting
>> C99 flexible-array members, instead. So, replace zero-length arrays
>> declarations in anonymous union with the new DECLARE_FLEX_ARRAY()
>> helper macro.
>>
>> This helper allows for flexible-array members in unions.
>
> As documented in submitting-patches.rst please send patches to the
> maintainers for the code you would like to change. The normal kernel
> workflow is that people apply patches from their inboxes, if they aren't
> copied they are likely to not see the patch at all and it is much more
> difficult to apply patches.
That's exactly what I intended to do:
$ scripts/get_maintainer.pl --nokeywords --nogit --nogit-fallback include/sound/sof/control.h
Jaroslav Kysela <perex@...ex.cz> (maintainer:SOUND)
Takashi Iwai <tiwai@...e.com> (maintainer:SOUND)
alsa-devel@...a-project.org (moderated list:SOUND)
linux-kernel@...r.kernel.org (open list)
Did you see anything wrong with this or something...?
Thanks
--
Gustavo
Powered by blists - more mailing lists