[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'

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

Attachment: .config.gz
Description: Binary data

_______________________________________________
Alsa-devel mailing list
Alsa-devel@xxxxxxxxxxxxxxxx
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel

[Index of Archives]     [ALSA User]     [Linux Audio Users]     [Kernel Archive]     [Asterisk PBX]     [Photo Sharing]     [Linux Sound]     [Video 4 Linux]     [Gimp]     [Yosemite News]

  Powered by Linux