Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/879482/?format=api
{ "id": 879482, "url": "http://patchwork.ozlabs.org/api/patches/879482/?format=api", "web_url": "http://patchwork.ozlabs.org/project/intel-wired-lan/patch/20180228231745.366681-1-arnd@arndb.de/", "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": "<20180228231745.366681-1-arnd@arndb.de>", "list_archive_url": null, "date": "2018-02-28T23:17:36", "name": "[net-next] ixgbevf: fix unused variable warning", "commit_ref": null, "pull_url": null, "state": "accepted", "archived": false, "hash": "e86dc495221b81b7a303b9abf81b986d1e97908f", "submitter": { "id": 30, "url": "http://patchwork.ozlabs.org/api/people/30/?format=api", "name": "Arnd Bergmann", "email": "arnd@arndb.de" }, "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/20180228231745.366681-1-arnd@arndb.de/mbox/", "series": [ { "id": 31138, "url": "http://patchwork.ozlabs.org/api/series/31138/?format=api", "web_url": "http://patchwork.ozlabs.org/project/intel-wired-lan/list/?series=31138", "date": "2018-02-28T23:17:36", "name": "[net-next] ixgbevf: fix unused variable warning", "version": 1, "mbox": "http://patchwork.ozlabs.org/series/31138/mbox/" } ], "comments": "http://patchwork.ozlabs.org/api/patches/879482/comments/", "check": "pending", "checks": "http://patchwork.ozlabs.org/api/patches/879482/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=none (p=none dis=none) header.from=arndb.de" ], "Received": [ "from whitealder.osuosl.org (smtp1.osuosl.org [140.211.166.138])\n\t(using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits))\n\t(No client certificate requested)\n\tby ozlabs.org (Postfix) with ESMTPS id 3zsBM12dVGz9s0n\n\tfor <incoming@patchwork.ozlabs.org>;\n\tThu, 1 Mar 2018 10:18:21 +1100 (AEDT)", "from localhost (localhost [127.0.0.1])\n\tby whitealder.osuosl.org (Postfix) with ESMTP id 8245888C4A;\n\tWed, 28 Feb 2018 23:18:19 +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 JFMLiiWzarlg; Wed, 28 Feb 2018 23:18:18 +0000 (UTC)", "from ash.osuosl.org (ash.osuosl.org [140.211.166.34])\n\tby whitealder.osuosl.org (Postfix) with ESMTP id A796388C3F;\n\tWed, 28 Feb 2018 23:18:18 +0000 (UTC)", "from fraxinus.osuosl.org (smtp4.osuosl.org [140.211.166.137])\n\tby ash.osuosl.org (Postfix) with ESMTP id A6FB91C2108\n\tfor <intel-wired-lan@lists.osuosl.org>;\n\tWed, 28 Feb 2018 23:18:17 +0000 (UTC)", "from localhost (localhost [127.0.0.1])\n\tby fraxinus.osuosl.org (Postfix) with ESMTP id A1AB787AD9\n\tfor <intel-wired-lan@lists.osuosl.org>;\n\tWed, 28 Feb 2018 23:18:17 +0000 (UTC)", "from fraxinus.osuosl.org ([127.0.0.1])\n\tby localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024)\n\twith ESMTP id 01WXJFPV3FDs for <intel-wired-lan@lists.osuosl.org>;\n\tWed, 28 Feb 2018 23:18:17 +0000 (UTC)", "from mout.kundenserver.de (mout.kundenserver.de [212.227.17.24])\n\tby fraxinus.osuosl.org (Postfix) with ESMTPS id 715D487AE0\n\tfor <intel-wired-lan@lists.osuosl.org>;\n\tWed, 28 Feb 2018 23:18:16 +0000 (UTC)", "from wuerfel.lan ([95.208.111.237]) by mrelayeu.kundenserver.de\n\t(mreue103 [212.227.15.145]) with ESMTPA (Nemesis) id\n\t0MRB2F-1fHsoM3A9n-00UdjT; Thu, 01 Mar 2018 00:17:49 +0100" ], "X-Virus-Scanned": [ "amavisd-new at osuosl.org", "amavisd-new at osuosl.org" ], "X-Greylist": "from auto-whitelisted by SQLgrey-1.7.6", "From": "Arnd Bergmann <arnd@arndb.de>", "To": "Jeff Kirsher <jeffrey.t.kirsher@intel.com>", "Date": "Thu, 1 Mar 2018 00:17:36 +0100", "Message-Id": "<20180228231745.366681-1-arnd@arndb.de>", "X-Mailer": "git-send-email 2.9.0", "X-Provags-ID": "V03:K0:JV203kg1ndtkp8VLJB14a5YA4p2UMRFELb5q/BXOY3xzcbB5N6T\n\tjQQF4FLuDmzA9HiuUmvBDPd+xBNRgNg3z+ESacmi6KQMKVh9WUdbKanrJI8D8UEqm79xnad\n\tG3CEmJVtT2jqd1kk0DgtWHFn9KG6dNxgcgmhToj0lU0GR5Gs1zD+6ilpkGEzEQKJlyOSq1k\n\tUdkFBdrw2uBwRas2slM7A==", "X-UI-Out-Filterresults": "notjunk:1; V01:K0:TmhZGPBsTvQ=:Q3dWf35C4iaFxdSEt5C9UJ\n\tZYbGZIARnz9Amgwq8JkkGYhstofUSkpYDR26Ez/riqElD2I81WecdQVarWFQiMdUojITpi5f3\n\t0/v4x+MakChR3r6VIcJh9gBPr5Ll7w9FwbHHELX4GsaColLQbynE7rMmYrgXepRa3QOGlew7p\n\tOY3zZfBce52s/wLijHneMyVRnBE/ayj7+I/p+WeXpKIu7PoNyGGEbPDns36F2i4xM0yoi7B+i\n\tiBV6YX2BVzBq9hsGwnXMudDxED3mELrpF0Vj9WjZzfavvv7Mu/ueVveFgudI+ce6pG6HbrOkU\n\tSF/c4BTgh/eruFhD2bBH2++1G83d20TBNaY3XzveSE+JAfE5/V7FLULT7qc+R+RnpLfBa/9lX\n\tsqmA/iV77Igwcaqu+KoXPinY5/ZaXb6jCptvteKnNvPE68lmgrOIE0C5F7kDF/IyvjFkI8aAw\n\tuYatfXnkRna2PS5HsTeAZraEu2iKiikpOXeDKJ6SuM7v5/HFiTnHLG9S52RfWcUB/c0ZHDYOR\n\t/PchVYAwJ/uVVqoFlD1j4xhOfx+klIyZWjx7PUUftFqYPX6ciYz7Gps+u0Mf77bR/UoKShxZC\n\tbclF/tkXxVshwfWilz67w44gJhcdv6/QpIOOnlLlvVDi6J1iCOpNEpWLsziJMpmSx1rhfe1L/\n\txBRXlqiUkK5N8sbiKmdlv0sy+w/wROH1B9QZIe/pYmYT5KtMZcesrxMHYpPB9ysQlH5Me0Zrn\n\tqYbwgzjpkNCWh8+z8yWF2YZOFIOY2Yf2N663bg==", "Subject": "[Intel-wired-lan] [net-next PATCH] ixgbevf: fix unused variable\n\twarning", "X-BeenThere": "intel-wired-lan@osuosl.org", "X-Mailman-Version": "2.1.24", "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": "Arnd Bergmann <arnd@arndb.de>, netdev@vger.kernel.org,\n\tlinux-kernel@vger.kernel.org, intel-wired-lan@lists.osuosl.org,\n\t\"David S. Miller\" <davem@davemloft.net>", "MIME-Version": "1.0", "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": "The new ixgbevf_set_rx_buffer_len() function causes a harmless warnings\nin configurations with large page size:\n\ndrivers/net/ethernet/intel/ixgbevf/ixgbevf_main.c: In function 'ixgbevf_set_rx_buffer_len':\ndrivers/net/ethernet/intel/ixgbevf/ixgbevf_main.c:1758:15: error: unused variable 'max_frame' [-Werror=unused-variable]\n\nThis rephrases the code so that the compiler can see the use of that\nvariable, making it slightly easier to read in the process.\n\nFixes: f15c5ba5b6cd (\"ixgbevf: add support for using order 1 pages to receive large frames\")\nSigned-off-by: Arnd Bergmann <arnd@arndb.de>\n---\n drivers/net/ethernet/intel/ixgbevf/ixgbevf_main.c | 10 +++++-----\n 1 file changed, 5 insertions(+), 5 deletions(-)", "diff": "diff --git a/drivers/net/ethernet/intel/ixgbevf/ixgbevf_main.c b/drivers/net/ethernet/intel/ixgbevf/ixgbevf_main.c\nindex f37307131eb6..4da449e0a4ba 100644\n--- a/drivers/net/ethernet/intel/ixgbevf/ixgbevf_main.c\n+++ b/drivers/net/ethernet/intel/ixgbevf/ixgbevf_main.c\n@@ -1766,12 +1766,12 @@ static void ixgbevf_set_rx_buffer_len(struct ixgbevf_adapter *adapter,\n \n \tset_ring_build_skb_enabled(rx_ring);\n \n-#if (PAGE_SIZE < 8192)\n-\tif (max_frame <= IXGBEVF_MAX_FRAME_BUILD_SKB)\n-\t\treturn;\n+\tif (PAGE_SIZE < 8192) {\n+\t\tif (max_frame <= IXGBEVF_MAX_FRAME_BUILD_SKB)\n+\t\t\treturn;\n \n-\tset_ring_uses_large_buffer(rx_ring);\n-#endif\n+\t\tset_ring_uses_large_buffer(rx_ring);\n+\t}\n }\n \n /**\n", "prefixes": [ "net-next" ] }