OSDN Git Service

ASoC: SOF: probes: Replace [0] union members with DECLARE_FLEX_ARRAY()
authorJyri Sarha <jyri.sarha@intel.com>
Mon, 31 Oct 2022 10:51:37 +0000 (12:51 +0200)
committerMark Brown <broonie@kernel.org>
Mon, 31 Oct 2022 13:20:17 +0000 (13:20 +0000)
commitb7b080cf3c33976eb2b51f73948dd9a6109a1107
tree5bb7a2ff662e29f22f508bcf077fd3b629517372
parentcf4484a0e61e60f7c12b7b7f73cf60898f355561
ASoC: SOF: probes: Replace [0] union members with DECLARE_FLEX_ARRAY()

Replace probes related [0] arrays, all found within unions, with
DECLARE_FLEX_ARRAY() declarations.

Signed-off-by: Jyri Sarha <jyri.sarha@intel.com>
Reviewed-by: Péter Ujfalusi <peter.ujfalusi@linux.intel.com>
Reviewed-by: Kai Vehmanen <kai.vehmanen@linux.intel.com>
Reviewed-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Reviewed-by: Ranjani Sridharan <ranjani.sridharan@linux.intel.com>
Signed-off-by: Péter Ujfalusi <peter.ujfalusi@linux.intel.com>
Link: https://lore.kernel.org/r/20221031105141.19037-2-peter.ujfalusi@linux.intel.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/sof/sof-client-probes.c