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

2 messages, 2 authors, 2017-06-13 · open the first message on its own page

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

From: Stephen Rothwell <hidden>
Date: 2017-06-13 11:08:50

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

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

From: Ashwanth Goli <hidden>
Date: 2017-06-13 11:31:55

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.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help