Skip to contentSkip to conversation

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

DISCUSSION Stephen Rothwell 2 participants 2 messages Dec 12, 2023 Linux-next tree

lore
Share & tools
lore
#0 lore raw

Hi all,

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

sound/soc/codecs/cs42l43.c:142:6: warning: no previous prototype for 'cs42l43_hp_ilimit_clear_work' [-Wmissing-prototypes]
142 | void cs42l43_hp_ilimit_clear_work(struct work_struct *work)

      |      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
sound/soc/codecs/cs42l43.c:159:6: warning: no previous prototype for 'cs42l43_hp_ilimit_work' [-Wmissing-prototypes]
  159 | void cs42l43_hp_ilimit_work(struct work_struct *work)
      |      ^~~~~~~~~~~~~~~~~~~~~~

Introduced by commit

bbbc18d8c27c ("ASoC: cs42l43: Allow HP amp to cool off after current limit")

Maybe they should just be static?

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

Hi all,

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

sound/soc/codecs/cs42l43.c:142:6: warning: no previous prototype for 'cs42l43_hp_ilimit_clear_work' [-Wmissing-prototypes]
142 | void cs42l43_hp_ilimit_clear_work(struct work_struct *work)

      |      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
sound/soc/codecs/cs42l43.c:159:6: warning: no previous prototype for 'cs42l43_hp_ilimit_work' [-Wmissing-prototypes]
  159 | void cs42l43_hp_ilimit_work(struct work_struct *work)
      |      ^~~~~~~~~~~~~~~~~~~~~~
Quoted 6 lines

Introduced by commit

bbbc18d8c27c ("ASoC: cs42l43: Allow HP amp to cool off after current limit")

Maybe they should just be static?

Yeah they should be static sorry, will send a patch today.

Thanks,
Charles