[xilinx-xlnx:xlnx_rebase_v5.15_LTS 622/1239] drivers/media/i2c/adv7511-v4l2.c:2245:21: warning: no previous prototype for 'adv7511_subdev'
kernel test robot
lkp at intel.com
Tue Jul 26 14:00:46 PDT 2022
Hi Radhey,
FYI, the error/warning still remains.
tree: https://github.com/Xilinx/linux-xlnx xlnx_rebase_v5.15_LTS
head: 03d631bcb6caa363eb2f34e46ad8726509cc72a7
commit: 59e26517c7b77c4c82aad32cfac74ae39c32b76b [622/1239] drivers: media: Customized adv7511 for Xylon LogiCVC (deprecated)
config: parisc-randconfig-r032-20220724 (https://download.01.org/0day-ci/archive/20220727/202207270420.zEjjnTJ3-lkp@intel.com/config)
compiler: hppa-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
# https://github.com/Xilinx/linux-xlnx/commit/59e26517c7b77c4c82aad32cfac74ae39c32b76b
git remote add xilinx-xlnx https://github.com/Xilinx/linux-xlnx
git fetch --no-tags xilinx-xlnx xlnx_rebase_v5.15_LTS
git checkout 59e26517c7b77c4c82aad32cfac74ae39c32b76b
# 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=parisc SHELL=/bin/bash drivers/media/i2c/
If you fix the issue, kindly add following tag where applicable
Reported-by: kernel test robot <lkp at intel.com>
All warnings (new ones prefixed by >>):
>> drivers/media/i2c/adv7511-v4l2.c:2245:21: warning: no previous prototype for 'adv7511_subdev' [-Wmissing-prototypes]
2245 | struct v4l2_subdev *adv7511_subdev(struct v4l2_subdev *sd)
| ^~~~~~~~~~~~~~
vim +/adv7511_subdev +2245 drivers/media/i2c/adv7511-v4l2.c
2244
> 2245 struct v4l2_subdev *adv7511_subdev(struct v4l2_subdev *sd)
2246 {
2247 static struct v4l2_subdev *subdev;
2248
2249 if (sd)
2250 subdev = sd;
2251
2252 return subdev;
2253 }
2254 EXPORT_SYMBOL(adv7511_subdev);
2255
--
0-DAY CI Kernel Test Service
https://01.org/lkp
More information about the linux-arm-kernel
mailing list