From: kbuild test robot <fengguang.wu@intel.com>
To: Vinod Koul <vinod.koul@intel.com>
Cc: alsa-devel@alsa-project.org, Mark Brown <broonie@kernel.org>,
kbuild-all@01.org
Subject: [asoc:topic/intel 43/43] include/linux/kernel.h:813:27: error: 'struct snd_soc_pcm_runtime' has no member named 'list'
Date: Sat, 21 Nov 2015 02:46:13 +0800 [thread overview]
Message-ID: <201511210203.Fq1quLLM%fengguang.wu@intel.com> (raw)
[-- Attachment #1: Type: text/plain, Size: 9252 bytes --]
tree: https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git topic/intel
head: dcc2fa34956a1cc2b84415b9ce3bbef4ae1aceb0
commit: dcc2fa34956a1cc2b84415b9ce3bbef4ae1aceb0 [43/43] ASoC: Intel: Skylake: Update the rtd query
config: i386-allmodconfig (attached as .config)
reproduce:
git checkout dcc2fa34956a1cc2b84415b9ce3bbef4ae1aceb0
# save the attached .config to linux build tree
make ARCH=i386
All error/warnings (new ones prefixed by >>):
In file included from include/linux/list.h:8:0,
from include/linux/module.h:9,
from sound/soc/intel/boards/skl_nau88l25_ssm4567.c:21:
sound/soc/intel/boards/skl_nau88l25_ssm4567.c: In function 'skl_get_codec_dai':
>> 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)
^
include/linux/list.h:447:13: note: in expansion of macro 'list_first_entry'
for (pos = list_first_entry(head, typeof(*pos), member); \
^
>> sound/soc/intel/boards/skl_nau88l25_ssm4567.c:40:2: note: in expansion of macro 'list_for_each_entry'
list_for_each_entry(rtd, &card->rtd_list, list) {
^
>> sound/soc/intel/boards/skl_nau88l25_ssm4567.c:40:32: error: 'struct snd_soc_card' has no member named 'rtd_list'
list_for_each_entry(rtd, &card->rtd_list, 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)
^
include/linux/list.h:447:13: note: in expansion of macro 'list_first_entry'
for (pos = list_first_entry(head, typeof(*pos), member); \
^
>> sound/soc/intel/boards/skl_nau88l25_ssm4567.c:40:2: note: in expansion of macro 'list_for_each_entry'
list_for_each_entry(rtd, &card->rtd_list, list) {
^
In file included from include/linux/compiler.h:56:0,
from include/uapi/linux/stddef.h:1,
from include/linux/stddef.h:4,
from include/uapi/linux/posix_types.h:4,
from include/uapi/linux/types.h:13,
from include/linux/types.h:5,
from include/linux/list.h:4,
from include/linux/module.h:9,
from sound/soc/intel/boards/skl_nau88l25_ssm4567.c:21:
>> 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)
^
include/linux/list.h:447:13: note: in expansion of macro 'list_first_entry'
for (pos = list_first_entry(head, typeof(*pos), member); \
^
>> sound/soc/intel/boards/skl_nau88l25_ssm4567.c:40:2: note: in expansion of macro 'list_for_each_entry'
list_for_each_entry(rtd, &card->rtd_list, list) {
^
In file included from include/linux/module.h:9:0,
from sound/soc/intel/boards/skl_nau88l25_ssm4567.c:21:
>> include/linux/list.h:448:11: error: 'struct snd_soc_pcm_runtime' has no member named 'list'
&pos->member != (head); \
^
>> sound/soc/intel/boards/skl_nau88l25_ssm4567.c:40:2: note: in expansion of macro 'list_for_each_entry'
list_for_each_entry(rtd, &card->rtd_list, list) {
^
>> sound/soc/intel/boards/skl_nau88l25_ssm4567.c:40:32: error: 'struct snd_soc_card' has no member named 'rtd_list'
list_for_each_entry(rtd, &card->rtd_list, list) {
^
include/linux/list.h:448:24: note: in definition of macro 'list_for_each_entry'
&pos->member != (head); \
^
In file included from include/linux/list.h:8:0,
from include/linux/module.h:9,
from sound/soc/intel/boards/skl_nau88l25_ssm4567.c:21:
>> 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:393:2: note: in expansion of macro 'list_entry'
list_entry((pos)->member.next, typeof(*(pos)), member)
^
include/linux/list.h:449:13: note: in expansion of macro 'list_next_entry'
pos = list_next_entry(pos, member))
^
>> sound/soc/intel/boards/skl_nau88l25_ssm4567.c:40:2: note: in expansion of macro 'list_for_each_entry'
list_for_each_entry(rtd, &card->rtd_list, list) {
^
include/linux/list.h:393:18: error: 'struct snd_soc_pcm_runtime' has no member named 'list'
list_entry((pos)->member.next, typeof(*(pos)), member)
^
include/linux/kernel.h:813:49: note: in definition of macro 'container_of'
const typeof( ((type *)0)->member ) *__mptr = (ptr); \
^
include/linux/list.h:393:2: note: in expansion of macro 'list_entry'
list_entry((pos)->member.next, typeof(*(pos)), member)
^
include/linux/list.h:449:13: note: in expansion of macro 'list_next_entry'
pos = list_next_entry(pos, member))
^
>> sound/soc/intel/boards/skl_nau88l25_ssm4567.c:40:2: note: in expansion of macro 'list_for_each_entry'
list_for_each_entry(rtd, &card->rtd_list, list) {
^
In file included from include/linux/compiler.h:56:0,
from include/uapi/linux/stddef.h:1,
from include/linux/stddef.h:4,
from include/uapi/linux/posix_types.h:4,
from include/uapi/linux/types.h:13,
from include/linux/types.h:5,
from include/linux/list.h:4,
from include/linux/module.h:9,
from sound/soc/intel/boards/skl_nau88l25_ssm4567.c:21:
>> 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:393:2: note: in expansion of macro 'list_entry'
list_entry((pos)->member.next, typeof(*(pos)), member)
^
include/linux/list.h:449:13: note: in expansion of macro 'list_next_entry'
pos = list_next_entry(pos, member))
^
>> sound/soc/intel/boards/skl_nau88l25_ssm4567.c:40:2: note: in expansion of macro 'list_for_each_entry'
list_for_each_entry(rtd, &card->rtd_list, list) {
^
vim +813 include/linux/kernel.h
^1da177e Linus Torvalds 2005-04-16 807 * @ptr: the pointer to the member.
^1da177e Linus Torvalds 2005-04-16 808 * @type: the type of the container struct this is embedded in.
^1da177e Linus Torvalds 2005-04-16 809 * @member: the name of the member within the struct.
^1da177e Linus Torvalds 2005-04-16 810 *
^1da177e Linus Torvalds 2005-04-16 811 */
^1da177e Linus Torvalds 2005-04-16 812 #define container_of(ptr, type, member) ({ \
^1da177e Linus Torvalds 2005-04-16 @813 const typeof( ((type *)0)->member ) *__mptr = (ptr); \
^1da177e Linus Torvalds 2005-04-16 814 (type *)( (char *)__mptr - offsetof(type,member) );})
^1da177e Linus Torvalds 2005-04-16 815
b9d4f426 Arnaud Lacombe 2011-07-25 816 /* Rebuild everything on CONFIG_FTRACE_MCOUNT_RECORD */
:::::: The code at line 813 was first introduced by commit
:::::: 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 Linux-2.6.12-rc2
:::::: TO: Linus Torvalds <torvalds@ppc970.osdl.org>
:::::: CC: Linus Torvalds <torvalds@ppc970.osdl.org>
---
0-DAY kernel test infrastructure Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all Intel Corporation
[-- Attachment #2: .config.gz --]
[-- Type: application/octet-stream, Size: 52618 bytes --]
[-- Attachment #3: Type: text/plain, Size: 0 bytes --]
reply other threads:[~2015-11-20 18:46 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=201511210203.Fq1quLLM%fengguang.wu@intel.com \
--to=fengguang.wu@intel.com \
--cc=alsa-devel@alsa-project.org \
--cc=broonie@kernel.org \
--cc=kbuild-all@01.org \
--cc=vinod.koul@intel.com \
/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;
as well as URLs for NNTP newsgroup(s).