linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [kbingham-rcar:kbingham/vsp1/debugfs 6/7] drivers/media/platform/renesas/vsp1/vsp1_debugfs.h:52:15: error: return type defaults to 'int'
@ 2022-07-07 11:34 kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2022-07-07 11:34 UTC (permalink / raw)
  To: Kieran Bingham; +Cc: kbuild-all, linux-kernel

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

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

only message in thread, other threads:[~2022-07-07 11:34 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-07-07 11:34 [kbingham-rcar:kbingham/vsp1/debugfs 6/7] drivers/media/platform/renesas/vsp1/vsp1_debugfs.h:52:15: error: return type defaults to 'int' kernel test robot

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).