* [net:master 11/11] net//ipv4/igmp.c:2157:2: error: implicit declaration of function 'ip_sf_list_clear_all'; did you mean 'ip_mc_filter_del'?
@ 2019-05-23 1:19 kbuild test robot
2019-05-23 1:24 ` Eric Dumazet
0 siblings, 1 reply; 2+ messages in thread
From: kbuild test robot @ 2019-05-23 1:19 UTC (permalink / raw)
To: Eric Dumazet; +Cc: kbuild-all, netdev
[-- Attachment #1: Type: text/plain, Size: 1689 bytes --]
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-x073-201920 (attached as .config)
compiler: gcc-7 (Debian 7.3.0-1) 7.3.0
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 <lkp@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'; did you mean 'ip_mc_filter_del'? [-Werror=implicit-function-declaration]
ip_sf_list_clear_all(tomb);
^~~~~~~~~~~~~~~~~~~~
ip_mc_filter_del
cc1: some warnings being treated as errors
vim +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 #2: .config.gz --]
[-- Type: application/gzip, Size: 32455 bytes --]
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [net:master 11/11] net//ipv4/igmp.c:2157:2: error: implicit declaration of function 'ip_sf_list_clear_all'; did you mean 'ip_mc_filter_del'?
2019-05-23 1:19 [net:master 11/11] net//ipv4/igmp.c:2157:2: error: implicit declaration of function 'ip_sf_list_clear_all'; did you mean 'ip_mc_filter_del'? kbuild test robot
@ 2019-05-23 1:24 ` Eric Dumazet
0 siblings, 0 replies; 2+ messages in thread
From: Eric Dumazet @ 2019-05-23 1:24 UTC (permalink / raw)
To: kbuild test robot; +Cc: kbuild-all, netdev
On Wed, May 22, 2019 at 6:19 PM kbuild test robot <lkp@intel.com> wrote:
>
> 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-x073-201920 (attached as .config)
> compiler: gcc-7 (Debian 7.3.0-1) 7.3.0
> 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 <lkp@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'; did you mean 'ip_mc_filter_del'? [-Werror=implicit-function-declaration]
> ip_sf_list_clear_all(tomb);
> ^~~~~~~~~~~~~~~~~~~~
> ip_mc_filter_del
> cc1: some warnings being treated as errors
Oh right, I will send a followup patch (if/when CONFIG_IP_MULTICAST is
not defined)
Thanks
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2019-05-23 1:24 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-05-23 1:19 [net:master 11/11] net//ipv4/igmp.c:2157:2: error: implicit declaration of function 'ip_sf_list_clear_all'; did you mean 'ip_mc_filter_del'? kbuild test robot
2019-05-23 1:24 ` Eric Dumazet
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.