2
0
mirror of https://github.com/edk2-porting/linux-next.git synced 2024-12-29 15:43:59 +08:00
linux-next/sound/soc/mediatek/mt8173
Pierre-Louis Bossart 14667403a5
ASoC: mediatek: mt8173: rename local irq variable
cppcheck warning:

sound/soc/mediatek/mt8173/mt8173-afe-pcm.c:929:28: style: Local
variable 'irq' shadows outer argument [shadowArgument]
  struct mtk_base_afe_irq *irq;
                           ^
sound/soc/mediatek/mt8173/mt8173-afe-pcm.c:914:47: note: Shadowed
declaration
static irqreturn_t mt8173_afe_irq_handler(int irq, void *dev_id)
                                              ^
sound/soc/mediatek/mt8173/mt8173-afe-pcm.c:929:28: note: Shadow
variable
  struct mtk_base_afe_irq *irq;
                           ^

Not a great idea to have two 'irq' variables in the same function...

Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Link: https://lore.kernel.org/r/20210311004904.121205-5-pierre-louis.bossart@linux.intel.com
Signed-off-by: Mark Brown <broonie@kernel.org>
2021-03-12 14:29:54 +00:00
..
Makefile License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
mt8173-afe-common.h ASoC: mediatek: switch to SPDX license tag 2018-04-26 15:09:36 +01:00
mt8173-afe-pcm.c ASoC: mediatek: mt8173: rename local irq variable 2021-03-12 14:29:54 +00:00
mt8173-max98090.c ASoC: mediatek: use asoc_substream_to_rtd() 2020-07-23 19:07:32 +01:00
mt8173-rt5650-rt5514.c ASoC: mediatek: use asoc_substream_to_rtd() 2020-07-23 19:07:32 +01:00
mt8173-rt5650-rt5676.c ASoC: mediatek: use asoc_substream_to_rtd() 2020-07-23 19:07:32 +01:00
mt8173-rt5650.c ASoC: hdmi-codec: Use set_jack ops to set jack 2020-09-22 12:48:03 +01:00