[PATCH v5 14/21] ASoC: qdsp6: audioreach: add basic pkt alloc support

Mark Brown broonie at kernel.org
Fri Sep 3 19:29:27 CEST 2021


On Fri, Sep 03, 2021 at 09:23:32AM -0500, Pierre-Louis Bossart wrote:

> > +struct apm_sub_graph_params  {
> > +	struct apm_module_param_data param_data;
> > +	uint32_t num_sub_graphs;
> > +	struct apm_sub_graph_data sg_cfg[0];

> I thought the use of zero-length arrays [0] was deprecated in favor of
> flexible arrays []?

Yes.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: not available
URL: <http://mailman.alsa-project.org/pipermail/alsa-devel/attachments/20210903/a1d9e396/attachment.sig>


More information about the Alsa-devel mailing list