From: kbuild test robot <lkp@intel.com>
To: Sakari Ailus <sakari.ailus@iki.fi>
Cc: kbuild-all@01.org, linux-media@vger.kernel.org
Subject: Re: [PATCH 3/5] v4l: Add generic pipeline power management code
Date: Wed, 27 Jan 2016 23:16:05 +0800 [thread overview]
Message-ID: <201601272345.GxTKZiQL%fengguang.wu@intel.com> (raw)
In-Reply-To: <1453902658-29783-4-git-send-email-sakari.ailus@iki.fi>
[-- Attachment #1: Type: text/plain, Size: 6464 bytes --]
Hi Sakari,
[auto build test WARNING on linuxtv-media/master]
[also build test WARNING 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-s1-01272247 (attached as .config)
reproduce:
# save the attached .config to linux build tree
make ARCH=x86_64
All 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;
^
In file included from include/uapi/linux/stddef.h:1:0,
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:
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 &&
^
include/linux/compiler.h:147:28: note: in definition of macro '__trace_if'
if (__builtin_constant_p((cond)) ? !!(cond) : \
^
>> drivers/media/v4l2-core/v4l2-common.c:559:2: note: in expansion of macro 'if'
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
if (notification == MEDIA_DEV_NOTIFY_POST_LINK_CH &&
^
include/linux/compiler.h:147:28: note: in definition of macro '__trace_if'
if (__builtin_constant_p((cond)) ? !!(cond) : \
^
>> drivers/media/v4l2-core/v4l2-common.c:559:2: note: in expansion of macro 'if'
if (notification == MEDIA_DEV_NOTIFY_POST_LINK_CH &&
^
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 &&
^
include/linux/compiler.h:147:28: note: in definition of macro '__trace_if'
if (__builtin_constant_p((cond)) ? !!(cond) : \
^
drivers/media/v4l2-core/v4l2-common.c:567:2: note: in expansion of macro 'if'
if (notification == MEDIA_DEV_NOTIFY_PRE_LINK_CH &&
^
vim +/if +559 drivers/media/v4l2-core/v4l2-common.c
543 }
544 EXPORT_SYMBOL_GPL(v4l2_pipeline_pm_use);
545
546 int v4l2_pipeline_link_notify(struct media_link *link, u32 flags,
547 unsigned int notification)
548 {
549 struct media_entity_graph *graph = &link->graph_obj.mdev->pm_count_walk;
550 struct media_entity *source = link->source->entity;
551 struct media_entity *sink = link->sink->entity;
552 int source_use;
553 int sink_use;
554 int ret = 0;
555
556 source_use = pipeline_pm_use_count(source, graph);
557 sink_use = pipeline_pm_use_count(sink, graph);
558
> 559 if (notification == MEDIA_DEV_NOTIFY_POST_LINK_CH &&
560 !(flags & MEDIA_LNK_FL_ENABLED)) {
561 /* Powering off entities is assumed to never fail. */
562 pipeline_pm_power(source, -sink_use, graph);
563 pipeline_pm_power(sink, -source_use, graph);
564 return 0;
565 }
566
567 if (notification == MEDIA_DEV_NOTIFY_PRE_LINK_CH &&
---
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: 24932 bytes --]
next prev parent reply other threads:[~2016-01-27 15:16 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-01-27 13:50 [PATCH 0/5] Unify MC graph power management code Sakari Ailus
2016-01-27 13:50 ` [PATCH 1/5] media: Use all bits of an enumeration Sakari Ailus
2016-01-27 13:50 ` [PATCH 2/5] media: Always keep a graph walk large enough around Sakari Ailus
2016-01-27 14:33 ` kbuild test robot
2016-01-27 13:50 ` [PATCH 3/5] v4l: Add generic pipeline power management code Sakari Ailus
2016-01-27 14:05 ` Hans Verkuil
2016-01-27 14:39 ` Sakari Ailus
2016-01-27 14:18 ` kbuild test robot
2016-01-27 15:16 ` kbuild test robot [this message]
2016-01-27 13:50 ` [PATCH 4/5] v4l: omap3isp: Use V4L2 graph PM operations Sakari Ailus
2016-01-27 13:50 ` [PATCH 5/5] staging: v4l: omap4iss: " Sakari Ailus
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=201601272345.GxTKZiQL%fengguang.wu@intel.com \
--to=lkp@intel.com \
--cc=kbuild-all@01.org \
--cc=linux-media@vger.kernel.org \
--cc=sakari.ailus@iki.fi \
/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