All of lore.kernel.org
 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-06-26 325/328] sound/soc/fsl/mpc5200_dma.c:305:19: error: incomplete definition of type 'struct snd_soc_component'
Date: Fri, 26 Jun 2026 20:49:07 +0800	[thread overview]
Message-ID: <202606262024.B3aEpknN-lkp@intel.com> (raw)

tree:   https://github.com/morimoto/linux sound-cleanup-2026-06-26
head:   3b1a6af55c000fdba23910aeb597cb608b44bed6
commit: c085b7e7f9341cb11ce08b5cc0cb7d47ecac602b [325/328] ASoC: soc-component: capsuling Component
config: powerpc-randconfig-001-20260626 (https://download.01.org/0day-ci/archive/20260626/202606262024.B3aEpknN-lkp@intel.com/config)
compiler: clang version 23.0.0git (https://github.com/llvm/llvm-project 6cc609bb250b21b47fc7d394b4019101e9983597)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20260626/202606262024.B3aEpknN-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/202606262024.B3aEpknN-lkp@intel.com/

All errors (new ones prefixed by >>):

>> sound/soc/fsl/mpc5200_dma.c:305:19: error: incomplete definition of type 'struct snd_soc_component'
     305 |         dev_dbg(component->dev, "psc_dma_new(card=%p, dai=%p, pcm=%p)\n",
         |                 ~~~~~~~~~^
   include/sound/soc.h:422:8: note: forward declaration of 'struct snd_soc_component'
     422 | struct snd_soc_component;
         |        ^
   sound/soc/fsl/mpc5200_dma.c:317:3: error: field designator 'name' does not refer to any field in type 'const struct snd_soc_component_driver'
     317 |         .name           = DRV_NAME,
         |         ~^~~~~~~~~~~~~~~~~~~~~~~~~
   2 errors generated.


vim +305 sound/soc/fsl/mpc5200_dma.c

89dd0842527377 Jon Smirl         2009-05-23  295  
6d1048bc115259 Kuninori Morimoto 2019-10-02  296  static int psc_dma_new(struct snd_soc_component *component,
6d1048bc115259 Kuninori Morimoto 2019-10-02  297  		       struct snd_soc_pcm_runtime *rtd)
89dd0842527377 Jon Smirl         2009-05-23  298  {
552d1ef6b5a98d Liam Girdwood     2011-06-07  299  	struct snd_card *card = rtd->card->snd_card;
14ec63f678e8be Kuninori Morimoto 2023-09-11  300  	struct snd_soc_dai *dai = snd_soc_rtd_to_cpu(rtd, 0);
552d1ef6b5a98d Liam Girdwood     2011-06-07  301  	struct snd_pcm *pcm = rtd->pcm;
dbcc3475623459 Jon Smirl         2009-05-26  302  	size_t size = psc_dma_hardware.buffer_bytes_max;
c9bd5e690a439d Russell King      2013-06-27  303  	int rc;
89dd0842527377 Jon Smirl         2009-05-23  304  
60bceb8029e26c Kuninori Morimoto 2018-01-29 @305  	dev_dbg(component->dev, "psc_dma_new(card=%p, dai=%p, pcm=%p)\n",
89dd0842527377 Jon Smirl         2009-05-23  306  		card, dai, pcm);
89dd0842527377 Jon Smirl         2009-05-23  307  
c9bd5e690a439d Russell King      2013-06-27  308  	rc = dma_coerce_mask_and_coherent(card->dev, DMA_BIT_MASK(32));
c9bd5e690a439d Russell King      2013-06-27  309  	if (rc)
c9bd5e690a439d Russell King      2013-06-27  310  		return rc;
89dd0842527377 Jon Smirl         2009-05-23  311  
3610a6d1dbd19b Takashi Iwai      2021-08-02  312  	return snd_pcm_set_fixed_buffer_all(pcm, SNDRV_DMA_TYPE_DEV, card->dev,
3610a6d1dbd19b Takashi Iwai      2021-08-02  313  					    size);
89dd0842527377 Jon Smirl         2009-05-23  314  }
89dd0842527377 Jon Smirl         2009-05-23  315  

:::::: The code at line 305 was first introduced by commit
:::::: 60bceb8029e26c49549a276d5d67198cdfb57b5d ASoC: fsl: mpc5200: replace platform to component

:::::: TO: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
:::::: CC: Mark Brown <broonie@kernel.org>

--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki

                 reply	other threads:[~2026-06-26 12:50 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=202606262024.B3aEpknN-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 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.