Messages in this thread | | | Date | Thu, 7 Jul 2022 19:34:03 +0800 | From | kernel test robot <> | Subject | [kbingham-rcar:kbingham/vsp1/debugfs 6/7] drivers/media/platform/renesas/vsp1/vsp1_debugfs.h:52:15: error: return type defaults to 'int' |
| |
tree: https://git.kernel.org/pub/scm/linux/kernel/git/kbingham/rcar.git kbingham/vsp1/debugfs head: 73e1dae0c0afd4ccbe318e1bc9881b3e800226ba commit: eda5de49ca65531ae1fa75f31300cdaacb112125 [6/7] v4l: vsp1: Provide video node debugfs entries config: m68k-randconfig-r021-20220707 (https://download.01.org/0day-ci/archive/20220707/202207071954.8vAac5gl-lkp@intel.com/config) compiler: m68k-linux-gcc (GCC) 11.3.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://git.kernel.org/pub/scm/linux/kernel/git/kbingham/rcar.git/commit/?id=eda5de49ca65531ae1fa75f31300cdaacb112125 git remote add kbingham-rcar https://git.kernel.org/pub/scm/linux/kernel/git/kbingham/rcar.git git fetch --no-tags kbingham-rcar kbingham/vsp1/debugfs git checkout eda5de49ca65531ae1fa75f31300cdaacb112125 # save the config file mkdir build_dir && cp config build_dir/.config COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-11.3.0 make.cross W=1 O=build_dir ARCH=m68k SHELL=/bin/bash drivers/media/
If you fix the issue, kindly add following tag where applicable Reported-by: kernel test robot <lkp@intel.com>
All errors (new ones prefixed by >>):
In file included from drivers/media/platform/renesas/vsp1/vsp1_drv.c:27: >> drivers/media/platform/renesas/vsp1/vsp1_debugfs.h:52:15: error: return type defaults to 'int' [-Werror=implicit-int] 52 | static inline vsp1_debugfs_create_video_stats(struct vsp1_video *video, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ drivers/media/platform/renesas/vsp1/vsp1_debugfs.h:54:15: error: return type defaults to 'int' [-Werror=implicit-int] 54 | static inline vsp1_debugfs_cleanup_video_stats(struct vsp1_video *video) { }; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cc1: some warnings being treated as errors -- In file included from drivers/media/platform/renesas/vsp1/vsp1_video.c:28: >> drivers/media/platform/renesas/vsp1/vsp1_debugfs.h:52:15: error: return type defaults to 'int' [-Werror=implicit-int] 52 | static inline vsp1_debugfs_create_video_stats(struct vsp1_video *video, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ drivers/media/platform/renesas/vsp1/vsp1_debugfs.h:54:15: error: return type defaults to 'int' [-Werror=implicit-int] 54 | static inline vsp1_debugfs_cleanup_video_stats(struct vsp1_video *video) { }; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ drivers/media/platform/renesas/vsp1/vsp1_debugfs.h: In function 'vsp1_debugfs_create_video_stats': drivers/media/platform/renesas/vsp1/vsp1_debugfs.h:53:37: error: control reaches end of non-void function [-Werror=return-type] 53 | const char *name) { }; | ^ drivers/media/platform/renesas/vsp1/vsp1_debugfs.h: In function 'vsp1_debugfs_cleanup_video_stats': drivers/media/platform/renesas/vsp1/vsp1_debugfs.h:54:76: error: control reaches end of non-void function [-Werror=return-type] 54 | static inline vsp1_debugfs_cleanup_video_stats(struct vsp1_video *video) { }; | ^ cc1: some warnings being treated as errors
vim +/int +52 drivers/media/platform/renesas/vsp1/vsp1_debugfs.h
51 > 52 static inline vsp1_debugfs_create_video_stats(struct vsp1_video *video, 53 const char *name) { }; 54 static inline vsp1_debugfs_cleanup_video_stats(struct vsp1_video *video) { }; 55 #endif /* CONFIG_DEBUG_FS */ 56
-- 0-DAY CI Kernel Test Service https://01.org/lkp
| |