[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <164916896263.1245964.9249363820319711355.b4-ty@arm.com>
Date: Tue, 5 Apr 2022 15:32:37 +0100
From: Sudeep Holla <sudeep.holla@....com>
To: cgel.zte@...il.com
Cc: Sudeep Holla <sudeep.holla@....com>,
linux-arm-kernel@...ts.infradead.org,
Zeal Robot <zealci@....com.cn>, linux-kernel@...r.kernel.org,
Lv Ruyi <lv.ruyi@....com.cn>, cristian.marussi@....com
Subject: Re: [PATCH] firmware: arm_scmi: Replace zero-length array with flexible-array member
On Fri, 1 Apr 2022 07:55:37 +0000, cgel.zte@...il.com wrote:
> From: Lv Ruyi <lv.ruyi@....com.cn>
>
> 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
Powered by blists - more mailing lists