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/Ramiro-Oliveira/OV5647-sensor-driver/20160604-013955
base:   git://linuxtv.org/media_tree.git master
config: x86_64-randconfig-x001-201623 (attached as .config)
compiler: gcc-6 (Debian 6.1.1-1) 6.1.1 20160430
reproduce:
        # save the attached .config to linux build tree
        make ARCH=x86_64 

All errors (new ones prefixed by >>):

   drivers/media/i2c/ov5647.c: In function 'ov5647_open':
>> drivers/media/i2c/ov5647.c:757:5: error: implicit declaration of function 
>> 'v4l2_subdev_get_try_format' [-Werror=implicit-function-declaration]
        v4l2_subdev_get_try_format(subdev, fh->pad, 0);
        ^~~~~~~~~~~~~~~~~~~~~~~~~~
>> drivers/media/i2c/ov5647.c:757:42: error: 'struct v4l2_subdev_fh' has no 
>> member named 'pad'
        v4l2_subdev_get_try_format(subdev, fh->pad, 0);
                                             ^~
>> drivers/media/i2c/ov5647.c:759:5: error: implicit declaration of function 
>> 'v4l2_subdev_get_try_crop' [-Werror=implicit-function-declaration]
        v4l2_subdev_get_try_crop(subdev, fh->pad, 0);
        ^~~~~~~~~~~~~~~~~~~~~~~~
   drivers/media/i2c/ov5647.c:759:40: error: 'struct v4l2_subdev_fh' has no 
member named 'pad'
        v4l2_subdev_get_try_crop(subdev, fh->pad, 0);
                                           ^~
   cc1: some warnings being treated as errors

vim +/v4l2_subdev_get_try_format +757 drivers/media/i2c/ov5647.c

   751  * @param[in] fh v4l2 file handler
   752  * @return Error code
   753  */
   754  static int ov5647_open(struct v4l2_subdev *subdev, struct 
v4l2_subdev_fh *fh)
   755  {
   756          struct v4l2_mbus_framefmt *format =
 > 757                                  v4l2_subdev_get_try_format(subdev, 
 > fh->pad, 0);
   758          struct v4l2_rect *crop =
 > 759                                  v4l2_subdev_get_try_crop(subdev, 
 > fh->pad, 0);
   760  
   761          crop->left = OV5647_COLUMN_START_DEF;
   762          crop->top = OV5647_ROW_START_DEF;

---
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