OpenCloudOS-Kernel/sound/soc/mediatek/mt2701
Pierre-Louis Bossart d9cdc13356
ASoC: mediatek: mt2701: rename shadowed array
cppcheck warning:

sound/soc/mediatek/mt2701/mt2701-afe-pcm.c:406:36: style: Local
variable 'memif_data' shadows outer variable [shadowVariable]
 const struct mtk_base_memif_data *memif_data;
                                   ^
sound/soc/mediatek/mt2701/mt2701-afe-pcm.c:977:41: note: Shadowed
declaration
static const struct mtk_base_memif_data memif_data[MT2701_MEMIF_NUM] = {
                                        ^
sound/soc/mediatek/mt2701/mt2701-afe-pcm.c:406:36: note: Shadow
variable
 const struct mtk_base_memif_data *memif_data;
                                   ^
sound/soc/mediatek/mt2701/mt2701-afe-pcm.c:431:36: style: Local
variable 'memif_data' shadows outer variable [shadowVariable]
 const struct mtk_base_memif_data *memif_data;
                                   ^
sound/soc/mediatek/mt2701/mt2701-afe-pcm.c:977:41: note: Shadowed
declaration
static const struct mtk_base_memif_data memif_data[MT2701_MEMIF_NUM] = {
                                        ^
sound/soc/mediatek/mt2701/mt2701-afe-pcm.c:431:36: note: Shadow
variable
 const struct mtk_base_memif_data *memif_data;
                                   ^

Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Link: https://lore.kernel.org/r/20210311004904.121205-4-pierre-louis.bossart@linux.intel.com
Signed-off-by: Mark Brown <broonie@kernel.org>
2021-03-12 14:29:53 +00:00
..
Makefile ASoC: mediatek: switch to SPDX license tag 2018-04-26 15:09:36 +01:00
mt2701-afe-clock-ctrl.c ASoC: mediatek: switch to SPDX license tag 2018-04-26 15:09:36 +01:00
mt2701-afe-clock-ctrl.h ASoC: mediatek: mt2701: align function prototype 2021-03-12 14:29:52 +00:00
mt2701-afe-common.h ASoC: mediatek: mt2701: Fix -Wunused-const-variable warnings 2019-08-22 18:29:01 +01:00
mt2701-afe-pcm.c ASoC: mediatek: mt2701: rename shadowed array 2021-03-12 14:29:53 +00:00
mt2701-cs42448.c ASoC: mediatek: use asoc_substream_to_rtd() 2020-07-23 19:07:32 +01:00
mt2701-reg.h ASoC: mediatek: switch to SPDX license tag 2018-04-26 15:09:36 +01:00
mt2701-wm8960.c ASoC: mediatek: use asoc_substream_to_rtd() 2020-07-23 19:07:32 +01:00