Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/537145/?format=api
{ "id": 537145, "url": "http://patchwork.ozlabs.org/api/patches/537145/?format=api", "web_url": "http://patchwork.ozlabs.org/project/intel-wired-lan/patch/20151027235937.30048.88092.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": "<20151027235937.30048.88092.stgit@localhost.localdomain>", "list_archive_url": null, "date": "2015-10-27T23:59:37", "name": "[next,5/5] igb: Fix unused variable warning", "commit_ref": null, "pull_url": null, "state": "accepted", "archived": false, "hash": "1a31a68918d33392ff3fc2f375a984c13b0163b9", "submitter": { "id": 67293, "url": "http://patchwork.ozlabs.org/api/people/67293/?format=api", "name": "Alexander Duyck", "email": "aduyck@mirantis.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/20151027235937.30048.88092.stgit@localhost.localdomain/mbox/", "series": [], "comments": "http://patchwork.ozlabs.org/api/patches/537145/comments/", "check": "pending", "checks": "http://patchwork.ozlabs.org/api/patches/537145/checks/", "tags": {}, "related": [], "headers": { "Return-Path": "<intel-wired-lan-bounces@lists.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" ], "Received": [ "from whitealder.osuosl.org (smtp1.osuosl.org [140.211.166.138])\n\tby ozlabs.org (Postfix) with ESMTP id D892B1402B3\n\tfor <incoming@patchwork.ozlabs.org>;\n\tWed, 28 Oct 2015 10:59:42 +1100 (AEDT)", "from localhost (localhost [127.0.0.1])\n\tby whitealder.osuosl.org (Postfix) with ESMTP id EDD2D8B505;\n\tTue, 27 Oct 2015 23:59:41 +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 i3KVtTBv-GW4; Tue, 27 Oct 2015 23:59:40 +0000 (UTC)", "from ash.osuosl.org (ash.osuosl.org [140.211.166.34])\n\tby whitealder.osuosl.org (Postfix) with ESMTP id 6DCB587C19;\n\tTue, 27 Oct 2015 23:59:40 +0000 (UTC)", "from hemlock.osuosl.org (smtp2.osuosl.org [140.211.166.133])\n\tby ash.osuosl.org (Postfix) with ESMTP id C0CF91C0FD1\n\tfor <intel-wired-lan@lists.osuosl.org>;\n\tTue, 27 Oct 2015 23:59:39 +0000 (UTC)", "from localhost (localhost [127.0.0.1])\n\tby hemlock.osuosl.org (Postfix) with ESMTP id 6B22393585\n\tfor <intel-wired-lan@lists.osuosl.org>;\n\tTue, 27 Oct 2015 23:59: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 L2-wpe36kUxS for <intel-wired-lan@lists.osuosl.org>;\n\tTue, 27 Oct 2015 23:59:38 +0000 (UTC)", "from mail-pa0-f42.google.com (mail-pa0-f42.google.com\n\t[209.85.220.42])\n\tby hemlock.osuosl.org (Postfix) with ESMTPS id B4C6493189\n\tfor <intel-wired-lan@lists.osuosl.org>;\n\tTue, 27 Oct 2015 23:59:38 +0000 (UTC)", "by pasz6 with SMTP id z6so236691824pas.2\n\tfor <intel-wired-lan@lists.osuosl.org>;\n\tTue, 27 Oct 2015 16:59:38 -0700 (PDT)", "from localhost.localdomain\n\t(static-50-53-21-5.bvtn.or.frontiernet.net. [50.53.21.5])\n\tby smtp.gmail.com with ESMTPSA id\n\tcn4sm41668393pbc.94.2015.10.27.16.59.37\n\t(version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128);\n\tTue, 27 Oct 2015 16:59:38 -0700 (PDT)" ], "Authentication-Results": "ozlabs.org;\n\tdkim=fail reason=\"signature verification failed\" (1024-bit key;\n\tunprotected) header.d=mirantis.com header.i=@mirantis.com\n\theader.b=IsQBr6rD; dkim-atps=neutral", "X-Virus-Scanned": [ "amavisd-new at osuosl.org", "amavisd-new at osuosl.org" ], "X-Greylist": "from auto-whitelisted by SQLgrey-1.7.6", "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed; d=mirantis.com;\n\ts=google; \n\th=subject:from:to:cc:date:message-id:in-reply-to:references\n\t:user-agent:mime-version:content-type:content-transfer-encoding;\n\tbh=QuYKS6Nic6qSIdqR9Zh9MsZJ8JISIOo5Bg/mwwGJPRo=;\n\tb=IsQBr6rDMPvEA9izCYq72ECX3DuUGvN7u8XV5mH6TH6tIFQ0NVMwxVaR84N985tXeo\n\tfPfkoUdkK/aohRmZiUuAI5aMt6OevlmfiMYEKbhYawydmUwpZXwxwQt/nSrhGdBnQJvn\n\t3V1ucCsXzAwd+1CkVneGvn2bpolE+SP8xf3nQ=", "X-Google-DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n\td=1e100.net; s=20130820;\n\th=x-gm-message-state:subject:from:to:cc:date:message-id:in-reply-to\n\t:references:user-agent:mime-version:content-type\n\t:content-transfer-encoding;\n\tbh=QuYKS6Nic6qSIdqR9Zh9MsZJ8JISIOo5Bg/mwwGJPRo=;\n\tb=kI21wxNHgd5/25DbV7NiPpugmKmYCm45szSB7wiAqdE4k32IZ+mvzDSKgnNCieQ3av\n\tYJsfPKsWBkFFVoW3iZC5tTTCKj2jUGN2DWB8Azwl+PawXMl39nLJq5x2THQu11QOBzgD\n\tK39jwQ416kXLMgqVXYfG6BaG3JXQBQrt1oP//Ncq67fzJ8n80ChwT1864lXZkm9BHfzT\n\tLD+o2PkkeuWoFMfZuidirxt3yMcdXdS2qdE84+FrzHw1uc7/BZGpidiurInwxHz++Bhn\n\tB32kmKZh3Uj2DOBuIBntDIXkMSFceM35JnD45iMzG5artZkV7bEuyXzNz91TB9aP9/Xr\n\t+M1A==", "X-Gm-Message-State": "ALoCoQm/XrWxKlynnNKpaiRL5+XQroizINZ3WG9shCpPt/g4KTjttB5QUUY9x8B2PtH3ezvXnZWn", "X-Received": "by 10.68.69.107 with SMTP id d11mr31455881pbu.24.1445990378422; \n\tTue, 27 Oct 2015 16:59:38 -0700 (PDT)", "From": "Alexander Duyck <aduyck@mirantis.com>", "To": "intel-wired-lan@lists.osuosl.org", "Date": "Tue, 27 Oct 2015 16:59:37 -0700", "Message-ID": "<20151027235937.30048.88092.stgit@localhost.localdomain>", "In-Reply-To": "<20151027235341.30048.46286.stgit@localhost.localdomain>", "References": "<20151027235341.30048.46286.stgit@localhost.localdomain>", "User-Agent": "StGit/0.17.1-dirty", "MIME-Version": "1.0", "Subject": "[Intel-wired-lan] [next PATCH 5/5] igb: Fix unused variable warning", "X-BeenThere": "intel-wired-lan@lists.osuosl.org", "X-Mailman-Version": "2.1.18-1", "Precedence": "list", "List-Id": "Intel Wired Ethernet Linux Kernel Driver Development\n\t<intel-wired-lan.lists.osuosl.org>", "List-Unsubscribe": "<http://lists.osuosl.org/mailman/options/intel-wired-lan>, \n\t<mailto:intel-wired-lan-request@lists.osuosl.org?subject=unsubscribe>", "List-Archive": "<http://lists.osuosl.org/pipermail/intel-wired-lan/>", "List-Post": "<mailto:intel-wired-lan@lists.osuosl.org>", "List-Help": "<mailto:intel-wired-lan-request@lists.osuosl.org?subject=help>", "List-Subscribe": "<http://lists.osuosl.org/mailman/listinfo/intel-wired-lan>, \n\t<mailto:intel-wired-lan-request@lists.osuosl.org?subject=subscribe>", "Content-Type": "text/plain; charset=\"us-ascii\"", "Content-Transfer-Encoding": "7bit", "Errors-To": "intel-wired-lan-bounces@lists.osuosl.org", "Sender": "\"Intel-wired-lan\" <intel-wired-lan-bounces@lists.osuosl.org>" }, "content": "I ran into an unused variable warning when building dev-queue. It turns\nout that hw isn't used anymore when setting up the q_vectors since we\nswitch from hw->hw_addr to adapter->io_addr in igb_request_irq. As such\nthe variable can be dropped.\n\nFixes: 0b3659ca297fc (\"igb: improve handling of disconnected adapters\")\nSigned-off-by: Alexander Duyck <aduyck@mirantis.com>\n---\n drivers/net/ethernet/intel/igb/igb_main.c | 1 -\n 1 file changed, 1 deletion(-)", "diff": "diff --git a/drivers/net/ethernet/intel/igb/igb_main.c b/drivers/net/ethernet/intel/igb/igb_main.c\nindex 1dcf3ab5fe87..3d4b502b1ecf 100644\n--- a/drivers/net/ethernet/intel/igb/igb_main.c\n+++ b/drivers/net/ethernet/intel/igb/igb_main.c\n@@ -946,7 +946,6 @@ static void igb_configure_msix(struct igb_adapter *adapter)\n static int igb_request_msix(struct igb_adapter *adapter)\n {\n \tstruct net_device *netdev = adapter->netdev;\n-\tstruct e1000_hw *hw = &adapter->hw;\n \tint i, err = 0, vector = 0, free_vector = 0;\n \n \terr = request_irq(adapter->msix_entries[vector].vector,\n", "prefixes": [ "next", "5/5" ] }