[alsa-devel] [asoc:topic/dai-link 2/2] sound/soc/fsl/fsl-asoc-card.c:418:9: error: 'struct snd_soc_card' has no member named 'rtd_list'

kbuild test robot fengguang.wu at intel.com
Fri Nov 20 19:54:36 CET 2015


tree:   https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git topic/dai-link
head:   38f87d0172e485ce68a8e40e55afc0723ffa94f6
commit: 38f87d0172e485ce68a8e40e55afc0723ffa94f6 [2/2] ASoC: fsl-asoc-card: Update the rtd query
config: i386-allmodconfig (attached as .config)
reproduce:
        git checkout 38f87d0172e485ce68a8e40e55afc0723ffa94f6
        # save the attached .config to linux build tree
        make ARCH=i386 

All error/warnings (new ones prefixed by >>):

   In file included from include/linux/clk.h:16:0,
                    from sound/soc/fsl/fsl-asoc-card.c:13:
   sound/soc/fsl/fsl-asoc-card.c: In function 'fsl_asoc_card_late_probe':
   include/linux/kernel.h:813:27: error: 'struct snd_soc_pcm_runtime' has no member named 'list'
     const typeof( ((type *)0)->member ) *__mptr = (ptr); \
                              ^
   include/linux/list.h:352:2: note: in expansion of macro 'container_of'
     container_of(ptr, type, member)
     ^
   include/linux/list.h:363:2: note: in expansion of macro 'list_entry'
     list_entry((ptr)->next, type, member)
     ^
>> sound/soc/fsl/fsl-asoc-card.c:417:36: note: in expansion of macro 'list_first_entry'
     struct snd_soc_pcm_runtime *rtd = list_first_entry(
                                       ^
>> sound/soc/fsl/fsl-asoc-card.c:418:9: error: 'struct snd_soc_card' has no member named 'rtd_list'
       &card->rtd_list, struct snd_soc_pcm_runtime, list);
            ^
   include/linux/kernel.h:813:49: note: in definition of macro 'container_of'
     const typeof( ((type *)0)->member ) *__mptr = (ptr); \
                                                    ^
   include/linux/list.h:363:2: note: in expansion of macro 'list_entry'
     list_entry((ptr)->next, type, member)
     ^
>> sound/soc/fsl/fsl-asoc-card.c:417:36: note: in expansion of macro 'list_first_entry'
     struct snd_soc_pcm_runtime *rtd = list_first_entry(
                                       ^
   In file included from include/linux/compiler.h:56:0,
                    from include/linux/err.h:4,
                    from include/linux/clk.h:15,
                    from sound/soc/fsl/fsl-asoc-card.c:13:
   include/linux/compiler-gcc.h:158:2: error: 'struct snd_soc_pcm_runtime' has no member named 'list'
     __builtin_offsetof(a, b)
     ^
   include/linux/stddef.h:16:32: note: in expansion of macro '__compiler_offsetof'
    #define offsetof(TYPE, MEMBER) __compiler_offsetof(TYPE, MEMBER)
                                   ^
   include/linux/kernel.h:814:29: note: in expansion of macro 'offsetof'
     (type *)( (char *)__mptr - offsetof(type,member) );})
                                ^
   include/linux/list.h:352:2: note: in expansion of macro 'container_of'
     container_of(ptr, type, member)
     ^
   include/linux/list.h:363:2: note: in expansion of macro 'list_entry'
     list_entry((ptr)->next, type, member)
     ^
>> sound/soc/fsl/fsl-asoc-card.c:417:36: note: in expansion of macro 'list_first_entry'
     struct snd_soc_pcm_runtime *rtd = list_first_entry(
                                       ^

vim +418 sound/soc/fsl/fsl-asoc-card.c

   411		return 0;
   412	}
   413	
   414	static int fsl_asoc_card_late_probe(struct snd_soc_card *card)
   415	{
   416		struct fsl_asoc_card_priv *priv = snd_soc_card_get_drvdata(card);
 > 417		struct snd_soc_pcm_runtime *rtd = list_first_entry(
 > 418				&card->rtd_list, struct snd_soc_pcm_runtime, list);
   419		struct snd_soc_dai *codec_dai = rtd->codec_dai;
   420		struct codec_priv *codec_priv = &priv->codec_priv;
   421		struct device *dev = card->dev;

---
0-DAY kernel test infrastructure                Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all                   Intel Corporation
-------------- next part --------------
A non-text attachment was scrubbed...
Name: .config.gz
Type: application/octet-stream
Size: 52605 bytes
Desc: not available
URL: <http://mailman.alsa-project.org/pipermail/alsa-devel/attachments/20151121/c9bcf841/attachment-0001.obj>


More information about the Alsa-devel mailing list