Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/1175302/?format=api
{ "id": 1175302, "url": "http://patchwork.ozlabs.org/api/patches/1175302/?format=api", "web_url": "http://patchwork.ozlabs.org/project/intel-wired-lan/patch/20191011153459.22313.17985.stgit@localhost.localdomain/", "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": "<20191011153459.22313.17985.stgit@localhost.localdomain>", "list_archive_url": null, "date": "2019-10-11T15:34:59", "name": "[next-queue,v2,2/2] e1000e: Drop unnecessary __E1000_DOWN bit twiddling", "commit_ref": null, "pull_url": null, "state": "accepted", "archived": false, "hash": "ccb47b1a834532946a399ae7bb8f4bbd92ef9b5c", "submitter": { "id": 252, "url": "http://patchwork.ozlabs.org/api/people/252/?format=api", "name": "Alexander Duyck", "email": "alexander.duyck@gmail.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/20191011153459.22313.17985.stgit@localhost.localdomain/mbox/", "series": [ { "id": 135628, "url": "http://patchwork.ozlabs.org/api/series/135628/?format=api", "web_url": "http://patchwork.ozlabs.org/project/intel-wired-lan/list/?series=135628", "date": "2019-10-11T15:34:44", "name": "Address IRQ related crash seen due to io_perm_failure", "version": 2, "mbox": "http://patchwork.ozlabs.org/series/135628/mbox/" } ], "comments": "http://patchwork.ozlabs.org/api/patches/1175302/comments/", "check": "pending", "checks": "http://patchwork.ozlabs.org/api/patches/1175302/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.138; helo=whitealder.osuosl.org;\n\tenvelope-from=intel-wired-lan-bounces@osuosl.org;\n\treceiver=<UNKNOWN>)", "ozlabs.org;\n\tdmarc=fail (p=none dis=none) header.from=gmail.com", "ozlabs.org;\n\tdkim=fail reason=\"signature verification failed\" (2048-bit key;\n\tunprotected) header.d=gmail.com header.i=@gmail.com\n\theader.b=\"vTvpGo2O\"; dkim-atps=neutral" ], "Received": [ "from whitealder.osuosl.org (smtp1.osuosl.org [140.211.166.138])\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 46qX8G0zzVz9sNx\n\tfor <incoming@patchwork.ozlabs.org>;\n\tSat, 12 Oct 2019 02:35:09 +1100 (AEDT)", "from localhost (localhost [127.0.0.1])\n\tby whitealder.osuosl.org (Postfix) with ESMTP id 59E248813D;\n\tFri, 11 Oct 2019 15:35:07 +0000 (UTC)", "from whitealder.osuosl.org ([127.0.0.1])\n\tby localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024)\n\twith ESMTP id G19gONPmgtX1; Fri, 11 Oct 2019 15:35:06 +0000 (UTC)", "from ash.osuosl.org (ash.osuosl.org [140.211.166.34])\n\tby whitealder.osuosl.org (Postfix) with ESMTP id 70C5588138;\n\tFri, 11 Oct 2019 15:35:06 +0000 (UTC)", "from whitealder.osuosl.org (smtp1.osuosl.org [140.211.166.138])\n\tby ash.osuosl.org (Postfix) with ESMTP id A13D21BF2AB\n\tfor <intel-wired-lan@lists.osuosl.org>;\n\tFri, 11 Oct 2019 15:35:03 +0000 (UTC)", "from localhost (localhost [127.0.0.1])\n\tby whitealder.osuosl.org (Postfix) with ESMTP id 0B922880EE\n\tfor <intel-wired-lan@lists.osuosl.org>;\n\tFri, 11 Oct 2019 15:35:03 +0000 (UTC)", "from whitealder.osuosl.org ([127.0.0.1])\n\tby localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024)\n\twith ESMTP id y2xTD96Qvcd3 for <intel-wired-lan@lists.osuosl.org>;\n\tFri, 11 Oct 2019 15:35:01 +0000 (UTC)", "from mail-pg1-f196.google.com (mail-pg1-f196.google.com\n\t[209.85.215.196])\n\tby whitealder.osuosl.org (Postfix) with ESMTPS id 99672880DC\n\tfor <intel-wired-lan@lists.osuosl.org>;\n\tFri, 11 Oct 2019 15:35:01 +0000 (UTC)", "by mail-pg1-f196.google.com with SMTP id e1so6008032pgj.6\n\tfor <intel-wired-lan@lists.osuosl.org>;\n\tFri, 11 Oct 2019 08:35:01 -0700 (PDT)", "from localhost.localdomain ([2001:470:b:9c3:9e5c:8eff:fe4f:f2d0])\n\tby smtp.gmail.com with ESMTPSA id\n\to60sm13296207pje.21.2019.10.11.08.35.00\n\t(version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128);\n\tFri, 11 Oct 2019 08:35:00 -0700 (PDT)" ], "X-Virus-Scanned": [ "amavisd-new at osuosl.org", "amavisd-new at osuosl.org" ], "X-Greylist": "domain auto-whitelisted by SQLgrey-1.7.6", "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025;\n\th=subject:from:to:cc:date:message-id:in-reply-to:references\n\t:user-agent:mime-version:content-transfer-encoding;\n\tbh=kDXNvE+7gQdvUyVWPr7A9XMzGIYNEQ+LfNsblj+ZWek=;\n\tb=vTvpGo2OLw4l8Jnj0vPAmEfIebxuUoeio9APO9DMxmvQimFyoIgylaWfwsZwSz84Xv\n\tkuRe/U52CxAJmB+CH3l9oKbolvj9fEitA3eCSdFRGX2NGNHiKamS2A1IQ/FUTU5j3yH3\n\tZRBQmuoC1kdPnJ/Nb8GbMd+d5UchEprrIavUBsjqShBrzB/F+WRT2q5swgYha+6wOGcc\n\tnAuU7bN3i2g0eICLeFrtiaMmNDV3/Nkfue77Qfgcm5TiU/Dn7T53d63hQXpaCvrAR74C\n\t0IqEdlPySSgKjnPG9oEWpg53Bm4j2CmyhCkHorH6bJJl7uI9g5WCTP7w+QoP7Kxi9NEb\n\tgrVQ==", "X-Google-DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n\td=1e100.net; s=20161025;\n\th=x-gm-message-state:subject:from:to:cc:date:message-id:in-reply-to\n\t:references:user-agent:mime-version:content-transfer-encoding;\n\tbh=kDXNvE+7gQdvUyVWPr7A9XMzGIYNEQ+LfNsblj+ZWek=;\n\tb=LhalfVSyqb4z1Bo44YVdst9TDohkjb20wZrB0CU1SiGkXcUzU4IOBIT9l30ClXyN1n\n\t3CD5NUJTI+8XuTcriRWCXcNe4prcHhGOU9Bga2d6+vSStSyhRbX5DqFanMZhySBHQsD4\n\tGLvwVAG+7HbR/wV+AMSZo/v8dSr+Hp05Lr3j1usxIo1/roHUyeAvU61yeh94QD3AP88O\n\txaCV0VwUJEOQXfIhdBb6BRF4OtP3T6TO5Fw7aFtE1aMxfCZ2OKl4d0ujJJafwx3GQT+S\n\tfawyCyHhYoRUErMG023rJmjwwY0WMmPCgdT2yRcW1y7IYN/eIdJygNNgvuI9N4+9aYJ/\n\tR4eA==", "X-Gm-Message-State": "APjAAAUDBxd3nhYR5sbaGnrSbwcog3kJFTvFvFYpwqKfSo+HdvFgkhj3\n\tTuz9KpsEy2pRirbJmdBzzas=", "X-Google-Smtp-Source": "APXvYqwcs4NyECZf3Wfa9SDJOWplX35s7XDkuU1uPT6rNnsWEpGvNyRuAFutrA9fwSERCNVxpOfJvg==", "X-Received": "by 2002:aa7:9519:: with SMTP id\n\tb25mr17116157pfp.104.1570808100872; \n\tFri, 11 Oct 2019 08:35:00 -0700 (PDT)", "From": "Alexander Duyck <alexander.duyck@gmail.com>", "To": "alexander.h.duyck@linux.intel.com, intel-wired-lan@lists.osuosl.org,\n\tjeffrey.t.kirsher@intel.com", "Date": "Fri, 11 Oct 2019 08:34:59 -0700", "Message-ID": "<20191011153459.22313.17985.stgit@localhost.localdomain>", "In-Reply-To": "<20191011153219.22313.60179.stgit@localhost.localdomain>", "References": "<20191011153219.22313.60179.stgit@localhost.localdomain>", "User-Agent": "StGit/0.17.1-dirty", "MIME-Version": "1.0", "Subject": "[Intel-wired-lan] [next-queue PATCH v2 2/2] e1000e: Drop\n\tunnecessary __E1000_DOWN bit twiddling", "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": "netdev@vger.kernel.org, zdai@us.ibm.com, zdai@linux.vnet.ibm.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: Alexander Duyck <alexander.h.duyck@linux.intel.com>\n\nSince we no longer check for __E1000_DOWN in e1000e_close we can drop the\nspot where we were restoring the bit. This saves us a bit of unnecessary\ncomplexity.\n\nSigned-off-by: Alexander Duyck <alexander.h.duyck@linux.intel.com>\n---\n drivers/net/ethernet/intel/e1000e/netdev.c | 7 +------\n 1 file changed, 1 insertion(+), 6 deletions(-)", "diff": "diff --git a/drivers/net/ethernet/intel/e1000e/netdev.c b/drivers/net/ethernet/intel/e1000e/netdev.c\nindex db1591eef28e..c31259dde78d 100644\n--- a/drivers/net/ethernet/intel/e1000e/netdev.c\n+++ b/drivers/net/ethernet/intel/e1000e/netdev.c\n@@ -7409,15 +7409,13 @@ static void e1000_remove(struct pci_dev *pdev)\n {\n \tstruct net_device *netdev = pci_get_drvdata(pdev);\n \tstruct e1000_adapter *adapter = netdev_priv(netdev);\n-\tbool down = test_bit(__E1000_DOWN, &adapter->state);\n \n \te1000e_ptp_remove(adapter);\n \n \t/* The timers may be rescheduled, so explicitly disable them\n \t * from being rescheduled.\n \t */\n-\tif (!down)\n-\t\tset_bit(__E1000_DOWN, &adapter->state);\n+\tset_bit(__E1000_DOWN, &adapter->state);\n \tdel_timer_sync(&adapter->phy_info_timer);\n \n \tcancel_work_sync(&adapter->reset_task);\n@@ -7437,9 +7435,6 @@ static void e1000_remove(struct pci_dev *pdev)\n \t\t}\n \t}\n \n-\t/* Don't lie to e1000_close() down the road. */\n-\tif (!down)\n-\t\tclear_bit(__E1000_DOWN, &adapter->state);\n \tunregister_netdev(netdev);\n \n \tif (pci_dev_run_wake(pdev))\n", "prefixes": [ "next-queue", "v2", "2/2" ] }