[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <164512273904.3993052.15786188783009967860.b4-ty@kernel.org>
Date: Thu, 17 Feb 2022 18:32:19 +0000
From: Mark Brown <broonie@...nel.org>
To: Ranjani Sridharan <ranjani.sridharan@...ux.intel.com>,
Stephen Kitt <steve@....org>, Jaroslav Kysela <perex@...ex.cz>,
Takashi Iwai <tiwai@...e.com>,
Kai Vehmanen <kai.vehmanen@...ux.intel.com>,
Pierre-Louis Bossart <pierre-louis.bossart@...ux.intel.com>,
Liam Girdwood <lgirdwood@...il.com>,
Daniel Baluta <daniel.baluta@....com>
Cc: linux-kernel@...r.kernel.org, sound-open-firmware@...a-project.org,
alsa-devel@...a-project.org,
"Gustavo A . R . Silva" <gustavoars@...nel.org>
Subject: Re: [PATCH] ASoC: SOF: Replace zero-length array with flexible-array member
On Thu, 17 Feb 2022 14:27:55 +0100, Stephen Kitt wrote:
> There is a regular need in the kernel to provide a way to declare having
> a dynamically sized set of trailing elements in a structure. Kernel code
> should always use "flexible array members"[1] for these cases. The older
> style of one-element or zero-length arrays should no longer be used[2].
>
> This helps with the ongoing efforts to globally enable -Warray-bounds
> and get us closer to being able to tighten the FORTIFY_SOURCE routines
> on memcpy().
>
> [...]
Applied to
https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git for-next
Thanks!
[1/1] ASoC: SOF: Replace zero-length array with flexible-array member
commit: 4fe6a63077a6d3c143d68f6b96e4051f1d0740ac
All being well this means that it will be integrated into the linux-next
tree (usually sometime in the next 24 hours) and sent to Linus during
the next merge window (or sooner if it is a bug fix), however if
problems are discovered then the patch may be dropped or reverted.
You may get further e-mails resulting from automated or manual testing
and review of the tree, please engage with people reporting problems and
send followup patches addressing any issues that are reported if needed.
If any updates are required or you are submitting further changes they
should be sent as incremental updates against current git, existing
patches will not be replaced.
Please add any relevant lists and maintainers to the CCs when replying
to this mail.
Thanks,
Mark
Powered by blists - more mailing lists