From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wm1-f67.google.com (mail-wm1-f67.google.com [209.85.128.67]) by dpdk.org (Postfix) with ESMTP id 426F43237 for ; Mon, 19 Nov 2018 13:25:50 +0100 (CET) Received: by mail-wm1-f67.google.com with SMTP id y139so5107156wmc.5 for ; Mon, 19 Nov 2018 04:25:50 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=HshdydQskC9KGHWLQ6Z6oC+ICe0NsAP1hUC3KFkHJs4=; b=RhndDE4Tp2dV4eCH0DLrH7aUBYUUwIKK4IfcYDd2CLkDfe9a/9L68V7+YyWOscb+19 Xn/zhWNE1mohKnc8/n/ONlN13yNc5ebENaW3rk/ihCXc/JiNcG3joTRyq1H1BdCuaGEk rFoUmtYqpW5OR3AqBRPPVo6WmaKYjFRMVzWF/aIi+1q6dnd7//CdmIjGRTXQjzKUgYoU j2Vib27rClD8EsKo/dTyEcvAGHMj629XG/SAG8JBpWz8mDc9qPFSmjVwuA671WP0sLFO ZAyQwckpeeD81LAjArlgm/Ti6o2NFofMSOFmSri7pN/ggGoXQVbxepu9Fo+NJ5V0DSRq /rZQ== X-Gm-Message-State: AGRZ1gJIbjfYWJ6tsHhepjMBBT/7UF+/dkObRnwKWp8o2QxfD8bOzZLs f3kCTHDdcSuzhiR8tuJJa/sl27Dg X-Google-Smtp-Source: AFSGD/WEzeB19YcJJ/5M2Xe8rDdWf0qK4gGwgDiYILxVJ0ud1fXCH17+Ekjuf0ylQMOA8soU0ZAErA== X-Received: by 2002:a1c:d0cd:: with SMTP id h196mr6768720wmg.13.1542630349822; Mon, 19 Nov 2018 04:25:49 -0800 (PST) Received: from localhost ([2a01:4b00:f419:6f00:8361:8946:ba2b:d556]) by smtp.gmail.com with ESMTPSA id v23-v6sm29322223wrd.92.2018.11.19.04.25.48 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Mon, 19 Nov 2018 04:25:49 -0800 (PST) From: Luca Boccassi To: Yunjian Wang Cc: Qi Zhang , dpdk stable Date: Mon, 19 Nov 2018 12:25:21 +0000 Message-Id: <20181119122538.14207-4-bluca@debian.org> X-Mailer: git-send-email 2.19.1 In-Reply-To: <20181119122538.14207-1-bluca@debian.org> References: <20181108180111.25873-1-bluca@debian.org> <20181119122538.14207-1-bluca@debian.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: [dpdk-stable] patch 'net/e1000/base: fix uninitialized variable' has been queued to LTS release 16.11.9 X-BeenThere: stable@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches for DPDK stable branches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 19 Nov 2018 12:25:50 -0000 Hi, FYI, your patch has been queued to LTS release 16.11.9 Note it hasn't been pushed to http://dpdk.org/browse/dpdk-stable yet. It will be pushed if I get no objections before 11/21/18. So please shout if anyone has objections. Also note that after the patch there's a diff of the upstream commit vs the patch applied to the branch. If the code is different (ie: not only metadata diffs), due for example to a change in context or macro names, please double check it. Thanks. Luca Boccassi --- >>From 7138018d1ba8c3365b47303e424b6e9ca46a2677 Mon Sep 17 00:00:00 2001 From: Yunjian Wang Date: Tue, 6 Nov 2018 15:57:01 +0800 Subject: [PATCH] net/e1000/base: fix uninitialized variable [ upstream commit ba46f5e60f03fdc357e5fcbc370eb2812c3120ff ] This patch fixes the variable 'phy_word' may be used uninitialized. Fixes: 5b6439cf03a4 ("e1000/base: support different EEARBC for i210") Signed-off-by: Yunjian Wang Acked-by: Qi Zhang --- drivers/net/e1000/base/e1000_i210.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/net/e1000/base/e1000_i210.c b/drivers/net/e1000/base/e1000_i210.c index 277331c42..c2abb43fb 100644 --- a/drivers/net/e1000/base/e1000_i210.c +++ b/drivers/net/e1000/base/e1000_i210.c @@ -941,6 +941,7 @@ STATIC s32 e1000_pll_workaround_i210(struct e1000_hw *hw) if (ret_val != E1000_SUCCESS) nvm_word = E1000_INVM_DEFAULT_AL; tmp_nvm = nvm_word | E1000_INVM_PLL_WO_VAL; + phy_word = E1000_PHY_PLL_UNCONF; for (i = 0; i < E1000_MAX_PLL_TRIES; i++) { /* check current state directly from internal PHY */ e1000_read_phy_reg_gs40g(hw, (E1000_PHY_PLL_FREQ_PAGE | -- 2.19.1 --- Diff of the applied patch vs upstream commit (please double-check if non-empty: --- --- - 2018-11-19 12:15:18.204862732 +0000 +++ 0004-net-e1000-base-fix-uninitialized-variable.patch 2018-11-19 12:15:18.071611433 +0000 @@ -1,12 +1,13 @@ -From ba46f5e60f03fdc357e5fcbc370eb2812c3120ff Mon Sep 17 00:00:00 2001 +From 7138018d1ba8c3365b47303e424b6e9ca46a2677 Mon Sep 17 00:00:00 2001 From: Yunjian Wang Date: Tue, 6 Nov 2018 15:57:01 +0800 Subject: [PATCH] net/e1000/base: fix uninitialized variable +[ upstream commit ba46f5e60f03fdc357e5fcbc370eb2812c3120ff ] + This patch fixes the variable 'phy_word' may be used uninitialized. Fixes: 5b6439cf03a4 ("e1000/base: support different EEARBC for i210") -Cc: stable@dpdk.org Signed-off-by: Yunjian Wang Acked-by: Qi Zhang