* [morimoto:sound-cleanup-2026-06-19 319/326] sound/soc/pxa/pxa2xx-ac97.c:104:2: error: call to undeclared function 'snd_soc_dai_set_dma_data'; ISO C99 and later do not support implicit function declarations
@ 2026-06-24 13:13 kernel test robot
0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2026-06-24 13:13 UTC (permalink / raw)
To: Kuninori Morimoto; +Cc: oe-kbuild-all
tree: https://github.com/morimoto/linux sound-cleanup-2026-06-19
head: 885feafb1fe92b67450ae8ac4996368e3a6dd242
commit: 9a70f5b9284a3f7bee5108779ab4e58a8480d6fd [319/326] ASoC: soc-dai: remove compatible definition
config: sparc64-randconfig-r123-20260624 (https://download.01.org/0day-ci/archive/20260624/202606242123.84ypu2tI-lkp@intel.com/config)
compiler: clang version 23.0.0git (https://github.com/llvm/llvm-project a9b492db3d50683e446cd1a5c9ffaf4e92cb77a7)
sparse: v0.6.5-rc1
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20260624/202606242123.84ypu2tI-lkp@intel.com/reproduce)
If you fix the issue in a separate patch/commit (i.e. not just a new version of
the same patch/commit), kindly add following tags
| Reported-by: kernel test robot <lkp@intel.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202606242123.84ypu2tI-lkp@intel.com/
All errors (new ones prefixed by >>):
>> sound/soc/pxa/pxa2xx-ac97.c:104:2: error: call to undeclared function 'snd_soc_dai_set_dma_data'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
104 | snd_soc_dai_set_dma_data(cpu_dai, substream, dma_data);
| ^
sound/soc/pxa/pxa2xx-ac97.c:119:2: error: call to undeclared function 'snd_soc_dai_set_dma_data'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
119 | snd_soc_dai_set_dma_data(cpu_dai, substream, dma_data);
| ^
sound/soc/pxa/pxa2xx-ac97.c:129:2: error: call to undeclared function 'snd_soc_dai_set_dma_data'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
129 | snd_soc_dai_set_dma_data(cpu_dai, substream,
| ^
3 errors generated.
vim +/snd_soc_dai_set_dma_data +104 sound/soc/pxa/pxa2xx-ac97.c
75b41027662e29 Liam Girdwood 2006-10-12 93
58ceb57ec1be92 Daniel Mack 2015-09-30 94 static int pxa2xx_ac97_hifi_startup(struct snd_pcm_substream *substream,
f0fba2ad1b6b53 Liam Girdwood 2010-03-17 95 struct snd_soc_dai *cpu_dai)
75b41027662e29 Liam Girdwood 2006-10-12 96 {
d65a14587a9be8 Daniel Mack 2013-08-12 97 struct snd_dmaengine_dai_dma_data *dma_data;
75b41027662e29 Liam Girdwood 2006-10-12 98
75b41027662e29 Liam Girdwood 2006-10-12 99 if (substream->stream == SNDRV_PCM_STREAM_PLAYBACK)
5f712b2b73a9fc Daniel Mack 2010-03-22 100 dma_data = &pxa2xx_ac97_pcm_stereo_out;
75b41027662e29 Liam Girdwood 2006-10-12 101 else
5f712b2b73a9fc Daniel Mack 2010-03-22 102 dma_data = &pxa2xx_ac97_pcm_stereo_in;
5f712b2b73a9fc Daniel Mack 2010-03-22 103
5f712b2b73a9fc Daniel Mack 2010-03-22 @104 snd_soc_dai_set_dma_data(cpu_dai, substream, dma_data);
75b41027662e29 Liam Girdwood 2006-10-12 105
75b41027662e29 Liam Girdwood 2006-10-12 106 return 0;
75b41027662e29 Liam Girdwood 2006-10-12 107 }
75b41027662e29 Liam Girdwood 2006-10-12 108
:::::: The code at line 104 was first introduced by commit
:::::: 5f712b2b73a9fc87fcc52124cfe8adefaa0c92f5 ALSA: ASoC: move dma_data from snd_soc_dai to snd_soc_pcm_stream
:::::: TO: Daniel Mack <daniel@caiaq.de>
:::::: CC: Mark Brown <broonie@opensource.wolfsonmicro.com>
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2026-06-24 13:14 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-06-24 13:13 [morimoto:sound-cleanup-2026-06-19 319/326] sound/soc/pxa/pxa2xx-ac97.c:104:2: error: call to undeclared function 'snd_soc_dai_set_dma_data'; ISO C99 and later do not support implicit function declarations kernel test robot
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.