lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [day] [month] [year] [list]
Date:   Fri, 18 Mar 2022 21:52:27 +0800
From:   kernel test robot <lkp@...el.com>
To:     Ingo Molnar <mingo@...nel.org>
Cc:     llvm@...ts.linux.dev, kbuild-all@...ts.01.org,
        linux-kernel@...r.kernel.org
Subject: [mingo-tip:master 1863/2335] net/ipv6/mcast.c:257:5: warning: no
 previous prototype for function 'ipv6_sock_mc_join_ssm'

tree:   git://git.kernel.org/pub/scm/linux/kernel/git/mingo/tip.git master
head:   85293bf3fca6d85608cff1447ce3097583f15fab
commit: 6444b1da8c923265175370f6a07405345c316ad9 [1863/2335] headers/deps: net: Split <net/ipv6_api_sock.h> header out of <net/ipv6.h>
config: x86_64-randconfig-a001 (https://download.01.org/0day-ci/archive/20220318/202203182145.IJoJVRxO-lkp@intel.com/config)
compiler: clang version 15.0.0 (https://github.com/llvm/llvm-project a6ec1e3d798f8eab43fb3a91028c6ab04e115fcb)
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/mingo/tip.git/commit/?id=6444b1da8c923265175370f6a07405345c316ad9
        git remote add mingo-tip git://git.kernel.org/pub/scm/linux/kernel/git/mingo/tip.git
        git fetch --no-tags mingo-tip master
        git checkout 6444b1da8c923265175370f6a07405345c316ad9
        # save the config file to linux build tree
        mkdir build_dir
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross W=1 O=build_dir ARCH=x86_64 SHELL=/bin/bash arch/x86/kernel/cpu/mtrr/ arch/x86/pci/ kernel/trace/ net/ipv6/

If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@...el.com>

All warnings (new ones prefixed by >>):

>> net/ipv6/mcast.c:257:5: warning: no previous prototype for function 'ipv6_sock_mc_join_ssm' [-Wmissing-prototypes]
   int ipv6_sock_mc_join_ssm(struct sock *sk, int ifindex,
       ^
   net/ipv6/mcast.c:257:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
   int ipv6_sock_mc_join_ssm(struct sock *sk, int ifindex,
   ^
   static 
   1 warning generated.


vim +/ipv6_sock_mc_join_ssm +257 net/ipv6/mcast.c

^1da177e4c3f41 Linus Torvalds 2005-04-16  256  
c7ea20c9da5b94 Hangbin Liu    2018-07-10 @257  int ipv6_sock_mc_join_ssm(struct sock *sk, int ifindex,
c7ea20c9da5b94 Hangbin Liu    2018-07-10  258  			  const struct in6_addr *addr, unsigned int mode)
c7ea20c9da5b94 Hangbin Liu    2018-07-10  259  {
c7ea20c9da5b94 Hangbin Liu    2018-07-10  260  	return __ipv6_sock_mc_join(sk, ifindex, addr, mode);
c7ea20c9da5b94 Hangbin Liu    2018-07-10  261  }
c7ea20c9da5b94 Hangbin Liu    2018-07-10  262  

:::::: The code at line 257 was first introduced by commit
:::::: c7ea20c9da5b94e400c8dcc0adb99411f2e430a6 ipv6/mcast: init as INCLUDE when join SSM INCLUDE group

:::::: TO: Hangbin Liu <liuhangbin@...il.com>
:::::: CC: David S. Miller <davem@...emloft.net>

---
0-DAY CI Kernel Test Service
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ