Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/993530/?format=api
{ "id": 993530, "url": "http://patchwork.ozlabs.org/api/patches/993530/?format=api", "web_url": "http://patchwork.ozlabs.org/project/intel-wired-lan/patch/1541492832-10412-1-git-send-email-wangyunjian@huawei.com/", "project": { "id": 46, "url": "http://patchwork.ozlabs.org/api/projects/46/?format=api", "name": "Intel Wired Ethernet development", "link_name": "intel-wired-lan", "list_id": "intel-wired-lan.osuosl.org", "list_email": "intel-wired-lan@osuosl.org", "web_url": "", "scm_url": "", "webscm_url": "", "list_archive_url": "", "list_archive_url_format": "", "commit_url_format": "" }, "msgid": "<1541492832-10412-1-git-send-email-wangyunjian@huawei.com>", "list_archive_url": null, "date": "2018-11-06T08:27:12", "name": "[net] igb: fix uninitialized variables", "commit_ref": null, "pull_url": null, "state": "accepted", "archived": false, "hash": "0e537c793f6071d29f97b00fa30d8f9a7bcf59f7", "submitter": { "id": 69073, "url": "http://patchwork.ozlabs.org/api/people/69073/?format=api", "name": "Yunjian Wang", "email": "wangyunjian@huawei.com" }, "delegate": { "id": 68, "url": "http://patchwork.ozlabs.org/api/users/68/?format=api", "username": "jtkirshe", "first_name": "Jeff", "last_name": "Kirsher", "email": "jeffrey.t.kirsher@intel.com" }, "mbox": "http://patchwork.ozlabs.org/project/intel-wired-lan/patch/1541492832-10412-1-git-send-email-wangyunjian@huawei.com/mbox/", "series": [ { "id": 74221, "url": "http://patchwork.ozlabs.org/api/series/74221/?format=api", "web_url": "http://patchwork.ozlabs.org/project/intel-wired-lan/list/?series=74221", "date": "2018-11-06T08:27:12", "name": "[net] igb: fix uninitialized variables", "version": 1, "mbox": "http://patchwork.ozlabs.org/series/74221/mbox/" } ], "comments": "http://patchwork.ozlabs.org/api/patches/993530/comments/", "check": "pending", "checks": "http://patchwork.ozlabs.org/api/patches/993530/checks/", "tags": {}, "related": [], "headers": { "Return-Path": "<intel-wired-lan-bounces@osuosl.org>", "X-Original-To": [ "incoming@patchwork.ozlabs.org", "intel-wired-lan@lists.osuosl.org" ], "Delivered-To": [ "patchwork-incoming@bilbo.ozlabs.org", "intel-wired-lan@lists.osuosl.org" ], "Authentication-Results": [ "ozlabs.org;\n\tspf=pass (mailfrom) smtp.mailfrom=osuosl.org\n\t(client-ip=140.211.166.136; helo=silver.osuosl.org;\n\tenvelope-from=intel-wired-lan-bounces@osuosl.org;\n\treceiver=<UNKNOWN>)", "ozlabs.org;\n\tdmarc=none (p=none dis=none) header.from=huawei.com" ], "Received": [ "from silver.osuosl.org (smtp3.osuosl.org [140.211.166.136])\n\t(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256\n\tbits)) (No client certificate requested)\n\tby ozlabs.org (Postfix) with ESMTPS id 42q2kh2YK7z9sDL\n\tfor <incoming@patchwork.ozlabs.org>;\n\tTue, 6 Nov 2018 19:28:43 +1100 (AEDT)", "from localhost (localhost [127.0.0.1])\n\tby silver.osuosl.org (Postfix) with ESMTP id 481F9231EF;\n\tTue, 6 Nov 2018 08:28:42 +0000 (UTC)", "from silver.osuosl.org ([127.0.0.1])\n\tby localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024)\n\twith ESMTP id U8VgYG05rOyI; Tue, 6 Nov 2018 08:28:41 +0000 (UTC)", "from ash.osuosl.org (ash.osuosl.org [140.211.166.34])\n\tby silver.osuosl.org (Postfix) with ESMTP id 90A7C22713;\n\tTue, 6 Nov 2018 08:28:41 +0000 (UTC)", "from hemlock.osuosl.org (smtp2.osuosl.org [140.211.166.133])\n\tby ash.osuosl.org (Postfix) with ESMTP id 026C51C0BAC\n\tfor <intel-wired-lan@lists.osuosl.org>;\n\tTue, 6 Nov 2018 08:28:40 +0000 (UTC)", "from localhost (localhost [127.0.0.1])\n\tby hemlock.osuosl.org (Postfix) with ESMTP id F32E487452\n\tfor <intel-wired-lan@lists.osuosl.org>;\n\tTue, 6 Nov 2018 08:28:39 +0000 (UTC)", "from hemlock.osuosl.org ([127.0.0.1])\n\tby localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024)\n\twith ESMTP id 8txV8T4euJyz for <intel-wired-lan@lists.osuosl.org>;\n\tTue, 6 Nov 2018 08:28:39 +0000 (UTC)", "from huawei.com (szxga07-in.huawei.com [45.249.212.35])\n\tby hemlock.osuosl.org (Postfix) with ESMTPS id 3B0D487449\n\tfor <intel-wired-lan@lists.osuosl.org>;\n\tTue, 6 Nov 2018 08:28:39 +0000 (UTC)", "from DGGEMS414-HUB.china.huawei.com (unknown [172.30.72.58])\n\tby Forcepoint Email with ESMTP id 33AFD9C541318;\n\tTue, 6 Nov 2018 16:28:33 +0800 (CST)", "from localhost (10.177.24.66) by DGGEMS414-HUB.china.huawei.com\n\t(10.3.19.214) with Microsoft SMTP Server id 14.3.408.0;\n\tTue, 6 Nov 2018 16:28:27 +0800" ], "X-Virus-Scanned": [ "amavisd-new at osuosl.org", "amavisd-new at osuosl.org" ], "X-Greylist": "domain auto-whitelisted by SQLgrey-1.7.6", "From": "wangyunjian <wangyunjian@huawei.com>", "To": "<netdev@vger.kernel.org>, <intel-wired-lan@lists.osuosl.org>", "Date": "Tue, 6 Nov 2018 16:27:12 +0800", "Message-ID": "<1541492832-10412-1-git-send-email-wangyunjian@huawei.com>", "X-Mailer": "git-send-email 1.9.5.msysgit.1", "MIME-Version": "1.0", "X-Originating-IP": "[10.177.24.66]", "X-CFilter-Loop": "Reflected", "Subject": "[Intel-wired-lan] [PATCH net] igb: fix uninitialized variables", "X-BeenThere": "intel-wired-lan@osuosl.org", "X-Mailman-Version": "2.1.29", "Precedence": "list", "List-Id": "Intel Wired Ethernet Linux Kernel Driver Development\n\t<intel-wired-lan.osuosl.org>", "List-Unsubscribe": "<https://lists.osuosl.org/mailman/options/intel-wired-lan>, \n\t<mailto:intel-wired-lan-request@osuosl.org?subject=unsubscribe>", "List-Archive": "<http://lists.osuosl.org/pipermail/intel-wired-lan/>", "List-Post": "<mailto:intel-wired-lan@osuosl.org>", "List-Help": "<mailto:intel-wired-lan-request@osuosl.org?subject=help>", "List-Subscribe": "<https://lists.osuosl.org/mailman/listinfo/intel-wired-lan>, \n\t<mailto:intel-wired-lan-request@osuosl.org?subject=subscribe>", "Cc": "stone.zhou@huawei.com, Yunjian Wang <wangyunjian@huawei.com>", "Content-Type": "text/plain; charset=\"us-ascii\"", "Content-Transfer-Encoding": "7bit", "Errors-To": "intel-wired-lan-bounces@osuosl.org", "Sender": "\"Intel-wired-lan\" <intel-wired-lan-bounces@osuosl.org>" }, "content": "From: Yunjian Wang <wangyunjian@huawei.com>\n\nThis patch fixes the variable 'phy_word' may be used uninitialized.\n\nSigned-off-by: Yunjian Wang <wangyunjian@huawei.com>\n---\n drivers/net/ethernet/intel/igb/e1000_i210.c | 1 +\n 1 file changed, 1 insertion(+)", "diff": "diff --git a/drivers/net/ethernet/intel/igb/e1000_i210.c b/drivers/net/ethernet/intel/igb/e1000_i210.c\nindex c54ebed..c393cb2 100644\n--- a/drivers/net/ethernet/intel/igb/e1000_i210.c\n+++ b/drivers/net/ethernet/intel/igb/e1000_i210.c\n@@ -842,6 +842,7 @@ s32 igb_pll_workaround_i210(struct e1000_hw *hw)\n \t\tnvm_word = E1000_INVM_DEFAULT_AL;\n \ttmp_nvm = nvm_word | E1000_INVM_PLL_WO_VAL;\n \tigb_write_phy_reg_82580(hw, I347AT4_PAGE_SELECT, E1000_PHY_PLL_FREQ_PAGE);\n+\tphy_word = E1000_PHY_PLL_UNCONF;\n \tfor (i = 0; i < E1000_MAX_PLL_TRIES; i++) {\n \t\t/* check current state directly from internal PHY */\n \t\tigb_read_phy_reg_82580(hw, E1000_PHY_PLL_FREQ_REG, &phy_word);\n", "prefixes": [ "net" ] }