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]

base: git:// master
config: blackfin-allyesconfig (attached as .config)
compiler: bfin-uclinux-gcc (GCC) 6.2.0
wget -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]
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]
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 }
1449 cec_register_cec_notifier(dw_dev->cec_adap, dw_dev->cec_notifier);
1450 dw_dev->registered = true;
> 1452 return v4l2_async_subnotifier_register(&dw_dev->sd,
1453 &dw_dev->v4l2_notifier);
1454 }
1456 static void dw_hdmi_unregistered(struct v4l2_subdev *sd)
1457 {
1458 struct dw_hdmi_dev *dw_dev = to_dw_dev(sd);
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 }
1465 static const struct v4l2_subdev_core_ops dw_hdmi_sd_core_ops = {

0-DAY kernel test infrastructure Open Source Technology Center Intel Corporation

Attachment: .config.gz
Description: application/gzip