public inbox for llvm@lists.linux.dev
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Cc: llvm@lists.linux.dev, oe-kbuild-all@lists.linux.dev
Subject: [morimoto:sound-cleanup-2026-03-27 102/106] sound/soc/pxa/pxa2xx-ac97.c:103:2: error: call to undeclared function 'snd_soc_dai_set_dma_data'; ISO C99 and later do not support implicit function declarations
Date: Fri, 27 Mar 2026 22:36:25 +0800	[thread overview]
Message-ID: <202603272243.4zzxmUWG-lkp@intel.com> (raw)

tree:   https://github.com/morimoto/linux sound-cleanup-2026-03-27
head:   b547ff73a13ed8ce92e8e208ccd27884077b160b
commit: 0d274db4952b307b03194e254479adefe2a1ba25 [102/106] ASoC: soc-dai: remove compatible definition
config: x86_64-buildonly-randconfig-002-20260327 (https://download.01.org/0day-ci/archive/20260327/202603272243.4zzxmUWG-lkp@intel.com/config)
compiler: clang version 20.1.8 (https://github.com/llvm/llvm-project 87f0227cb60147a26a1eeb4fb06e3b505e9c7261)
rustc: rustc 1.88.0 (6b00bc388 2025-06-23)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20260327/202603272243.4zzxmUWG-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/202603272243.4zzxmUWG-lkp@intel.com/

All errors (new ones prefixed by >>):

>> sound/soc/pxa/pxa2xx-ac97.c:103: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]
     103 |         snd_soc_dai_set_dma_data(cpu_dai, substream, dma_data);
         |         ^
   sound/soc/pxa/pxa2xx-ac97.c:118: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]
     118 |         snd_soc_dai_set_dma_data(cpu_dai, substream, dma_data);
         |         ^
   sound/soc/pxa/pxa2xx-ac97.c:128: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]
     128 |         snd_soc_dai_set_dma_data(cpu_dai, substream,
         |         ^
   3 errors generated.


vim +/snd_soc_dai_set_dma_data +103 sound/soc/pxa/pxa2xx-ac97.c

75b41027662e298 Liam Girdwood 2006-10-12   92  
58ceb57ec1be928 Daniel Mack   2015-09-30   93  static int pxa2xx_ac97_hifi_startup(struct snd_pcm_substream *substream,
f0fba2ad1b6b53d Liam Girdwood 2010-03-17   94  				    struct snd_soc_dai *cpu_dai)
75b41027662e298 Liam Girdwood 2006-10-12   95  {
d65a14587a9be85 Daniel Mack   2013-08-12   96  	struct snd_dmaengine_dai_dma_data *dma_data;
75b41027662e298 Liam Girdwood 2006-10-12   97  
75b41027662e298 Liam Girdwood 2006-10-12   98  	if (substream->stream == SNDRV_PCM_STREAM_PLAYBACK)
5f712b2b73a9fc8 Daniel Mack   2010-03-22   99  		dma_data = &pxa2xx_ac97_pcm_stereo_out;
75b41027662e298 Liam Girdwood 2006-10-12  100  	else
5f712b2b73a9fc8 Daniel Mack   2010-03-22  101  		dma_data = &pxa2xx_ac97_pcm_stereo_in;
5f712b2b73a9fc8 Daniel Mack   2010-03-22  102  
5f712b2b73a9fc8 Daniel Mack   2010-03-22 @103  	snd_soc_dai_set_dma_data(cpu_dai, substream, dma_data);
75b41027662e298 Liam Girdwood 2006-10-12  104  
75b41027662e298 Liam Girdwood 2006-10-12  105  	return 0;
75b41027662e298 Liam Girdwood 2006-10-12  106  }
75b41027662e298 Liam Girdwood 2006-10-12  107  

:::::: The code at line 103 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

                 reply	other threads:[~2026-03-27 14:36 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=202603272243.4zzxmUWG-lkp@intel.com \
    --to=lkp@intel.com \
    --cc=kuninori.morimoto.gx@renesas.com \
    --cc=llvm@lists.linux.dev \
    --cc=oe-kbuild-all@lists.linux.dev \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox