mirror_ubuntu-kernels/sound/soc/intel/skylake
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
..
bxt-sst.c ASoC: Intel: Skylake: Unassign ram_read and read_write ops 2020-10-06 15:12:24 +01:00
cnl-sst-dsp.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 490 2019-06-19 17:09:52 +02:00
cnl-sst-dsp.h ASoC: Intel: Skylake: (cosmetic) align function parameters 2020-08-18 11:50:26 +01:00
cnl-sst.c ASoC: Intel: fix error code cnl_set_dsp_D0() 2020-12-14 17:29:59 +00:00
Makefile ASoC: Intel: Skylake: Compile when any configuration is selected 2021-03-10 13:07:21 +00:00
skl-debug.c ASoC: intel: skl: Fix possible buffer overflow in debug outputs 2020-02-19 13:36:15 +00:00
skl-i2s.h ASoC: Intel: Skylake: Replace zero-length array with flexible-array 2020-05-12 17:14:33 +01:00
skl-messages.c ASoC: Intel: Skylake: Properly configure modules with generic extension 2021-08-23 16:40:04 +01:00
skl-nhlt.c ASoC: Intel: skylake: Replace sprintf() with sysfs_emit() 2022-08-15 01:19:48 +01:00
skl-pcm.c ASoC: Intel: skylake: skl-pcm: use pm_runtime_resume_and_get() 2022-06-27 13:17:53 +01:00
skl-ssp-clk.c ASoC: SOF/Intel: clarify SPDX license with GPL-2.0-only 2020-05-01 17:45:24 +01:00
skl-ssp-clk.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 285 2019-06-05 17:36:37 +02:00
skl-sst-cldma.c ASoC: Intel: Skylake: cldma: remove redundant initialization 2020-08-18 11:50:22 +01:00
skl-sst-cldma.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 490 2019-06-19 17:09:52 +02:00
skl-sst-dsp.c ASoC: Intel: Remove sst_pdata structure 2020-10-06 15:12:28 +01:00
skl-sst-dsp.h ASoC: Intel: Skylake: Await purge request ack on CNL 2020-03-10 17:44:29 +00:00
skl-sst-ipc.c ASoC: Intel: Remove sst_dsp_get_thread_context 2020-10-06 15:12:29 +01:00
skl-sst-ipc.h ASoC: Intel: Skylake: (cosmetic) align function parameters 2020-08-18 11:50:26 +01:00
skl-sst-utils.c ASoC: Intel: Skylake: sst-utils: remove redundant assignment 2020-08-18 11:50:23 +01:00
skl-sst.c ASoC: Intel: Skylake: Unassign ram_read and read_write ops 2020-10-06 15:12:24 +01:00
skl-topology.c ASoC: Intel: Skylake: remove redundant re-assignments to pointer array 2022-06-16 09:31:18 +01:00
skl-topology.h ASoC: Intel: Skylake: Replace zero-length arrays with DECLARE_FLEX_ARRAY() helper 2022-09-27 12:08:02 +01:00
skl.c ASoC: Intel: skylake: remove unnecessary dev_set_drvdata() 2022-09-23 17:54:16 +01:00
skl.h ASoC: Intel: Skylake: Use NHLT API to search for blob 2021-11-30 16:49:34 +01:00