diff options
author | Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com> | 2021-03-26 16:59:26 -0500 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2021-03-31 18:03:27 +0100 |
commit | 5b920abeea03302e561b036181a6a5be4e53a584 (patch) | |
tree | 1c4e74901fda552eea2929de57ea81699520303a /Documentation/CodingStyle | |
parent | 3d37b27fffb311c521d61144e57ea4d40e31ab9b (diff) |
ASoC: ux500: mop500: rename shadowing variable
cppcheck warning:
sound/soc/ux500/mop500.c:143:23: style: Local variable 'mop500_card'
shadows outer variable [shadowVariable]
struct snd_soc_card *mop500_card = platform_get_drvdata(pdev);
^
sound/soc/ux500/mop500.c:54:28: note: Shadowed declaration
static struct snd_soc_card mop500_card = {
^
sound/soc/ux500/mop500.c:143:23: note: Shadow variable
struct snd_soc_card *mop500_card = platform_get_drvdata(pdev);
^
Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Link: https://lore.kernel.org/r/20210326215927.936377-17-pierre-louis.bossart@linux.intel.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'Documentation/CodingStyle')
0 files changed, 0 insertions, 0 deletions