Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1664750 > unrolled thread

linux-next: build warning after merge of the net tree

Started byStephen Rothwell <sfr@canb.auug.org.au>
First post2017-06-13 13:10 +0200
Last post2017-06-13 13:40 +0200
Articles 2 — 2 participants

Back to article view | Back to linux.kernel


Contents

  linux-next: build warning after merge of the net tree Stephen Rothwell <sfr@canb.auug.org.au> - 2017-06-13 13:10 +0200
    Re: linux-next: build warning after merge of the net tree Ashwanth Goli <ashwanth@codeaurora.org> - 2017-06-13 13:40 +0200

#1664750 — linux-next: build warning after merge of the net tree

FromStephen Rothwell <sfr@canb.auug.org.au>
Date2017-06-13 13:10 +0200
Subjectlinux-next: build warning after merge of the net tree
Message-ID<tRRRU-7ec-5@gated-at.bofh.it>
Hi all,

After merging the net tree, today's linux-next build (powerpc
ppc44x_defconfig) produced this warning:

net/core/dev.c: In function 'dev_cpu_dead':
net/core/dev.c:8330:2: warning: 'remsd' is used uninitialized in this function [-Wuninitialized]
  net_rps_send_ipi(remsd);
  ^

Introduced by commit

  773fc8f6e8d6 ("net: rps: send out pending IPI's on CPU hotplug")

These builds have CONFIG_RPS not set.

-- 
Cheers,
Stephen Rothwell

[toc] | [next] | [standalone]


#1664770

FromAshwanth Goli <ashwanth@codeaurora.org>
Date2017-06-13 13:40 +0200
Message-ID<tRSkW-7nC-23@gated-at.bofh.it>
In reply to#1664750
Hi Stephen,

On 2017-06-13 16:38, Stephen Rothwell wrote:
> Hi all,
> 
> After merging the net tree, today's linux-next build (powerpc
> ppc44x_defconfig) produced this warning:
> 
> net/core/dev.c: In function 'dev_cpu_dead':
> net/core/dev.c:8330:2: warning: 'remsd' is used uninitialized in this
> function [-Wuninitialized]
>   net_rps_send_ipi(remsd);
>   ^
> 
> Introduced by commit
> 
>   773fc8f6e8d6 ("net: rps: send out pending IPI's on CPU hotplug")
> 
> These builds have CONFIG_RPS not set.

I have sent the fix patch to netdev mailing list.

[toc] | [prev] | [standalone]


Back to top | Article view | linux.kernel


csiph-web