lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [day] [month] [year] [list]
Date:   Sat, 10 Sep 2022 22:37:55 +0800
From:   kernel test robot <lkp@...el.com>
To:     Tomi Valkeinen <tomi.valkeinen@...asonboard.com>
Cc:     kbuild-all@...ts.01.org, linux-kernel@...r.kernel.org,
        Laurent Pinchart <laurent.pinchart@...asonboard.com>
Subject: [pinchartl-media:streams/v6.0/v11 27/49]
 drivers/media/v4l2-core/v4l2-subdev.c:156:22: error: implicit declaration of
 function 'v4l2_subdev_state_get_stream_format'

tree:   git://linuxtv.org/pinchartl/media.git streams/v6.0/v11
head:   c8cf58f00bee6d4f43462b3e3f83ef516c594d61
commit: 46db369d5850a9ac814a5ac236a4d39e390ca217 [27/49] media: subdev: add stream based configuration
config: ia64-randconfig-r022-20220907
compiler: ia64-linux-gcc (GCC) 12.1.0
reproduce (this is a W=1 build):
        wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
        chmod +x ~/bin/make.cross
        git remote add pinchartl-media git://linuxtv.org/pinchartl/media.git
        git fetch --no-tags pinchartl-media streams/v6.0/v11
        git checkout 46db369d5850a9ac814a5ac236a4d39e390ca217
        # save the config file
        mkdir build_dir && cp config build_dir/.config
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-12.1.0 make.cross W=1 O=build_dir ARCH=ia64 SHELL=/bin/bash drivers/media/v4l2-core/

If you fix the issue, kindly add following tag where applicable
Reported-by: kernel test robot <lkp@...el.com>

All errors (new ones prefixed by >>):

   drivers/media/v4l2-core/v4l2-subdev.c: In function 'check_state':
>> drivers/media/v4l2-core/v4l2-subdev.c:156:22: error: implicit declaration of function 'v4l2_subdev_state_get_stream_format' [-Werror=implicit-function-declaration]
     156 |                 if (!v4l2_subdev_state_get_stream_format(state, pad, stream))
         |                      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   drivers/media/v4l2-core/v4l2-subdev.c: At top level:
   drivers/media/v4l2-core/v4l2-subdev.c:918:1: warning: 'v4l2_subdev_init_stream_configs' defined but not used [-Wunused-function]
     918 | v4l2_subdev_init_stream_configs(struct v4l2_subdev_stream_configs *stream_configs,
         | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   cc1: some warnings being treated as errors


vim +/v4l2_subdev_state_get_stream_format +156 drivers/media/v4l2-core/v4l2-subdev.c

   150	
   151	static int check_state(struct v4l2_subdev *sd, struct v4l2_subdev_state *state,
   152			       u32 which, u32 pad, u32 stream)
   153	{
   154	#if defined(CONFIG_MEDIA_CONTROLLER)
   155		if (sd->flags & V4L2_SUBDEV_FL_MULTIPLEXED) {
 > 156			if (!v4l2_subdev_state_get_stream_format(state, pad, stream))
   157				return -EINVAL;
   158			return 0;
   159		}
   160	#endif
   161	
   162		if (which == V4L2_SUBDEV_FORMAT_TRY && (!state || !state->pads))
   163			return -EINVAL;
   164	
   165		return 0;
   166	}
   167	

-- 
0-DAY CI Kernel Test Service
https://01.org/lkp

View attachment "config" of type "text/plain" (161202 bytes)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ