Hi, [auto build test ERROR on linuxtv-media/master] [also build test ERROR on v4.7-rc4 next-20160624] [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/Guennadi-Liakhovetski/uvcvideo-a-cosmetic-fix-and-2-new-features/20160624-193142 base: git://linuxtv.org/media_tree.git master config: x86_64-rhel (attached as .config) compiler: gcc-4.9 (Debian 4.9.3-14) 4.9.3 reproduce: # save the attached .config to linux build tree make ARCH=x86_64 All error/warnings (new ones prefixed by >>): drivers/media/usb/uvc/uvc_v4l2.c: In function 'uvc_ioctl_querycap': >> drivers/media/usb/uvc/uvc_v4l2.c:575:8: error: 'V4L2_CAP_META_CAPTURE' undeclared (first use in this function) | V4L2_CAP_META_CAPTURE | chain->caps; ^ drivers/media/usb/uvc/uvc_v4l2.c:575:8: note: each undeclared identifier is reported only once for each function it appears in -- drivers/media/usb/uvc/uvc_metadata.c: In function 'meta_v4l2_querycap': >> drivers/media/usb/uvc/uvc_metadata.c:133:21: error: 'V4L2_CAP_META_CAPTURE' undeclared (first use in this function) cap->device_caps = V4L2_CAP_META_CAPTURE ^ drivers/media/usb/uvc/uvc_metadata.c:133:21: note: each undeclared identifier is reported only once for each function it appears in drivers/media/usb/uvc/uvc_metadata.c: In function 'meta_v4l2_get_format': >> drivers/media/usb/uvc/uvc_metadata.c:149:45: error: 'union <anonymous>' has no member named 'meta' struct v4l2_meta_format *fmt = &format->fmt.meta; ^ >> drivers/media/usb/uvc/uvc_metadata.c:154:24: error: dereferencing pointer to incomplete type memset(fmt, 0, sizeof(*fmt)); ^ drivers/media/usb/uvc/uvc_metadata.c:156:5: error: dereferencing pointer to incomplete type fmt->dataformat = V4L2_META_FMT_UVC; ^ >> drivers/media/usb/uvc/uvc_metadata.c:156:20: error: 'V4L2_META_FMT_UVC' undeclared (first use in this function) fmt->dataformat = V4L2_META_FMT_UVC; ^ drivers/media/usb/uvc/uvc_metadata.c:157:5: error: dereferencing pointer to incomplete type fmt->buffersize = UVC_PAYLOAD_HEADER_MAX_SIZE; ^ drivers/media/usb/uvc/uvc_metadata.c: At top level: >> drivers/media/usb/uvc/uvc_metadata.c:164:2: error: unknown field 'vidioc_g_fmt_meta_cap' specified in initializer .vidioc_g_fmt_meta_cap = meta_v4l2_get_format, ^ >> drivers/media/usb/uvc/uvc_metadata.c:164:2: warning: initialization from incompatible pointer type drivers/media/usb/uvc/uvc_metadata.c:164:2: warning: (near initialization for 'uvc_meta_ioctl_ops.vidioc_enum_fmt_vid_cap') >> drivers/media/usb/uvc/uvc_metadata.c:165:2: error: unknown field 'vidioc_s_fmt_meta_cap' specified in initializer .vidioc_s_fmt_meta_cap = meta_v4l2_get_format, ^ drivers/media/usb/uvc/uvc_metadata.c:165:2: warning: initialization from incompatible pointer type drivers/media/usb/uvc/uvc_metadata.c:165:2: warning: (near initialization for 'uvc_meta_ioctl_ops.vidioc_enum_fmt_vid_overlay') >> drivers/media/usb/uvc/uvc_metadata.c:166:2: error: unknown field 'vidioc_try_fmt_meta_cap' specified in initializer .vidioc_try_fmt_meta_cap = meta_v4l2_get_format, ^ drivers/media/usb/uvc/uvc_metadata.c:166:2: warning: initialization from incompatible pointer type drivers/media/usb/uvc/uvc_metadata.c:166:2: warning: (near initialization for 'uvc_meta_ioctl_ops.vidioc_enum_fmt_vid_out') drivers/media/usb/uvc/uvc_metadata.c: In function 'uvc_meta_register': >> drivers/media/usb/uvc/uvc_metadata.c:210:16: error: 'V4L2_BUF_TYPE_META_CAPTURE' undeclared (first use in this function) queue->type = V4L2_BUF_TYPE_META_CAPTURE; ^ vim +/V4L2_CAP_META_CAPTURE +575 drivers/media/usb/uvc/uvc_v4l2.c 569 struct uvc_streaming *stream = handle->stream; 570 571 strlcpy(cap->driver, "uvcvideo", sizeof(cap->driver)); 572 strlcpy(cap->card, vdev->name, sizeof(cap->card)); 573 usb_make_path(stream->dev->udev, cap->bus_info, sizeof(cap->bus_info)); 574 cap->capabilities = V4L2_CAP_DEVICE_CAPS | V4L2_CAP_STREAMING > 575 | V4L2_CAP_META_CAPTURE | chain->caps; 576 if (stream->type == V4L2_BUF_TYPE_VIDEO_CAPTURE) 577 cap->device_caps = V4L2_CAP_VIDEO_CAPTURE | V4L2_CAP_STREAMING; 578 else --- 0-DAY kernel test infrastructure Open Source Technology Center https://lists.01.org/pipermail/kbuild-all Intel Corporation
Attachment:
.config.gz
Description: Binary data