[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <201602090506.3A9n68ZN%fengguang.wu@intel.com>
Date: Tue, 9 Feb 2016 05:52:13 +0800
From: kbuild test robot <lkp@...el.com>
To: Nikolay Borisov <kernel@...p.com>
Cc: kbuild-all@...org, davem@...emloft.net, ebiederm@...ssion.com,
netdev@...r.kernel.org, edumazet@...gle.com, pdowney@...cade.com,
dsa@...ulusnetworks.com
Subject: Re: [PATCH 3/4] igmp: Namespaceify igmp_llm_reports sysctl knob
Hi Nikolay,
[auto build test WARNING on net-next/master]
[also build test WARNING on next-20160208]
[cannot apply to net/master v4.5-rc3]
[if your patch is applied to the wrong git tree, please drop us a note to help improving the system]
url: https://github.com/0day-ci/linux/commits/Nikolay-Borisov/Make-igmp-sysctl-knobs-namespace-aware/20160209-053257
config: x86_64-randconfig-x017-201606 (attached as .config)
reproduce:
# save the attached .config to linux build tree
make ARCH=x86_64
All warnings (new ones prefixed by >>):
net/ipv4/igmp.c: In function 'igmp_group_dropped':
>> net/ipv4/igmp.c:1187:14: warning: unused variable 'net' [-Wunused-variable]
struct net *net = dev_net(in_dev->dev);
^
net/ipv4/igmp.c: In function 'igmp_group_added':
net/ipv4/igmp.c:1225:14: warning: unused variable 'net' [-Wunused-variable]
struct net *net = dev_net(in_dev->dev);
^
vim +/net +1187 net/ipv4/igmp.c
1171 spin_lock_bh(&pmc->lock);
1172 psf = pmc->tomb;
1173 pmc->tomb = NULL;
1174 spin_unlock_bh(&pmc->lock);
1175 for (; psf; psf = psf_next) {
1176 psf_next = psf->sf_next;
1177 kfree(psf);
1178 }
1179 }
1180 rcu_read_unlock();
1181 }
1182 #endif
1183
1184 static void igmp_group_dropped(struct ip_mc_list *im)
1185 {
1186 struct in_device *in_dev = im->interface;
> 1187 struct net *net = dev_net(in_dev->dev);
1188 #ifdef CONFIG_IP_MULTICAST
1189 int reporter;
1190 #endif
1191
1192 if (im->loaded) {
1193 im->loaded = 0;
1194 ip_mc_filter_del(in_dev, im->multiaddr);
1195 }
---
0-DAY kernel test infrastructure Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all Intel Corporation
Download attachment ".config.gz" of type "application/octet-stream" (21771 bytes)
Powered by blists - more mailing lists