[PATCH] sound: Replace zero-length array with flexible-array member

Gustavo A. R. Silva gustavo at embeddedor.com
Thu Feb 20 19:52:28 CET 2020



On 2/20/20 12:45, Mark Brown wrote:
> On Thu, Feb 20, 2020 at 07:24:20AM -0600, Gustavo A. R. Silva wrote:
>> The current codebase makes use of the zero-length array language
>> extension to the C90 standard, but the preferred mechanism to declare
>> variable-length types such as these ones is a flexible array member[1][2],
>> introduced in C99:
> 
> Acked-by: Mark Brown <broonie at kernel.org>
> 

Thanks, Mark.

--
Gustavo


More information about the Alsa-devel mailing list