Hi,

[auto build test ERROR on linuxtv-media/master]
[also build test ERROR on v4.7-rc1 next-20160603]
[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/Todor-Tomov/OV5645-camera-sensor-driver/20160527-234221
base:   git://linuxtv.org/media_tree.git master
config: sparc64-allmodconfig (attached as .config)
compiler: sparc64-linux-gnu-gcc (Debian 5.3.1-8) 5.3.1 20160205
reproduce:
        wget 
https://git.kernel.org/cgit/linux/kernel/git/wfg/lkp-tests.git/plain/sbin/make.cross
 -O ~/bin/make.cross
        chmod +x ~/bin/make.cross
        # save the attached .config to linux build tree
        make.cross ARCH=sparc64 

All errors (new ones prefixed by >>):

   drivers/media/i2c/ov5645.c: In function 'ov5645_probe':
>> drivers/media/i2c/ov5645.c:1279:8: error: implicit declaration of function 
>> 'media_entity_init' [-Werror=implicit-function-declaration]
     ret = media_entity_init(&ov5645->sd.entity, 1, &ov5645->pad, 0);
           ^
   cc1: some warnings being treated as errors

vim +/media_entity_init +1279 drivers/media/i2c/ov5645.c

  1273  
  1274          v4l2_i2c_subdev_init(&ov5645->sd, client, &ov5645_subdev_ops);
  1275          ov5645->sd.flags |= V4L2_SUBDEV_FL_HAS_DEVNODE;
  1276          ov5645->pad.flags = MEDIA_PAD_FL_SOURCE;
  1277          ov5645->sd.internal_ops = &ov5645_subdev_internal_ops;
  1278  
> 1279          ret = media_entity_init(&ov5645->sd.entity, 1, &ov5645->pad, 0);
  1280          if (ret < 0) {
  1281                  dev_err(dev, "could not register media entity\n");
  1282                  goto free_ctrl;

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

Attachment: .config.gz
Description: Binary data

Reply via email to