Re: [PATCH 2/2] [media] au0828: use v4l2_mc_create_media_graph()

kbuild test robot
2016-03-02T16:31:35Z

[-- Attachment #1: Type: text/plain, Size: 1952 bytes --]

Hi Mauro,

[auto build test ERROR on sailus-media/master]
[cannot apply to v4.5-rc6 next-20160302]
[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/Mauro-Carvalho-Chehab/Don-t-duplicate-a-function-to-create-graph-on-au0828/20160302-221912
base: git://linuxtv.org/media_tree.git master
config: x86_64-rhel (attached as .config)
reproduce:
# save the attached .config to linux build tree
make ARCH=x86_64

All errors (new ones prefixed by >>):

drivers/media/usb/au0828/au0828-video.c: In function 'au0828_analog_register':
>> drivers/media/usb/au0828/au0828-video.c:2028:41: error: 'struct au0828_dev' has no member named 'media_dev'
retval = v4l2_mc_create_media_graph(dev->media_dev);
^
In file included from drivers/media/usb/au0828/au0828-video.c:38:0:
drivers/media/usb/au0828/au0828-video.c: At top level:
include/media/v4l2-mc.h:179:13: warning: 'v4l_disable_media_source' defined but not used [-Wunused-function]
static void v4l_disable_media_source(struct video_device *vdev)
^
include/media/v4l2-mc.h:184:12: warning: 'v4l_vb2q_enable_media_source' defined but not used [-Wunused-function]
static int v4l_vb2q_enable_media_source(struct vb2_queue *q)
^

vim +2028 drivers/media/usb/au0828/au0828-video.c

2022 if (retval != 0) {
2023 dprintk(1, "unable to register vbi device (error = %d).\n",
2024 retval);
2025 ret = -ENODEV;
2026 goto err_reg_vbi_dev;
2027 }
> 2028 retval = v4l2_mc_create_media_graph(dev->media_dev);
2029 if (retval) {
2030 pr_err("%s() au0282_dev_register failed to create graph\n",
2031 __func__);

---
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: 36059 bytes --]