2022-04-06 11:13:01

by Sudeep Holla

[permalink] [raw]
Subject: Re: [PATCH] firmware: arm_scmi: Replace zero-length array with flexible-array member

On Fri, 1 Apr 2022 07:55:37 +0000, [email protected] wrote:
> From: Lv Ruyi <[email protected]>
>
> 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].
>
> [...]

Applied to sudeep.holla/linux (fixes/scmi), thanks!

[1/1] firmware: arm_scmi: Replace zero-length array with flexible-array member
https://git.kernel.org/sudeep.holla/c/f1ad601d1f

--
Regards,
Sudeep