linux/sound/soc/intel
Gustavo A. R. Silva 6fed3265c3
ASoC: Intel: Skylake: Replace zero-length arrays with DECLARE_FLEX_ARRAY() helper
Zero-length arrays are deprecated and we are moving towards adopting
C99 flexible-array members, instead. So, replace zero-length arrays
declarations in anonymous union with the new DECLARE_FLEX_ARRAY()
helper macro.

This helper allows for flexible-array members in unions.

Link: https://github.com/KSPP/linux/issues/193
Link: https://github.com/KSPP/linux/issues/226
Link: https://gcc.gnu.org/onlinedocs/gcc/Zero-Length.html
Signed-off-by: Gustavo A. R. Silva <gustavoars@kernel.org>
Reviewed-by: Kees Cook <keescook@chromium.org>
Reviewed-by: Amadeusz Sławiński <amadeuszx.slawinski@linux.intel.com>
Link: https://lore.kernel.org/r/YzIuiUul2CwPlkKh@work
Signed-off-by: Mark Brown <broonie@kernel.org>
2022-09-27 12:08:02 +01:00
..
atom ASoC: Intel: sst: Replace sprintf() with sysfs_emit() 2022-08-15 01:19:46 +01:00
avs ASoC: soc-core.c: setup rtd->pmdown_time at soc_new_pcm_runtime() 2022-09-19 17:52:41 +01:00
boards ASoC: Intel: sof_da7219_mx98360a: Access num_codecs through dai_link 2022-09-23 13:56:26 +01:00
catpt ASoC: Intel: catpt: Drop SND_SOC_ACPI_INTEL_MATCH dependency 2022-08-16 13:08:03 +01:00
common ASoC: Intel: soc-acpi-intel-rpl-match: add rpl_sdca_3_in_1 support 2022-09-20 19:08:25 +01:00
keembay ASoC: Intel: Migrate to new style legacy DAI naming flag 2022-06-27 13:16:27 +01:00
skylake ASoC: Intel: Skylake: Replace zero-length arrays with DECLARE_FLEX_ARRAY() helper 2022-09-27 12:08:02 +01:00
Kconfig ASoC: Intel: catpt: Drop SND_SOC_ACPI_INTEL_MATCH dependency 2022-08-16 13:08:03 +01:00
Makefile ASoC: Intel: Introduce AVS driver 2022-03-11 16:23:54 +00:00