From patchwork Tue Jun 13 11:24:55 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ashwanth Goli X-Patchwork-Id: 775091 X-Patchwork-Delegate: davem@davemloft.net Return-Path: X-Original-To: patchwork-incoming@ozlabs.org Delivered-To: patchwork-incoming@ozlabs.org Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by ozlabs.org (Postfix) with ESMTP id 3wn6qz5Gg3z9s8N for ; Tue, 13 Jun 2017 21:25:03 +1000 (AEST) Authentication-Results: ozlabs.org; dkim=pass (1024-bit key; unprotected) header.d=codeaurora.org header.i=@codeaurora.org header.b="E7ruJVc0"; dkim=pass (1024-bit key) header.d=codeaurora.org header.i=@codeaurora.org header.b="E7ruJVc0"; dkim-atps=neutral Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752337AbdFMLZB (ORCPT ); Tue, 13 Jun 2017 07:25:01 -0400 Received: from smtp.codeaurora.org ([198.145.29.96]:44734 "EHLO smtp.codeaurora.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752083AbdFMLZA (ORCPT ); Tue, 13 Jun 2017 07:25:00 -0400 Received: by smtp.codeaurora.org (Postfix, from userid 1000) id 921156073F; Tue, 13 Jun 2017 11:24:59 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=codeaurora.org; s=default; t=1497353099; bh=AwE7xuuHMxmMOkZt4kUxhiRpUG/Piw2j2gMUEzxW3UM=; h=From:To:Subject:Date:From; b=E7ruJVc02btHv92tDUfIgTXqHbBosN+PeiQgvh+llOsfdiHf0a39kJc/LVdM4mKCG rV2BOc3OGn8lgbWAhXK8FBmRKRDQhywgde7G3+ft6cfuvrnKRLwSDJ3zHLWVRpp606 HGaPDqElxCuXbVycMyENr6VbxBn+BQ1BVMlfn+pU= X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on pdx-caf-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-2.8 required=2.0 tests=ALL_TRUSTED,BAYES_00, DKIM_SIGNED, T_DKIM_INVALID autolearn=no autolearn_force=no version=3.4.0 Received: from ashwanth-linux.ap.qualcomm.com. (blr-c-bdr-fw-01_globalnat_allzones-outside.qualcomm.com [103.229.19.19]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: ashwanth@codeaurora.org) by smtp.codeaurora.org (Postfix) with ESMTPSA id 72729605A2 for ; Tue, 13 Jun 2017 11:24:58 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=codeaurora.org; s=default; t=1497353099; bh=AwE7xuuHMxmMOkZt4kUxhiRpUG/Piw2j2gMUEzxW3UM=; h=From:To:Subject:Date:From; b=E7ruJVc02btHv92tDUfIgTXqHbBosN+PeiQgvh+llOsfdiHf0a39kJc/LVdM4mKCG rV2BOc3OGn8lgbWAhXK8FBmRKRDQhywgde7G3+ft6cfuvrnKRLwSDJ3zHLWVRpp606 HGaPDqElxCuXbVycMyENr6VbxBn+BQ1BVMlfn+pU= DMARC-Filter: OpenDMARC Filter v1.3.2 smtp.codeaurora.org 72729605A2 Authentication-Results: pdx-caf-mail.web.codeaurora.org; dmarc=none (p=none dis=none) header.from=codeaurora.org Authentication-Results: pdx-caf-mail.web.codeaurora.org; spf=none smtp.mailfrom=ashwanth@codeaurora.org From: Ashwanth Goli To: netdev@vger.kernel.org Subject: [PATCH] net: rps: fix uninitialized symbol warning Date: Tue, 13 Jun 2017 16:54:55 +0530 Message-Id: <1497353095-8712-1-git-send-email-ashwanth@codeaurora.org> X-Mailer: git-send-email 1.9.1 Sender: netdev-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: netdev@vger.kernel.org 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 --- 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();