]> git.baikalelectronics.ru Git - kernel.git/commit
ASoC: Intel: atom: Fix uninitialized variable compiler warning
authorHans de Goede <hdegoede@redhat.com>
Thu, 2 Apr 2020 18:53:59 +0000 (20:53 +0200)
committerMark Brown <broonie@kernel.org>
Fri, 3 Apr 2020 13:39:58 +0000 (14:39 +0100)
commit509f9485c35c14a51453b5a8e09c72a1df048863
tree72d4692b157fffd26c3de53f053452008ca5188d
parentb64160c71b03032a95c59e355ccf264e013e2186
ASoC: Intel: atom: Fix uninitialized variable compiler warning

GCC 10 gives a "variable might be used uninitialized" warning for the
block variable in sst_prepare_and_post_msg().

This is a false-positive warning, but lets fix it anyways.

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Acked-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Link: https://lore.kernel.org/r/20200402185359.3424-3-hdegoede@redhat.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/intel/atom/sst/sst_pvt.c