Hi Philipp,

[auto build test ERROR on: v4.4-rc1]
[also build test ERROR on: next-20151118]
[cannot apply to: linuxtv-media/master]

url:    
https://github.com/0day-ci/linux/commits/Lucas-Stach/tvp5150-convert-register-access-to-regmap/20151119-005732
config: x86_64-randconfig-x017-11181928 (attached as .config)
reproduce:
        # save the attached .config to linux build tree
        make ARCH=x86_64 

Note: the 
linux-review/Lucas-Stach/tvp5150-convert-register-access-to-regmap/20151119-005732
 HEAD bda9ffd30fce12dfa1b1964094311ae5dd780461 builds fine.
      It only hurts bisectibility.

All error/warnings (new ones prefixed by >>):

   drivers/media/i2c/tvp5150.c: In function 'tvp5150_open':
>> drivers/media/i2c/tvp5150.c:1180:52: warning: passing argument 1 of 
>> 'v4l2_subdev_get_try_crop' from incompatible pointer type 
>> [-Wincompatible-pointer-types]
     tvp5150_set_default(std, v4l2_subdev_get_try_crop(fh, 0),
                                                       ^
   In file included from include/media/v4l2-device.h:25:0,
                    from drivers/media/i2c/tvp5150.c:15:
   include/media/v4l2-subdev.h:769:37: note: expected 'struct v4l2_subdev *' 
but argument is of type 'struct v4l2_subdev_fh *'
    __V4L2_SUBDEV_MK_GET_TRY(v4l2_rect, v4l2_subdev_get_try_crop, try_crop)
                                        ^
   include/media/v4l2-subdev.h:760:2: note: in definition of macro 
'__V4L2_SUBDEV_MK_GET_TRY'
     fun_name(struct v4l2_subdev *sd,    \
     ^
>> drivers/media/i2c/tvp5150.c:1180:27: error: too few arguments to function 
>> 'v4l2_subdev_get_try_crop'
     tvp5150_set_default(std, v4l2_subdev_get_try_crop(fh, 0),
                              ^
   In file included from include/media/v4l2-device.h:25:0,
                    from drivers/media/i2c/tvp5150.c:15:
   include/media/v4l2-subdev.h:769:37: note: declared here
    __V4L2_SUBDEV_MK_GET_TRY(v4l2_rect, v4l2_subdev_get_try_crop, try_crop)
                                        ^
   include/media/v4l2-subdev.h:760:2: note: in definition of macro 
'__V4L2_SUBDEV_MK_GET_TRY'
     fun_name(struct v4l2_subdev *sd,    \
     ^
>> drivers/media/i2c/tvp5150.c:1181:33: warning: passing argument 1 of 
>> 'v4l2_subdev_get_try_format' from incompatible pointer type 
>> [-Wincompatible-pointer-types]
         v4l2_subdev_get_try_format(fh, 0));
                                    ^
   In file included from include/media/v4l2-device.h:25:0,
                    from drivers/media/i2c/tvp5150.c:15:
   include/media/v4l2-subdev.h:768:46: note: expected 'struct v4l2_subdev *' 
but argument is of type 'struct v4l2_subdev_fh *'
    __V4L2_SUBDEV_MK_GET_TRY(v4l2_mbus_framefmt, v4l2_subdev_get_try_format, 
try_fmt)
                                                 ^
   include/media/v4l2-subdev.h:760:2: note: in definition of macro 
'__V4L2_SUBDEV_MK_GET_TRY'
     fun_name(struct v4l2_subdev *sd,    \
     ^
>> drivers/media/i2c/tvp5150.c:1181:6: error: too few arguments to function 
>> 'v4l2_subdev_get_try_format'
         v4l2_subdev_get_try_format(fh, 0));
         ^
   In file included from include/media/v4l2-device.h:25:0,
                    from drivers/media/i2c/tvp5150.c:15:
   include/media/v4l2-subdev.h:768:46: note: declared here
    __V4L2_SUBDEV_MK_GET_TRY(v4l2_mbus_framefmt, v4l2_subdev_get_try_format, 
try_fmt)
                                                 ^
   include/media/v4l2-subdev.h:760:2: note: in definition of macro 
'__V4L2_SUBDEV_MK_GET_TRY'
     fun_name(struct v4l2_subdev *sd,    \
     ^

vim +/v4l2_subdev_get_try_crop +1180 drivers/media/i2c/tvp5150.c

  1174  
  1175          if (decoder->norm == V4L2_STD_ALL)
  1176                  std = tvp5150_read_std(sd);
  1177          else
  1178                  std = decoder->norm;
  1179  
> 1180          tvp5150_set_default(std, v4l2_subdev_get_try_crop(fh, 0),
> 1181                                   v4l2_subdev_get_try_format(fh, 0));
  1182          return 0;
  1183  }
  1184  

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