Hi Sakari, [auto build test ERROR on linuxtv-media/master] [also build test ERROR on v4.5-rc1 next-20160127] [if your patch is applied to the wrong git tree, please drop us a note to help improving the system] url: https://github.com/0day-ci/linux/commits/Sakari-Ailus/Unify-MC-graph-power-management-code/20160127-215417 base: git://linuxtv.org/media_tree.git master config: x86_64-randconfig-x013-01270835 (attached as .config) reproduce: # save the attached .config to linux build tree make ARCH=x86_64 All error/warnings (new ones prefixed by >>): In file included from include/linux/list.h:8:0, from include/linux/module.h:9, from drivers/media/v4l2-core/v4l2-common.c:47: drivers/media/v4l2-core/v4l2-common.c: In function 'pipeline_pm_power_one': >> include/linux/kernel.h:841:27: error: 'struct v4l2_subdev' has no member named 'entity' const typeof( ((type *)0)->member ) *__mptr = (ptr); \ ^ >> include/media/v4l2-subdev.h:740:2: note: in expansion of macro 'container_of' container_of(ent, struct v4l2_subdev, entity) ^ >> drivers/media/v4l2-core/v4l2-common.c:468:11: note: in expansion of macro 'media_entity_to_v4l2_subdev' ? media_entity_to_v4l2_subdev(entity) : NULL; ^ include/linux/kernel.h:841:48: warning: initialization from incompatible pointer type [-Wincompatible-pointer-types] const typeof( ((type *)0)->member ) *__mptr = (ptr); \ ^ >> include/media/v4l2-subdev.h:740:2: note: in expansion of macro 'container_of' container_of(ent, struct v4l2_subdev, entity) ^ >> drivers/media/v4l2-core/v4l2-common.c:468:11: note: in expansion of macro 'media_entity_to_v4l2_subdev' ? media_entity_to_v4l2_subdev(entity) : NULL; ^ 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 drivers/media/v4l2-core/v4l2-common.c:47: >> include/linux/compiler-gcc.h:158:2: error: 'struct v4l2_subdev' has no member named 'entity' __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:842:29: note: in expansion of macro 'offsetof' (type *)( (char *)__mptr - offsetof(type,member) );}) ^ >> include/media/v4l2-subdev.h:740:2: note: in expansion of macro 'container_of' container_of(ent, struct v4l2_subdev, entity) ^ >> drivers/media/v4l2-core/v4l2-common.c:468:11: note: in expansion of macro 'media_entity_to_v4l2_subdev' ? media_entity_to_v4l2_subdev(entity) : NULL; ^ drivers/media/v4l2-core/v4l2-common.c: In function 'v4l2_pipeline_link_notify': >> drivers/media/v4l2-core/v4l2-common.c:559:22: error: 'MEDIA_DEV_NOTIFY_POST_LINK_CH' undeclared (first use in this function) if (notification == MEDIA_DEV_NOTIFY_POST_LINK_CH && ^ drivers/media/v4l2-core/v4l2-common.c:559:22: note: each undeclared identifier is reported only once for each function it appears in >> drivers/media/v4l2-core/v4l2-common.c:567:22: error: 'MEDIA_DEV_NOTIFY_PRE_LINK_CH' undeclared (first use in this function) if (notification == MEDIA_DEV_NOTIFY_PRE_LINK_CH && ^ vim +841 include/linux/kernel.h ^1da177e Linus Torvalds 2005-04-16 835 * @ptr: the pointer to the member. ^1da177e Linus Torvalds 2005-04-16 836 * @type: the type of the container struct this is embedded in. ^1da177e Linus Torvalds 2005-04-16 837 * @member: the name of the member within the struct. ^1da177e Linus Torvalds 2005-04-16 838 * ^1da177e Linus Torvalds 2005-04-16 839 */ ^1da177e Linus Torvalds 2005-04-16 840 #define container_of(ptr, type, member) ({ \ ^1da177e Linus Torvalds 2005-04-16 @841 const typeof( ((type *)0)->member ) *__mptr = (ptr); \ ^1da177e Linus Torvalds 2005-04-16 842 (type *)( (char *)__mptr - offsetof(type,member) );}) ^1da177e Linus Torvalds 2005-04-16 843 b9d4f426 Arnaud Lacombe 2011-07-25 844 /* Rebuild everything on CONFIG_FTRACE_MCOUNT_RECORD */ :::::: The code at line 841 was first introduced by commit :::::: 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 Linux-2.6.12-rc2 :::::: TO: Linus Torvalds <torvalds@xxxxxxxxxxxxxxx> :::::: CC: Linus Torvalds <torvalds@xxxxxxxxxxxxxxx> --- 0-DAY kernel test infrastructure Open Source Technology Center https://lists.01.org/pipermail/kbuild-all Intel Corporation
Attachment:
.config.gz
Description: Binary data