From: kernel test robot <lkp@intel.com>
To: Ingo Molnar <mingo@kernel.org>
Cc: kbuild-all@lists.01.org, linux-kernel@vger.kernel.org
Subject: [mingo-tip:sched/headers 2005/2579] net/ipv6/mcast.c:258:5: warning: no previous prototype for 'ipv6_sock_mc_join_ssm'
Date: Thu, 21 Apr 2022 14:44:32 +0800 [thread overview]
Message-ID: <202204211115.AswnonHW-lkp@intel.com> (raw)
tree: git://git.kernel.org/pub/scm/linux/kernel/git/mingo/tip.git sched/headers
head: 49e1ec6c70a6eb4b7de9250a455b8b63eb42afbe
commit: c69b0b89e88734be4e9bf8aad8f3fbcbf0b05df9 [2005/2579] headers/deps: net: Split <net/ipv6_api_sock.h> header out of <net/ipv6.h>
config: x86_64-randconfig-a013 (https://download.01.org/0day-ci/archive/20220421/202204211115.AswnonHW-lkp@intel.com/config)
compiler: gcc-11 (Debian 11.2.0-20) 11.2.0
reproduce (this is a W=1 build):
# https://git.kernel.org/pub/scm/linux/kernel/git/mingo/tip.git/commit/?id=c69b0b89e88734be4e9bf8aad8f3fbcbf0b05df9
git remote add mingo-tip git://git.kernel.org/pub/scm/linux/kernel/git/mingo/tip.git
git fetch --no-tags mingo-tip sched/headers
git checkout c69b0b89e88734be4e9bf8aad8f3fbcbf0b05df9
# save the config file
mkdir build_dir && cp config build_dir/.config
make W=1 O=build_dir ARCH=x86_64 SHELL=/bin/bash arch/x86/pci/ fs/crypto/ net/ipv6/
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@intel.com>
All warnings (new ones prefixed by >>):
>> net/ipv6/mcast.c:258:5: warning: no previous prototype for 'ipv6_sock_mc_join_ssm' [-Wmissing-prototypes]
258 | int ipv6_sock_mc_join_ssm(struct sock *sk, int ifindex,
| ^~~~~~~~~~~~~~~~~~~~~
vim +/ipv6_sock_mc_join_ssm +258 net/ipv6/mcast.c
^1da177e4c3f415 Linus Torvalds 2005-04-16 257
c7ea20c9da5b94e Hangbin Liu 2018-07-10 @258 int ipv6_sock_mc_join_ssm(struct sock *sk, int ifindex,
c7ea20c9da5b94e Hangbin Liu 2018-07-10 259 const struct in6_addr *addr, unsigned int mode)
c7ea20c9da5b94e Hangbin Liu 2018-07-10 260 {
c7ea20c9da5b94e Hangbin Liu 2018-07-10 261 return __ipv6_sock_mc_join(sk, ifindex, addr, mode);
c7ea20c9da5b94e Hangbin Liu 2018-07-10 262 }
c7ea20c9da5b94e Hangbin Liu 2018-07-10 263
:::::: The code at line 258 was first introduced by commit
:::::: c7ea20c9da5b94e400c8dcc0adb99411f2e430a6 ipv6/mcast: init as INCLUDE when join SSM INCLUDE group
:::::: TO: Hangbin Liu <liuhangbin@gmail.com>
:::::: CC: David S. Miller <davem@davemloft.net>
--
0-DAY CI Kernel Test Service
https://01.org/lkp
reply other threads:[~2022-04-21 6:46 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=202204211115.AswnonHW-lkp@intel.com \
--to=lkp@intel.com \
--cc=kbuild-all@lists.01.org \
--cc=linux-kernel@vger.kernel.org \
--cc=mingo@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;
as well as URLs for NNTP newsgroup(s).