get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

GET /api/patches/571036/?format=api
HTTP 200 OK
Allow: GET, PUT, PATCH, HEAD, OPTIONS
Content-Type: application/json
Vary: Accept

{
    "id": 571036,
    "url": "http://patchwork.ozlabs.org/api/patches/571036/?format=api",
    "web_url": "http://patchwork.ozlabs.org/project/intel-wired-lan/patch/1453348382-79870-1-git-send-email-jeffrey.t.kirsher@intel.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": "<1453348382-79870-1-git-send-email-jeffrey.t.kirsher@intel.com>",
    "list_archive_url": null,
    "date": "2016-01-21T03:53:02",
    "name": "i40e: fix build warnings",
    "commit_ref": null,
    "pull_url": null,
    "state": "accepted",
    "archived": false,
    "hash": "c200680e3831a75f3c25b4a007f0c30f77a10b45",
    "submitter": {
        "id": 473,
        "url": "http://patchwork.ozlabs.org/api/people/473/?format=api",
        "name": "Kirsher, Jeffrey T",
        "email": "jeffrey.t.kirsher@intel.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/1453348382-79870-1-git-send-email-jeffrey.t.kirsher@intel.com/mbox/",
    "series": [],
    "comments": "http://patchwork.ozlabs.org/api/patches/571036/comments/",
    "check": "pending",
    "checks": "http://patchwork.ozlabs.org/api/patches/571036/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 986EA14010F\n\tfor <incoming@patchwork.ozlabs.org>;\n\tThu, 21 Jan 2016 14:53:13 +1100 (AEDT)",
            "from localhost (localhost [127.0.0.1])\n\tby whitealder.osuosl.org (Postfix) with ESMTP id 750608BB13;\n\tThu, 21 Jan 2016 03:53:11 +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 1NtSVGftB1Oj; Thu, 21 Jan 2016 03:53:08 +0000 (UTC)",
            "from ash.osuosl.org (ash.osuosl.org [140.211.166.34])\n\tby whitealder.osuosl.org (Postfix) with ESMTP id 263A68BB9B;\n\tThu, 21 Jan 2016 03:53:08 +0000 (UTC)",
            "from hemlock.osuosl.org (smtp2.osuosl.org [140.211.166.133])\n\tby ash.osuosl.org (Postfix) with ESMTP id F26391C0B41\n\tfor <intel-wired-lan@lists.osuosl.org>;\n\tThu, 21 Jan 2016 03:53:08 +0000 (UTC)",
            "from localhost (localhost [127.0.0.1])\n\tby hemlock.osuosl.org (Postfix) with ESMTP id EDE41938E9\n\tfor <intel-wired-lan@lists.osuosl.org>;\n\tThu, 21 Jan 2016 03:53:08 +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 3IGwIvfR9OY2 for <intel-wired-lan@lists.osuosl.org>;\n\tThu, 21 Jan 2016 03:53:08 +0000 (UTC)",
            "from mga03.intel.com (mga03.intel.com [134.134.136.65])\n\tby hemlock.osuosl.org (Postfix) with ESMTP id D7408938D4\n\tfor <intel-wired-lan@lists.osuosl.org>;\n\tThu, 21 Jan 2016 03:53:07 +0000 (UTC)",
            "from orsmga003.jf.intel.com ([10.7.209.27])\n\tby orsmga103.jf.intel.com with ESMTP; 20 Jan 2016 19:53:07 -0800",
            "from jtkirshe-linux.jf.intel.com ([134.134.3.161])\n\tby orsmga003.jf.intel.com with ESMTP; 20 Jan 2016 19:53:05 -0800"
        ],
        "X-Virus-Scanned": [
            "amavisd-new at osuosl.org",
            "amavisd-new at osuosl.org"
        ],
        "X-Greylist": "domain auto-whitelisted by SQLgrey-1.7.6",
        "X-ExtLoop1": "1",
        "X-IronPort-AV": "E=Sophos;i=\"5.22,324,1449561600\"; d=\"scan'208\";a=\"731469832\"",
        "From": "Jeff Kirsher <jeffrey.t.kirsher@intel.com>",
        "To": "intel-wired-lan@lists.osuosl.org",
        "Date": "Wed, 20 Jan 2016 19:53:02 -0800",
        "Message-Id": "<1453348382-79870-1-git-send-email-jeffrey.t.kirsher@intel.com>",
        "X-Mailer": "git-send-email 2.5.0",
        "Cc": "Eric Dumazet <edumazet@google.com>",
        "Subject": "[Intel-wired-lan] [PATCH] i40e: fix build warnings",
        "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>",
        "MIME-Version": "1.0",
        "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: Eric Dumazet <edumazet@google.com>\n\nFixes following build warnings :\n\ndrivers/net/ethernet/intel/i40e/i40e_main.c:7057:13: warning:\n'i40e_sync_udp_filters_subtask' defined but not used [-Wunused-function]\ndrivers/net/ethernet/intel/i40e/i40e_main.c:8524:13: warning:\n'i40e_add_vxlan_port' defined but not used [-Wunused-function]\ndrivers/net/ethernet/intel/i40e/i40e_main.c:8569:13: warning:\n'i40e_del_vxlan_port' defined but not used [-Wunused-function]\ndrivers/net/ethernet/intel/i40e/i40e_main.c:8604:13: warning:\n'i40e_add_geneve_port' defined but not used [-Wunused-function]\ndrivers/net/ethernet/intel/i40e/i40e_main.c:8651:13: warning:\n'i40e_del_geneve_port' defined but not used [-Wunused-function]\n\nFixes: 6a899024058d (\"i40e: geneve tunnel offload support\")\nSigned-off-by: Eric Dumazet <edumazet@google.com>\n---\n drivers/net/ethernet/intel/i40e/i40e_main.c | 15 +++++----------\n 1 file changed, 5 insertions(+), 10 deletions(-)",
    "diff": "diff --git a/drivers/net/ethernet/intel/i40e/i40e_main.c b/drivers/net/ethernet/intel/i40e/i40e_main.c\nindex 530572f..06b2204 100644\n--- a/drivers/net/ethernet/intel/i40e/i40e_main.c\n+++ b/drivers/net/ethernet/intel/i40e/i40e_main.c\n@@ -7124,9 +7124,7 @@ static void i40e_service_task(struct work_struct *work)\n \ti40e_watchdog_subtask(pf);\n \ti40e_fdir_reinit_subtask(pf);\n \ti40e_sync_filters_subtask(pf);\n-#if IS_ENABLED(CONFIG_VXLAN) || IS_ENABLED(CONFIG_GENEVE)\n \ti40e_sync_udp_filters_subtask(pf);\n-#endif\n \ti40e_clean_adminq_subtask(pf);\n \n \ti40e_service_event_complete(pf);\n@@ -8604,6 +8602,8 @@ static u8 i40e_get_udp_port_idx(struct i40e_pf *pf, __be16 port)\n }\n \n #endif\n+\n+#if IS_ENABLED(CONFIG_VXLAN)\n /**\n  * i40e_add_vxlan_port - Get notifications about VXLAN ports that come up\n  * @netdev: This physical port's netdev\n@@ -8613,7 +8613,6 @@ static u8 i40e_get_udp_port_idx(struct i40e_pf *pf, __be16 port)\n static void i40e_add_vxlan_port(struct net_device *netdev,\n \t\t\t\tsa_family_t sa_family, __be16 port)\n {\n-#if IS_ENABLED(CONFIG_VXLAN)\n \tstruct i40e_netdev_priv *np = netdev_priv(netdev);\n \tstruct i40e_vsi *vsi = np->vsi;\n \tstruct i40e_pf *pf = vsi->back;\n@@ -8646,7 +8645,6 @@ static void i40e_add_vxlan_port(struct net_device *netdev,\n \tpf->udp_ports[next_idx].type = I40E_AQC_TUNNEL_TYPE_VXLAN;\n \tpf->pending_udp_bitmap |= BIT_ULL(next_idx);\n \tpf->flags |= I40E_FLAG_UDP_FILTER_SYNC;\n-#endif\n }\n \n /**\n@@ -8658,7 +8656,6 @@ static void i40e_add_vxlan_port(struct net_device *netdev,\n static void i40e_del_vxlan_port(struct net_device *netdev,\n \t\t\t\tsa_family_t sa_family, __be16 port)\n {\n-#if IS_ENABLED(CONFIG_VXLAN)\n \tstruct i40e_netdev_priv *np = netdev_priv(netdev);\n \tstruct i40e_vsi *vsi = np->vsi;\n \tstruct i40e_pf *pf = vsi->back;\n@@ -8681,9 +8678,10 @@ static void i40e_del_vxlan_port(struct net_device *netdev,\n \t\tnetdev_warn(netdev, \"vxlan port %d was not found, not deleting\\n\",\n \t\t\t    ntohs(port));\n \t}\n-#endif\n }\n+#endif\n \n+#if IS_ENABLED(CONFIG_GENEVE)\n /**\n  * i40e_add_geneve_port - Get notifications about GENEVE ports that come up\n  * @netdev: This physical port's netdev\n@@ -8693,7 +8691,6 @@ static void i40e_del_vxlan_port(struct net_device *netdev,\n static void i40e_add_geneve_port(struct net_device *netdev,\n \t\t\t\t sa_family_t sa_family, __be16 port)\n {\n-#if IS_ENABLED(CONFIG_GENEVE)\n \tstruct i40e_netdev_priv *np = netdev_priv(netdev);\n \tstruct i40e_vsi *vsi = np->vsi;\n \tstruct i40e_pf *pf = vsi->back;\n@@ -8731,7 +8728,6 @@ static void i40e_add_geneve_port(struct net_device *netdev,\n \tpf->flags |= I40E_FLAG_UDP_FILTER_SYNC;\n \n \tdev_info(&pf->pdev->dev, \"adding geneve port %d\\n\", ntohs(port));\n-#endif\n }\n \n /**\n@@ -8743,7 +8739,6 @@ static void i40e_add_geneve_port(struct net_device *netdev,\n static void i40e_del_geneve_port(struct net_device *netdev,\n \t\t\t\t sa_family_t sa_family, __be16 port)\n {\n-#if IS_ENABLED(CONFIG_GENEVE)\n \tstruct i40e_netdev_priv *np = netdev_priv(netdev);\n \tstruct i40e_vsi *vsi = np->vsi;\n \tstruct i40e_pf *pf = vsi->back;\n@@ -8772,8 +8767,8 @@ static void i40e_del_geneve_port(struct net_device *netdev,\n \t\tnetdev_warn(netdev, \"geneve port %d was not found, not deleting\\n\",\n \t\t\t    ntohs(port));\n \t}\n-#endif\n }\n+#endif\n \n static int i40e_get_phys_port_id(struct net_device *netdev,\n \t\t\t\t struct netdev_phys_item_id *ppid)\n",
    "prefixes": []
}