Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/697343/?format=api
{ "id": 697343, "url": "http://patchwork.ozlabs.org/api/patches/697343/?format=api", "web_url": "http://patchwork.ozlabs.org/project/intel-wired-lan/patch/20161121095240.529ed49d@samsung9/", "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": "<20161121095240.529ed49d@samsung9>", "list_archive_url": null, "date": "2016-11-21T17:52:40", "name": "[net-next] ixgbe: prefix Data Center Bridge ops struct", "commit_ref": null, "pull_url": null, "state": "accepted", "archived": false, "hash": "a4331ebf44efa074c64549913e8f3a9c81cc502d", "submitter": { "id": 21389, "url": "http://patchwork.ozlabs.org/api/people/21389/?format=api", "name": "Stephen Hemminger", "email": "stephen@networkplumber.org" }, "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/20161121095240.529ed49d@samsung9/mbox/", "series": [], "comments": "http://patchwork.ozlabs.org/api/patches/697343/comments/", "check": "pending", "checks": "http://patchwork.ozlabs.org/api/patches/697343/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 silver.osuosl.org (smtp3.osuosl.org [140.211.166.136])\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 3tMxDr1V75z9snk\n\tfor <incoming@patchwork.ozlabs.org>;\n\tTue, 22 Nov 2016 04:59:08 +1100 (AEDT)", "from localhost (localhost [127.0.0.1])\n\tby silver.osuosl.org (Postfix) with ESMTP id 9836023B04;\n\tMon, 21 Nov 2016 17:59:06 +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 OLoMTSu1sgAs; Mon, 21 Nov 2016 17:59:04 +0000 (UTC)", "from ash.osuosl.org (ash.osuosl.org [140.211.166.34])\n\tby silver.osuosl.org (Postfix) with ESMTP id A56C023078;\n\tMon, 21 Nov 2016 17:59:04 +0000 (UTC)", "from whitealder.osuosl.org (smtp1.osuosl.org [140.211.166.138])\n\tby ash.osuosl.org (Postfix) with ESMTP id E7DB21BFEE3\n\tfor <intel-wired-lan@lists.osuosl.org>;\n\tMon, 21 Nov 2016 17:59:03 +0000 (UTC)", "from localhost (localhost [127.0.0.1])\n\tby whitealder.osuosl.org (Postfix) with ESMTP id E413C8504A\n\tfor <intel-wired-lan@lists.osuosl.org>;\n\tMon, 21 Nov 2016 17:59: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 zZpLikXgYO7a for <intel-wired-lan@lists.osuosl.org>;\n\tMon, 21 Nov 2016 17:59:03 +0000 (UTC)", "from mail-pg0-f44.google.com (mail-pg0-f44.google.com\n\t[74.125.83.44])\n\tby whitealder.osuosl.org (Postfix) with ESMTPS id 4ADB78503A\n\tfor <intel-wired-lan@lists.osuosl.org>;\n\tMon, 21 Nov 2016 17:59:03 +0000 (UTC)", "by mail-pg0-f44.google.com with SMTP id p66so132637162pga.2\n\tfor <intel-wired-lan@lists.osuosl.org>;\n\tMon, 21 Nov 2016 09:59:03 -0800 (PST)", "from samsung9 (204-195-68-67.wavecable.com. [204.195.68.67])\n\tby smtp.gmail.com with ESMTPSA id\n\t1sm11427559pgp.1.2016.11.21.09.52.43\n\t(version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128);\n\tMon, 21 Nov 2016 09:52:43 -0800 (PST)" ], "Authentication-Results": "ozlabs.org;\n\tdkim=fail reason=\"signature verification failed\" (2048-bit key;\n\tunprotected) header.d=networkplumber-org.20150623.gappssmtp.com\n\theader.i=@networkplumber-org.20150623.gappssmtp.com\n\theader.b=\"KqXJkIOT\"; dkim-atps=neutral", "X-Virus-Scanned": [ "amavisd-new at osuosl.org", "amavisd-new at osuosl.org" ], "X-Greylist": "delayed 00:06:19 by SQLgrey-1.7.6", "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n\td=networkplumber-org.20150623.gappssmtp.com; s=20150623;\n\th=date:from:to:cc:subject:message-id:mime-version\n\t:content-transfer-encoding;\n\tbh=Wj19/qs3jXYxvHf7XMgfa6z3P3PHuwSEs5Xuxkyr/RE=;\n\tb=KqXJkIOT8tYJqJLQkEazeT2ZlylnLKdTo4YyQPuYG31cmiG1JeZVk8ilQv3TgNrfr0\n\tOX49hD7UMUBXNOS3HVOhVu8YWDlVGTZdw/LxH4QZFs/rIucfZCvEz8Asm6SK4+WrLVPB\n\txrcInWD4tQ0Ftbg9XBVI+nEtd87gGE2LZQsU2a1k246pgkyHZJKpEKWEDwlYoANHJf44\n\t8aUc08+rAFanPPE3CaTto11ZcLIVMLQCe+w0i1Skv+3ivo3RwHvZCQOnNxWStb7LsY4w\n\tlj6TPkxoOK2KMl5ydGdguzyQcsuLoucMNKoQoxPw4MoMg8PTmjsfBZ1rAWzRs+b+B/oi\n\txapA==", "X-Google-DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n\td=1e100.net; s=20130820;\n\th=x-gm-message-state:date:from:to:cc:subject:message-id:mime-version\n\t:content-transfer-encoding;\n\tbh=Wj19/qs3jXYxvHf7XMgfa6z3P3PHuwSEs5Xuxkyr/RE=;\n\tb=ZSfjGKwOTM3WIejCFRhkRKws/rHgtOhGp6OfwrkRObCuR4qE8yEQZO+CUtP2BnCxhO\n\tXfbP8aewo2RcIZnvQlziMe46/Un7n7/iZym1ooK0+yNLruD9r/tzhPaY5twD1jZxtNuR\n\tUXFw+4jeBxqSRmr3SE8Z1XJA3YTN9FIfaKafLK6cDakXh35JubrwYoQmVsWqnJ0RlYI8\n\tip7o1ldA5FtW7WT6IVoOtaSEUgHQrlPAM2twl5YuparGgm+22v9WQcDp4NIMjJxhwETX\n\tqFsqBF9sVCOxZy2VJuMFoR8TTEaXHKCLupOc8Pn3JNoDvpfgexfePTRf1JKWnqGJbTpm\n\tOKnQ==", "X-Gm-Message-State": "AKaTC02GJ1gyigjhsvQYki2KcEhFgWO6Q5xoj14VNV4caclwV3mIoazOlqyvz4XLw2nIzg==", "X-Received": "by 10.98.91.129 with SMTP id p123mr19908972pfb.0.1479750763994; \n\tMon, 21 Nov 2016 09:52:43 -0800 (PST)", "Date": "Mon, 21 Nov 2016 09:52:40 -0800", "From": "Stephen Hemminger <stephen@networkplumber.org>", "To": "Jeff Kirsher <jeffrey.t.kirsher@intel.com>", "Message-ID": "<20161121095240.529ed49d@samsung9>", "MIME-Version": "1.0", "Cc": "intel-wired-lan@lists.osuosl.org", "Subject": "[Intel-wired-lan] [PATCH net-next] ixgbe: prefix Data Center Bridge\n\tops struct", "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": "From: Stephen Hemminger <sthemmin@microsoft.com>\n\nSince dcbnl_ops is global, it should be prefixed by ixgbe_\n\nSigned-off-by: Stephen Hemminger <sthemmin@microsoft.com>\n---\n drivers/net/ethernet/intel/ixgbe/ixgbe.h | 2 +-\n drivers/net/ethernet/intel/ixgbe/ixgbe_dcb_nl.c | 2 +-\n drivers/net/ethernet/intel/ixgbe/ixgbe_main.c | 2 +-\n 3 files changed, 3 insertions(+), 3 deletions(-)", "diff": "diff --git a/drivers/net/ethernet/intel/ixgbe/ixgbe.h b/drivers/net/ethernet/intel/ixgbe/ixgbe.h\nindex ef81c3d..af8c43d 100644\n--- a/drivers/net/ethernet/intel/ixgbe/ixgbe.h\n+++ b/drivers/net/ethernet/intel/ixgbe/ixgbe.h\n@@ -871,7 +871,7 @@ extern const struct ixgbe_info ixgbe_X550_info;\n extern const struct ixgbe_info ixgbe_X550EM_x_info;\n extern const struct ixgbe_info ixgbe_x550em_a_info;\n #ifdef CONFIG_IXGBE_DCB\n-extern const struct dcbnl_rtnl_ops dcbnl_ops;\n+extern const struct dcbnl_rtnl_ops ixgbe_dcbnl_ops;\n #endif\n \n extern char ixgbe_driver_name[];\ndiff --git a/drivers/net/ethernet/intel/ixgbe/ixgbe_dcb_nl.c b/drivers/net/ethernet/intel/ixgbe/ixgbe_dcb_nl.c\nindex b8fc3cf..78c5237 100644\n--- a/drivers/net/ethernet/intel/ixgbe/ixgbe_dcb_nl.c\n+++ b/drivers/net/ethernet/intel/ixgbe/ixgbe_dcb_nl.c\n@@ -777,7 +777,7 @@ static u8 ixgbe_dcbnl_setdcbx(struct net_device *dev, u8 mode)\n \treturn err ? 1 : 0;\n }\n \n-const struct dcbnl_rtnl_ops dcbnl_ops = {\n+const struct dcbnl_rtnl_ops ixgbe_dcbnl_ops = {\n \t.ieee_getets\t= ixgbe_dcbnl_ieee_getets,\n \t.ieee_setets\t= ixgbe_dcbnl_ieee_setets,\n \t.ieee_getpfc\t= ixgbe_dcbnl_ieee_getpfc,\ndiff --git a/drivers/net/ethernet/intel/ixgbe/ixgbe_main.c b/drivers/net/ethernet/intel/ixgbe/ixgbe_main.c\nindex 2436984..a3dd790 100644\n--- a/drivers/net/ethernet/intel/ixgbe/ixgbe_main.c\n+++ b/drivers/net/ethernet/intel/ixgbe/ixgbe_main.c\n@@ -9669,7 +9669,7 @@ static int ixgbe_probe(struct pci_dev *pdev, const struct pci_device_id *ent)\n \n #ifdef CONFIG_IXGBE_DCB\n \tif (adapter->flags & IXGBE_FLAG_DCB_CAPABLE)\n-\t\tnetdev->dcbnl_ops = &dcbnl_ops;\n+\t\tnetdev->dcbnl_ops = &ixgbe_dcbnl_ops;\n #endif\n \n #ifdef IXGBE_FCOE\n", "prefixes": [ "net-next" ] }