Skip to contentSkip to conversation

linux-next: build warning after merge of the sound-asoc tree

DISCUSSION Stephen Rothwell 2 participants 2 messages Feb 13, 2019 Linux-next tree

lore
Share & tools
lore
#0 lore raw

Hi all,

After merging the sound-asoc tree, today's linux-next build (arm multi_v7_defconfig) produced this warning:

sound/soc/samsung/i2s.c: In function 'samsung_i2s_remove':
sound/soc/samsung/i2s.c:1469:27: warning: unused variable 'priv' [-Wunused-variable]

  struct samsung_i2s_priv *priv = dev_get_drvdata(&pdev->dev);
                           ^~~~

Introduced by commit

a404b72d2bdd ("ASoC: samsung: i2s: Convert to single component with multiple DAIs")

Signature · 2 lines
Cheers,
Stephen Rothwell
#1 lore raw

Hi Stephen,

Quoted 6 lines · Stephen Rothwell

After merging the sound-asoc tree, today's linux-next build (arm multi_v7_defconfig) produced this warning:

sound/soc/samsung/i2s.c: In function 'samsung_i2s_remove':
sound/soc/samsung/i2s.c:1469:27: warning: unused variable 'priv' [-Wunused-variable]
struct samsung_i2s_priv *priv = dev_get_drvdata(&pdev->dev);

                            ^~~~
Quoted 4 lines

Introduced by commit

a404b72d2bdd ("ASoC: samsung: i2s: Convert to single component with multiple DAIs")

Thanks for the information. Due to my messed up rebase the line quoted above ended up in the above mentioned commit instead of in the next on in the series, which has not yet been applied:

"ASoC: samsung: i2s: Restore support for the secondary PCM"

Signature · 2 lines
Regards
Sylwester