All of lore.kernel.org
 help / color / mirror / Atom feed
* [experimental:tvp5150-5 135/138] drivers/media/i2c/tvp5150.c:1018:10: error: implicit declaration of function 'v4l2_subdev_get_try_crop'
@ 2018-09-18  6:35 kbuild test robot
  0 siblings, 0 replies; only message in thread
From: kbuild test robot @ 2018-09-18  6:35 UTC (permalink / raw)
  To: Marco Felsch; +Cc: kbuild-all, Mauro Carvalho Chehab, linux-media

[-- Attachment #1: Type: text/plain, Size: 4082 bytes --]

tree:   git://linuxtv.org/mchehab/experimental tvp5150-5
head:   c223c451df23ac71a844d05aab65ede057b70eb0
commit: bc93ce496fa909d8fa9496c93d36e9ea413a9065 [135/138] tvp5150: add FORMAT_TRY support for get/set selection handlers
config: i386-randconfig-s0-09171149 (attached as .config)
compiler: gcc-6 (Debian 6.4.0-9) 6.4.0 20171026
reproduce:
        git checkout bc93ce496fa909d8fa9496c93d36e9ea413a9065
        # save the attached .config to linux build tree
        make ARCH=i386 

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

   drivers/media/i2c/tvp5150.c:72:32: error: 'TVP5150_NUM_PADS' undeclared here (not in a function)
     struct device_node *endpoints[TVP5150_NUM_PADS + 1];
                                   ^~~~~~~~~~~~~~~~
   drivers/media/i2c/tvp5150.c: In function '__tvp5150_get_pad_crop':
>> drivers/media/i2c/tvp5150.c:1018:10: error: implicit declaration of function 'v4l2_subdev_get_try_crop' [-Werror=implicit-function-declaration]
      return v4l2_subdev_get_try_crop(&decoder->sd, cfg, pad);
             ^~~~~~~~~~~~~~~~~~~~~~~~
>> drivers/media/i2c/tvp5150.c:1018:10: warning: return makes pointer from integer without a cast [-Wint-conversion]
      return v4l2_subdev_get_try_crop(&decoder->sd, cfg, pad);
             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   drivers/media/i2c/tvp5150.c: In function 'tvp5150_fill_fmt':
   drivers/media/i2c/tvp5150.c:1034:33: error: 'TVP5150_PAD_VID_OUT' undeclared (first use in this function)
     if (!format || (format->pad != TVP5150_PAD_VID_OUT))
                                    ^~~~~~~~~~~~~~~~~~~
   drivers/media/i2c/tvp5150.c:1034:33: note: each undeclared identifier is reported only once for each function it appears in
   drivers/media/i2c/tvp5150.c: In function 'tvp5150_mc_init':
   drivers/media/i2c/tvp5150.c:1881:9: error: 'ret' undeclared (first use in this function)
     return ret;
            ^~~
   drivers/media/i2c/tvp5150.c:1880:1: warning: label 'out' defined but not used [-Wunused-label]
    out:
    ^~~
   drivers/media/i2c/tvp5150.c: In function 'tvp5150_of_valid_input':
   drivers/media/i2c/tvp5150.c:1893:7: error: 'TVP5150_PAD_AIP1A' undeclared (first use in this function)
     case TVP5150_PAD_AIP1A:
          ^~~~~~~~~~~~~~~~~
   drivers/media/i2c/tvp5150.c:1901:7: error: 'TVP5150_PAD_AIP1B' undeclared (first use in this function)
     case TVP5150_PAD_AIP1B:
          ^~~~~~~~~~~~~~~~~
   drivers/media/i2c/tvp5150.c: In function 'tvp5150_parse_dt':
   drivers/media/i2c/tvp5150.c:1945:8: error: 'TVP5150_PAD_AIP1A' undeclared (first use in this function)
      case TVP5150_PAD_AIP1A:
           ^~~~~~~~~~~~~~~~~
   drivers/media/i2c/tvp5150.c:1946:8: error: 'TVP5150_PAD_AIP1B' undeclared (first use in this function)
      case TVP5150_PAD_AIP1B:
           ^~~~~~~~~~~~~~~~~
   drivers/media/i2c/tvp5150.c:1956:8: error: 'TVP5150_PAD_VID_OUT' undeclared (first use in this function)
      case TVP5150_PAD_VID_OUT:
           ^~~~~~~~~~~~~~~~~~~
   drivers/media/i2c/tvp5150.c:1988:9: error: 'struct tvp5150' has no member named 'connectors_num'
     decoder->connectors_num = in;
            ^~
   drivers/media/i2c/tvp5150.c: In function 'tvp5150_mc_init':
   drivers/media/i2c/tvp5150.c:1882:1: warning: control reaches end of non-void function [-Wreturn-type]
    }
    ^
   cc1: some warnings being treated as errors

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

  1010	
  1011	static struct v4l2_rect *
  1012	__tvp5150_get_pad_crop(struct tvp5150 *decoder,
  1013			       struct v4l2_subdev_pad_config *cfg, unsigned int pad,
  1014			       enum v4l2_subdev_format_whence which)
  1015	{
  1016		switch (which) {
  1017		case V4L2_SUBDEV_FORMAT_TRY:
> 1018			return v4l2_subdev_get_try_crop(&decoder->sd, cfg, pad);
  1019		case V4L2_SUBDEV_FORMAT_ACTIVE:
  1020			return &decoder->rect;
  1021		default:
  1022			return NULL;
  1023		}
  1024	}
  1025	

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

[-- Attachment #2: .config.gz --]
[-- Type: application/gzip, Size: 35463 bytes --]

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2018-09-18 12:07 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-09-18  6:35 [experimental:tvp5150-5 135/138] drivers/media/i2c/tvp5150.c:1018:10: error: implicit declaration of function 'v4l2_subdev_get_try_crop' kbuild test robot

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.