OSDN Git Service

ASoC: Intel: Skylake: Avoid the use of one-element array
authorGustavo A. R. Silva <gustavoars@kernel.org>
Fri, 17 Jul 2020 21:55:00 +0000 (16:55 -0500)
committerMark Brown <broonie@kernel.org>
Mon, 20 Jul 2020 14:34:27 +0000 (15:34 +0100)
commit23f8d964f15a21991a166f0d1a7cf3cf8e4bfc9b
tree329b1ae74cef6d25824a0de079ff105db19d39ad
parente2978c45e5ed3bab7f69477b882ef588185b30cc
ASoC: Intel: Skylake: Avoid the use of one-element array

One-element arrays are being deprecated[1]. Replace the one-element
array with a simple value type 'u8 reserved'[2], once it seems this
is just a placeholder for alignment.

[1] https://github.com/KSPP/linux/issues/79
[2] https://github.com/KSPP/linux/issues/86

Signed-off-by: Gustavo A. R. Silva <gustavoars@kernel.org>
Tested-by: kernel test robot <lkp@intel.com>
Reviewed-by: Amadeusz Sławiński <amadeuszx.slawinski@linux.intel.com>
Link: https://github.com/GustavoARSilva/linux-hardening/blob/master/cii/0-day/skylake-20200717.md
Link: https://lore.kernel.org/r/20200717215500.GA13910@embeddedor
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/intel/skylake/skl-topology.h