Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1334103 > unrolled thread
| Started by | Stephen Rothwell <sfr@canb.auug.org.au> |
|---|---|
| First post | 2016-02-15 03:20 +0100 |
| Last post | 2016-02-15 09:10 +0100 |
| Articles | 2 — 2 participants |
Back to article view | Back to linux.kernel
linux-next: build warning after merge of the net-next tree Stephen Rothwell <sfr@canb.auug.org.au> - 2016-02-15 03:20 +0100
Re: linux-next: build warning after merge of the net-next tree Nikolay Borisov <kernel@kyup.com> - 2016-02-15 09:10 +0100
| From | Stephen Rothwell <sfr@canb.auug.org.au> |
|---|---|
| Date | 2016-02-15 03:20 +0100 |
| Subject | linux-next: build warning after merge of the net-next tree |
| Message-ID | <r2gVA-2Vi-7@gated-at.bofh.it> |
Hi all,
After merging the net-next tree, today's linux-next build (arm
multi_v7_defconfig) produced this warning:
net/ipv4/igmp.c: In function 'igmp_group_added':
net/ipv4/igmp.c:1227:14: warning: unused variable 'net' [-Wunused-variable]
struct net *net = dev_net(in_dev->dev);
^
net/ipv4/igmp.c: In function 'ip_mc_inc_group':
net/ipv4/igmp.c:1319:14: warning: unused variable 'net' [-Wunused-variable]
struct net *net = dev_net(in_dev->dev);
^
net/ipv4/igmp.c: In function 'ip_mc_init_dev':
net/ipv4/igmp.c:1646:14: warning: unused variable 'net' [-Wunused-variable]
struct net *net = dev_net(in_dev->dev);
^
net/ipv4/igmp.c: In function 'ip_mc_up':
net/ipv4/igmp.c:1665:14: warning: unused variable 'net' [-Wunused-variable]
struct net *net = dev_net(in_dev->dev);
^
Introduced by commits
87a8a2ae65b7 ("igmp: Namespaceify igmp_llm_reports sysctl knob")
165094afcee7 ("igmp: Namespacify igmp_qrv sysctl knob")
CONFIG_IP_MULTICAST is not set for this build.
--
Cheers,
Stephen Rothwell
[toc] | [next] | [standalone]
| From | Nikolay Borisov <kernel@kyup.com> |
|---|---|
| Date | 2016-02-15 09:10 +0100 |
| Message-ID | <r2moh-6Gr-3@gated-at.bofh.it> |
| In reply to | #1334103 |
On 02/15/2016 04:09 AM, Stephen Rothwell wrote:
> Hi all,
>
> After merging the net-next tree, today's linux-next build (arm
> multi_v7_defconfig) produced this warning:
>
> net/ipv4/igmp.c: In function 'igmp_group_added':
> net/ipv4/igmp.c:1227:14: warning: unused variable 'net' [-Wunused-variable]
> struct net *net = dev_net(in_dev->dev);
> ^
> net/ipv4/igmp.c: In function 'ip_mc_inc_group':
> net/ipv4/igmp.c:1319:14: warning: unused variable 'net' [-Wunused-variable]
> struct net *net = dev_net(in_dev->dev);
> ^
> net/ipv4/igmp.c: In function 'ip_mc_init_dev':
> net/ipv4/igmp.c:1646:14: warning: unused variable 'net' [-Wunused-variable]
> struct net *net = dev_net(in_dev->dev);
> ^
> net/ipv4/igmp.c: In function 'ip_mc_up':
> net/ipv4/igmp.c:1665:14: warning: unused variable 'net' [-Wunused-variable]
> struct net *net = dev_net(in_dev->dev);
> ^
>
> Introduced by commits
>
> 87a8a2ae65b7 ("igmp: Namespaceify igmp_llm_reports sysctl knob")
> 165094afcee7 ("igmp: Namespacify igmp_qrv sysctl knob")
>
> CONFIG_IP_MULTICAST is not set for this build.
Right, I have forgotten to add the ifdef guards for the respective
variables, will squeeze a patch in the next series on namespaceifying
various sysctls.
Thanks for testing!
[toc] | [prev] | [standalone]
Back to top | Article view | linux.kernel
csiph-web