From: kbuild test robot <lkp@intel.com>
To: Hans Verkuil <hverkuil@xs4all.nl>
Cc: kbuild-all@01.org,
Linux Media Mailing List <linux-media@vger.kernel.org>,
Ezequiel Garcia <ezequiel@collabora.com>,
Nicolas Dufresne <nicolas@ndufresne.ca>,
Sakari Ailus <sakari.ailus@linux.intel.com>,
Tomasz Figa <tfiga@chromium.org>
Subject: Re: [PATCH] videodev2.h: add V4L2_BUF_CAP_SUPPORTS_PREPARE_BUF/CREATE_BUFS
Date: Tue, 20 Nov 2018 19:39:41 +0800 [thread overview]
Message-ID: <201811201945.uoCJrjPu%fengguang.wu@intel.com> (raw)
In-Reply-To: <68a6a7d3-cf0b-f631-f113-e388ebb7f5a4@xs4all.nl>
[-- Attachment #1: Type: text/plain, Size: 1562 bytes --]
Hi Hans,
I love your patch! Yet something to improve:
[auto build test ERROR on linuxtv-media/master]
[also build test ERROR on v4.20-rc3 next-20181120]
[if your patch is applied to the wrong git tree, please drop us a note to help improve the system]
url: https://github.com/0day-ci/linux/commits/Hans-Verkuil/videodev2-h-add-V4L2_BUF_CAP_SUPPORTS_PREPARE_BUF-CREATE_BUFS/20181120-190153
base: git://linuxtv.org/media_tree.git master
config: i386-randconfig-x077-201846 (attached as .config)
compiler: gcc-7 (Debian 7.3.0-1) 7.3.0
reproduce:
# save the attached .config to linux build tree
make ARCH=i386
All errors (new ones prefixed by >>):
drivers/media/common/videobuf2/videobuf2-v4l2.c: In function 'fill_buf_caps_vdev':
>> drivers/media/common/videobuf2/videobuf2-v4l2.c:878:21: error: dereferencing pointer to incomplete type 'const struct v4l2_ioctl_ops'
if (vdev->ioctl_ops->vidioc_prepare_buf)
^~
vim +878 drivers/media/common/videobuf2/videobuf2-v4l2.c
873
874 static void fill_buf_caps_vdev(struct video_device *vdev, u32 *caps)
875 {
876 *caps = 0;
877 fill_buf_caps(vdev->queue, caps);
> 878 if (vdev->ioctl_ops->vidioc_prepare_buf)
879 *caps |= V4L2_BUF_CAP_SUPPORTS_PREPARE_BUF;
880 if (vdev->ioctl_ops->vidioc_create_bufs)
881 *caps |= V4L2_BUF_CAP_SUPPORTS_CREATE_BUFS;
882 }
883
---
0-DAY kernel test infrastructure Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all Intel Corporation
[-- Attachment #2: .config.gz --]
[-- Type: application/gzip, Size: 31794 bytes --]
next prev parent reply other threads:[~2018-11-20 22:08 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-11-20 8:58 [PATCH] videodev2.h: add V4L2_BUF_CAP_SUPPORTS_PREPARE_BUF/CREATE_BUFS Hans Verkuil
2018-11-20 9:27 ` Sakari Ailus
2018-11-20 9:41 ` Hans Verkuil
2018-11-20 10:03 ` Sakari Ailus
2018-11-20 11:39 ` kbuild test robot [this message]
2018-11-20 11:48 ` kbuild test robot
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=201811201945.uoCJrjPu%fengguang.wu@intel.com \
--to=lkp@intel.com \
--cc=ezequiel@collabora.com \
--cc=hverkuil@xs4all.nl \
--cc=kbuild-all@01.org \
--cc=linux-media@vger.kernel.org \
--cc=nicolas@ndufresne.ca \
--cc=sakari.ailus@linux.intel.com \
--cc=tfiga@chromium.org \
/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