From: kernel test robot <lkp@intel.com>
To: Kieran Bingham <kieran.bingham+renesas@ideasonboard.com>
Cc: kbuild-all@lists.01.org, linux-kernel@vger.kernel.org
Subject: [kbingham-rcar:kbingham/vsp1/debugfs 6/7] drivers/media/platform/renesas/vsp1/vsp1_debugfs.h:52:15: error: return type defaults to 'int'
Date: Thu, 7 Jul 2022 19:34:03 +0800 [thread overview]
Message-ID: <202207071954.8vAac5gl-lkp@intel.com> (raw)
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
reply other threads:[~2022-07-07 11:34 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=202207071954.8vAac5gl-lkp@intel.com \
--to=lkp@intel.com \
--cc=kbuild-all@lists.01.org \
--cc=kieran.bingham+renesas@ideasonboard.com \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox