tree:   https://git.kernel.org/pub/scm/linux/kernel/git/davem/net.git master
head:   3580d04aa674383c42de7b635d28e52a1e5bc72c
commit: 3580d04aa674383c42de7b635d28e52a1e5bc72c [11/11] ipv4/igmp: fix another 
memory leak in igmpv3_del_delrec()
config: i386-randconfig-i0-201920 (attached as .config)
compiler: gcc-5 (Debian 5.5.0-3) 5.4.1 20171010
reproduce:
        git checkout 3580d04aa674383c42de7b635d28e52a1e5bc72c
        # save the attached .config to linux build tree
        make ARCH=i386 

If you fix the issue, kindly add following tag
Reported-by: kbuild test robot <l...@intel.com>

All errors (new ones prefixed by >>):

   net//ipv4/igmp.c: In function 'ip_mc_clear_src':
>> net//ipv4/igmp.c:2157:2: error: implicit declaration of function 
>> 'ip_sf_list_clear_all' [-Werror=implicit-function-declaration]
     ip_sf_list_clear_all(tomb);
     ^
   cc1: some warnings being treated as errors

vim +/ip_sf_list_clear_all +2157 net//ipv4/igmp.c

  2142  
  2143  static void ip_mc_clear_src(struct ip_mc_list *pmc)
  2144  {
  2145          struct ip_sf_list *tomb, *sources;
  2146  
  2147          spin_lock_bh(&pmc->lock);
  2148          tomb = pmc->tomb;
  2149          pmc->tomb = NULL;
  2150          sources = pmc->sources;
  2151          pmc->sources = NULL;
  2152          pmc->sfmode = MCAST_EXCLUDE;
  2153          pmc->sfcount[MCAST_INCLUDE] = 0;
  2154          pmc->sfcount[MCAST_EXCLUDE] = 1;
  2155          spin_unlock_bh(&pmc->lock);
  2156  
> 2157          ip_sf_list_clear_all(tomb);
  2158          ip_sf_list_clear_all(sources);
  2159  }
  2160  

---
0-DAY kernel test infrastructure                Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all                   Intel Corporation

Attachment: .config.gz
Description: application/gzip

Reply via email to