netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] net: rps: fix uninitialized symbol warning
@ 2017-06-13 11:24 Ashwanth Goli
  2017-06-13 15:30 ` David Miller
  0 siblings, 1 reply; 2+ messages in thread
From: Ashwanth Goli @ 2017-06-13 11:24 UTC (permalink / raw)
  To: netdev

This patch fixes uninitialized symbol warning that
got introduced by the following commit
773fc8f6e8d6 ("net: rps: send out pending IPI's on CPU hotplug")

Signed-off-by: Ashwanth Goli <ashwanth@codeaurora.org>
---
 net/core/dev.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net/core/dev.c b/net/core/dev.c
index 54bb8d9..6d60149 100644
--- a/net/core/dev.c
+++ b/net/core/dev.c
@@ -8203,7 +8203,7 @@ static int dev_cpu_dead(unsigned int oldcpu)
 	struct sk_buff **list_skb;
 	struct sk_buff *skb;
 	unsigned int cpu;
-	struct softnet_data *sd, *oldsd, *remsd;
+	struct softnet_data *sd, *oldsd, *remsd = NULL;
 
 	local_irq_disable();
 	cpu = smp_processor_id();
-- 
1.9.1

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] net: rps: fix uninitialized symbol warning
  2017-06-13 11:24 [PATCH] net: rps: fix uninitialized symbol warning Ashwanth Goli
@ 2017-06-13 15:30 ` David Miller
  0 siblings, 0 replies; 2+ messages in thread
From: David Miller @ 2017-06-13 15:30 UTC (permalink / raw)
  To: ashwanth; +Cc: netdev

From: Ashwanth Goli <ashwanth@codeaurora.org>
Date: Tue, 13 Jun 2017 16:54:55 +0530

> This patch fixes uninitialized symbol warning that
> got introduced by the following commit
> 773fc8f6e8d6 ("net: rps: send out pending IPI's on CPU hotplug")
> 
> Signed-off-by: Ashwanth Goli <ashwanth@codeaurora.org>

Applied.

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2017-06-13 15:30 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-06-13 11:24 [PATCH] net: rps: fix uninitialized symbol warning Ashwanth Goli
2017-06-13 15:30 ` David Miller

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).