From: kernel test robot <lkp@intel.com>
To: marxin <mliska@suse.cz>
Cc: kbuild-all@lists.01.org, linux-kernel@vger.kernel.org,
Jiri Slaby <jirislaby@kernel.org>,
Andi Kleen <andi@firstfloor.org>
Subject: [jirislaby:lto 4/45] kernel/static_call_inline.c:504:15: warning: no previous prototype for 'func_a'
Date: Fri, 24 Jun 2022 01:44:26 +0800 [thread overview]
Message-ID: <202206240131.GMBBDfhI-lkp@intel.com> (raw)
tree: https://git.kernel.org/pub/scm/linux/kernel/git/jirislaby/linux.git lto
head: 8047611082d70c5263114fabce8c80a4c3d251fa
commit: e99286245556c2e8709aaa23124b9a7a10fa975b [4/45] static_call: Make static call functions visible
config: x86_64-allyesconfig (https://download.01.org/0day-ci/archive/20220624/202206240131.GMBBDfhI-lkp@intel.com/config)
compiler: gcc-11 (Debian 11.3.0-3) 11.3.0
reproduce (this is a W=1 build):
# https://git.kernel.org/pub/scm/linux/kernel/git/jirislaby/linux.git/commit/?id=e99286245556c2e8709aaa23124b9a7a10fa975b
git remote add jirislaby https://git.kernel.org/pub/scm/linux/kernel/git/jirislaby/linux.git
git fetch --no-tags jirislaby lto
git checkout e99286245556c2e8709aaa23124b9a7a10fa975b
# save the config file
mkdir build_dir && cp config build_dir/.config
make W=1 O=build_dir ARCH=x86_64 SHELL=/bin/bash
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 >>):
>> kernel/static_call_inline.c:504:15: warning: no previous prototype for 'func_a' [-Wmissing-prototypes]
504 | int __visible func_a(int x)
| ^~~~~~
>> kernel/static_call_inline.c:509:15: warning: no previous prototype for 'func_b' [-Wmissing-prototypes]
509 | int __visible func_b(int x)
| ^~~~~~
vim +/func_a +504 kernel/static_call_inline.c
503
> 504 int __visible func_a(int x)
505 {
506 return x+1;
507 }
508
> 509 int __visible func_b(int x)
510 {
511 return x+2;
512 }
513
--
0-DAY CI Kernel Test Service
https://01.org/lkp
reply other threads:[~2022-06-23 18:43 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=202206240131.GMBBDfhI-lkp@intel.com \
--to=lkp@intel.com \
--cc=andi@firstfloor.org \
--cc=jirislaby@kernel.org \
--cc=kbuild-all@lists.01.org \
--cc=linux-kernel@vger.kernel.org \
--cc=mliska@suse.cz \
/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
Powered by JetHome