Re: [PATCH] firmware: arm_scmi: Replace zero-length array with flexible-array member
From: Sudeep Holla
Date: Tue Apr 05 2022 - 16:18:14 EST
On Fri, 1 Apr 2022 07:55:37 +0000, cgel.zte@xxxxxxxxx wrote:
> From: Lv Ruyi <lv.ruyi@xxxxxxxxxx>
>
> 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