Hi Jose,

[auto build test ERROR on linuxtv-media/master]
[also build test ERROR on v4.13-rc1 next-20170714]
[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/20170711-092521
base:   git://linuxtv.org/media_tree.git master
config: i386-allyesconfig (attached as .config)
compiler: gcc-6 (Debian 6.2.0-3) 6.2.0 20160901
reproduce:
        # save the attached .config to linux build tree
        make ARCH=i386 

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);
     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   cc1: some warnings being treated as errors

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

  1436  
  1437  static int dw_hdmi_registered(struct v4l2_subdev *sd)
  1438  {
  1439          struct dw_hdmi_dev *dw_dev = to_dw_dev(sd);
  1440          int ret;
  1441  
  1442          ret = cec_register_adapter(dw_dev->cec_adap, dw_dev->dev);
  1443          if (ret) {
  1444                  dev_err(dw_dev->dev, "failed to register CEC 
adapter\n");
  1445                  cec_delete_adapter(dw_dev->cec_adap);
  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  

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

Attachment: .config.gz
Description: application/gzip

Reply via email to