]> git.baikalelectronics.ru Git - kernel.git/commit
ASoC: SOF: control: fix cppcheck warning in snd_sof_volume_info()
authorPierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Fri, 4 Dec 2020 17:03:13 +0000 (19:03 +0200)
committerMark Brown <broonie@kernel.org>
Fri, 4 Dec 2020 23:26:32 +0000 (23:26 +0000)
commitc69b54b6e7374ca199ba92aa14990df0c2869c39
treeb0d37e5aaa67a8dc50c278ad67a905db4fd1a5bb
parentda660daf1d6f4529b48995e37f18ae552dd27f1d
ASoC: SOF: control: fix cppcheck warning in snd_sof_volume_info()

Fix cppcheck warning:

sound/soc/sof/control.c:117:82: style:inconclusive: Function
'snd_sof_volume_info' argument 2 names different: declaration
'ucontrol' definition 'uinfo'. [funcArgNamesDifferent]

Fixes: 1bb9aa9858f6 ("ASoC: SOF: control: override volume info callback")
Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Signed-off-by: Kai Vehmanen <kai.vehmanen@linux.intel.com>
Link: https://lore.kernel.org/r/20201204170313.2704499-1-kai.vehmanen@linux.intel.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/sof/sof-audio.h