Re: [PATCH v4] [media] vimc: Virtual Media Controller core, capture and sensor

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

[auto build test ERROR on linuxtv-media/master]
[also build test ERROR on v4.7-rc2 next-20160609]
[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/Helen-Koike/vimc-Virtual-Media-Controller-core-capture-and-sensor/20160531-230840
base:   git://linuxtv.org/media_tree.git master
config: i386-randconfig-x010-06120748 (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=i386 

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

warning: (VIDEO_VIMC) selects VIDEO_V4L2_SUBDEV_API which has unmet direct dependencies (MEDIA_SUPPORT && VIDEO_DEV && MEDIA_CONTROLLER)
   In file included from include/linux/init.h:4:0,
                    from drivers/media/pci/cx88/cx88-cards.c:23:
   include/media/v4l2-subdev.h: In function 'v4l2_subdev_get_try_format':
>> include/media/v4l2-subdev.h:770:19: error: 'struct v4l2_subdev' has no member named 'entity'
      BUG_ON(pad >= sd->entity.num_pads);   \
                      ^
   include/linux/compiler.h:170:42: note: in definition of macro 'unlikely'
    # define unlikely(x) __builtin_expect(!!(x), 0)
                                             ^
>> include/media/v4l2-subdev.h:770:3: note: in expansion of macro 'BUG_ON'
      BUG_ON(pad >= sd->entity.num_pads);   \
      ^~~~~~
>> include/media/v4l2-subdev.h:774:1: note: in expansion of macro '__V4L2_SUBDEV_MK_GET_TRY'
    __V4L2_SUBDEV_MK_GET_TRY(v4l2_mbus_framefmt, v4l2_subdev_get_try_format, try_fmt)
    ^~~~~~~~~~~~~~~~~~~~~~~~
   include/media/v4l2-subdev.h: In function 'v4l2_subdev_get_try_crop':
>> include/media/v4l2-subdev.h:770:19: error: 'struct v4l2_subdev' has no member named 'entity'
      BUG_ON(pad >= sd->entity.num_pads);   \
                      ^
   include/linux/compiler.h:170:42: note: in definition of macro 'unlikely'
    # define unlikely(x) __builtin_expect(!!(x), 0)
                                             ^
>> include/media/v4l2-subdev.h:770:3: note: in expansion of macro 'BUG_ON'
      BUG_ON(pad >= sd->entity.num_pads);   \
      ^~~~~~
   include/media/v4l2-subdev.h:775:1: note: in expansion of macro '__V4L2_SUBDEV_MK_GET_TRY'
    __V4L2_SUBDEV_MK_GET_TRY(v4l2_rect, v4l2_subdev_get_try_crop, try_crop)
    ^~~~~~~~~~~~~~~~~~~~~~~~
   include/media/v4l2-subdev.h: In function 'v4l2_subdev_get_try_compose':
>> include/media/v4l2-subdev.h:770:19: error: 'struct v4l2_subdev' has no member named 'entity'
      BUG_ON(pad >= sd->entity.num_pads);   \
                      ^
   include/linux/compiler.h:170:42: note: in definition of macro 'unlikely'
    # define unlikely(x) __builtin_expect(!!(x), 0)
                                             ^
>> include/media/v4l2-subdev.h:770:3: note: in expansion of macro 'BUG_ON'
      BUG_ON(pad >= sd->entity.num_pads);   \
      ^~~~~~
   include/media/v4l2-subdev.h:776:1: note: in expansion of macro '__V4L2_SUBDEV_MK_GET_TRY'
    __V4L2_SUBDEV_MK_GET_TRY(v4l2_rect, v4l2_subdev_get_try_compose, try_compose)
    ^~~~~~~~~~~~~~~~~~~~~~~~

vim +770 include/media/v4l2-subdev.h

5e6ff7c1 Sakari Ailus      2012-02-15  764  #define __V4L2_SUBDEV_MK_GET_TRY(rtype, fun_name, field_name)		\
5e6ff7c1 Sakari Ailus      2012-02-15  765  	static inline struct rtype *					\
f7234138 Hans Verkuil      2015-03-04  766  	fun_name(struct v4l2_subdev *sd,				\
f7234138 Hans Verkuil      2015-03-04  767  		 struct v4l2_subdev_pad_config *cfg,			\
5e6ff7c1 Sakari Ailus      2012-02-15  768  		 unsigned int pad)					\
5e6ff7c1 Sakari Ailus      2012-02-15  769  	{								\
f7234138 Hans Verkuil      2015-03-04 @770  		BUG_ON(pad >= sd->entity.num_pads);			\
f7234138 Hans Verkuil      2015-03-04  771  		return &cfg[pad].field_name;				\
7cd5a16b Stanimir Varbanov 2010-05-21  772  	}
7cd5a16b Stanimir Varbanov 2010-05-21  773  
f7234138 Hans Verkuil      2015-03-04 @774  __V4L2_SUBDEV_MK_GET_TRY(v4l2_mbus_framefmt, v4l2_subdev_get_try_format, try_fmt)
f7234138 Hans Verkuil      2015-03-04  775  __V4L2_SUBDEV_MK_GET_TRY(v4l2_rect, v4l2_subdev_get_try_crop, try_crop)
f7234138 Hans Verkuil      2015-03-04  776  __V4L2_SUBDEV_MK_GET_TRY(v4l2_rect, v4l2_subdev_get_try_compose, try_compose)
7cd5a16b Stanimir Varbanov 2010-05-21  777  #endif

:::::: The code at line 770 was first introduced by commit
:::::: f7234138f14c2296c5eb6b8224abe00b507faf3f [media] v4l2-subdev: replace v4l2_subdev_fh by v4l2_subdev_pad_config

:::::: TO: Hans Verkuil <hans.verkuil@xxxxxxxxx>
:::::: CC: Mauro Carvalho Chehab <mchehab@xxxxxxxxxxxxxxx>

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

Attachment: .config.gz
Description: Binary data


[Index of Archives]     [Linux Input]     [Video for Linux]     [Gstreamer Embedded]     [Mplayer Users]     [Linux USB Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]
  Powered by Linux