Re: [PATCH v6 2/4] [media] platform: Add Synopsys Designware HDMI RX Controller Driver

From: kbuild test robot
Date: Thu Jul 06 2017 - 16:52:52 EST


Hi Jose,

[auto build test ERROR on linuxtv-media/master]
[also build test ERROR on next-20170706]
[cannot apply to v4.12]
[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/Jose-Abreu/Synopsys-Designware-HDMI-Video-Capture-Controller-PHY/20170707-041312
base: git://linuxtv.org/media_tree.git master
config: blackfin-allyesconfig (attached as .config)
compiler: bfin-uclinux-gcc (GCC) 6.2.0
reproduce:
wget https://raw.githubusercontent.com/01org/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
chmod +x ~/bin/make.cross
# save the attached .config to linux build tree
make.cross ARCH=blackfin

All errors (new ones prefixed by >>):

drivers/media//platform/dwc/dw-hdmi-rx.c: In function 'dw_hdmi_registered':
>> drivers/media//platform/dwc/dw-hdmi-rx.c:1452:9: error: implicit declaration of function 'v4l2_async_subnotifier_register' [-Werror=implicit-function-declaration]
return v4l2_async_subnotifier_register(&dw_dev->sd,
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
drivers/media//platform/dwc/dw-hdmi-rx.c: In function 'dw_hdmi_unregistered':
>> drivers/media//platform/dwc/dw-hdmi-rx.c:1462:2: error: implicit declaration of function 'v4l2_async_subnotifier_unregister' [-Werror=implicit-function-declaration]
v4l2_async_subnotifier_unregister(&dw_dev->v4l2_notifier);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
drivers/media//platform/dwc/dw-hdmi-rx.c: In function 'dw_hdmi_parse_dt':
drivers/media//platform/dwc/dw-hdmi-rx.c:1555:22: warning: unused variable 'notifier' [-Wunused-variable]
struct device_node *notifier, *phy_node, *np = dw_dev->of_node;
^~~~~~~~
drivers/media//platform/dwc/dw-hdmi-rx.c: In function 'dw_hdmi_rx_probe':
drivers/media//platform/dwc/dw-hdmi-rx.c:1765:1: warning: label 'err_phy' defined but not used [-Wunused-label]
err_phy:
^~~~~~~
cc1: some warnings being treated as errors

vim +/v4l2_async_subnotifier_register +1452 drivers/media//platform/dwc/dw-hdmi-rx.c

1446 return ret;
1447 }
1448
1449 cec_register_cec_notifier(dw_dev->cec_adap, dw_dev->cec_notifier);
1450 dw_dev->registered = true;
1451
> 1452 return v4l2_async_subnotifier_register(&dw_dev->sd,
1453 &dw_dev->v4l2_notifier);
1454 }
1455
1456 static void dw_hdmi_unregistered(struct v4l2_subdev *sd)
1457 {
1458 struct dw_hdmi_dev *dw_dev = to_dw_dev(sd);
1459
1460 cec_unregister_adapter(dw_dev->cec_adap);
1461 cec_notifier_put(dw_dev->cec_notifier);
> 1462 v4l2_async_subnotifier_unregister(&dw_dev->v4l2_notifier);
1463 }
1464
1465 static const struct v4l2_subdev_core_ops dw_hdmi_sd_core_ops = {

---
0-DAY kernel test infrastructure Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all Intel Corporation

Attachment: .config.gz
Description: application/gzip