All of lore.kernel.org
 help / color / mirror / Atom feed
* [xilinx-xlnx:xlnx_rebase_v5.15_LTS_2022.1_update 622/1117] drivers/media/i2c/adv7511-v4l2.c:2245:21: warning: no previous prototype for 'adv7511_subdev'
@ 2022-08-24 14:21 kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2022-08-24 14:21 UTC (permalink / raw)
  To: Radhey Shyam Pandey
  Cc: kbuild-all, linux-arm-kernel, Michal Simek, Davor Joja

Hi Radhey,

FYI, the error/warning still remains.

tree:   https://github.com/Xilinx/linux-xlnx xlnx_rebase_v5.15_LTS_2022.1_update
head:   789b01147d793e5a6d1c794dd0a5879ccd61bd1d
commit: 59e26517c7b77c4c82aad32cfac74ae39c32b76b [622/1117] drivers: media: Customized adv7511 for Xylon LogiCVC (deprecated)
config: arm-randconfig-r024-20220823 (https://download.01.org/0day-ci/archive/20220824/202208242252.4wB8rbi8-lkp@intel.com/config)
compiler: arm-linux-gnueabi-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_2022.1_update
        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=arm SHELL=/bin/bash drivers/media/i2c/

If you fix the issue, kindly add following tag where applicable
Reported-by: kernel test robot <lkp@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

_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

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

only message in thread, other threads:[~2022-08-24 14:23 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-08-24 14:21 [xilinx-xlnx:xlnx_rebase_v5.15_LTS_2022.1_update 622/1117] drivers/media/i2c/adv7511-v4l2.c:2245:21: warning: no previous prototype for 'adv7511_subdev' kernel 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.