get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 567915,
    "url": "http://patchwork.ozlabs.org/api/patches/567915/?format=api",
    "web_url": "http://patchwork.ozlabs.org/project/intel-wired-lan/patch/20160115044209.24270.5939.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": "<20160115044209.24270.5939.stgit@localhost.localdomain>",
    "list_archive_url": null,
    "date": "2016-01-15T04:42:09",
    "name": "[next,3/3] i40e: Fix build warnings when geneve is not enabled",
    "commit_ref": null,
    "pull_url": null,
    "state": "changes-requested",
    "archived": false,
    "hash": "03a11b98e8530a23327cbf16e34393d8f0f051c9",
    "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/20160115044209.24270.5939.stgit@localhost.localdomain/mbox/",
    "series": [],
    "comments": "http://patchwork.ozlabs.org/api/patches/567915/comments/",
    "check": "pending",
    "checks": "http://patchwork.ozlabs.org/api/patches/567915/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 974C014032F\n\tfor <incoming@patchwork.ozlabs.org>;\n\tFri, 15 Jan 2016 15:42:18 +1100 (AEDT)",
            "from localhost (localhost [127.0.0.1])\n\tby whitealder.osuosl.org (Postfix) with ESMTP id E6B849176B;\n\tFri, 15 Jan 2016 04:42:16 +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 FLrK2HkyRrUC; Fri, 15 Jan 2016 04:42:12 +0000 (UTC)",
            "from ash.osuosl.org (ash.osuosl.org [140.211.166.34])\n\tby whitealder.osuosl.org (Postfix) with ESMTP id 03C519176A;\n\tFri, 15 Jan 2016 04:42:12 +0000 (UTC)",
            "from silver.osuosl.org (smtp3.osuosl.org [140.211.166.136])\n\tby ash.osuosl.org (Postfix) with ESMTP id 76F781BFA5C\n\tfor <intel-wired-lan@lists.osuosl.org>;\n\tFri, 15 Jan 2016 04:42:11 +0000 (UTC)",
            "from localhost (localhost [127.0.0.1])\n\tby silver.osuosl.org (Postfix) with ESMTP id 6BAF93319A\n\tfor <intel-wired-lan@lists.osuosl.org>;\n\tFri, 15 Jan 2016 04:42:11 +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 Gs38sdaE9yfa for <intel-wired-lan@lists.osuosl.org>;\n\tFri, 15 Jan 2016 04:42:10 +0000 (UTC)",
            "from mail-pf0-f179.google.com (mail-pf0-f179.google.com\n\t[209.85.192.179])\n\tby silver.osuosl.org (Postfix) with ESMTPS id 7827A25D30\n\tfor <intel-wired-lan@lists.osuosl.org>;\n\tFri, 15 Jan 2016 04:42:10 +0000 (UTC)",
            "by mail-pf0-f179.google.com with SMTP id q63so114672677pfb.1\n\tfor <intel-wired-lan@lists.osuosl.org>;\n\tThu, 14 Jan 2016 20:42:10 -0800 (PST)",
            "from localhost.localdomain\n\t(static-50-53-29-36.bvtn.or.frontiernet.net. [50.53.29.36])\n\tby smtp.gmail.com with ESMTPSA id\n\tsy5sm12621929pac.5.2016.01.14.20.42.09\n\t(version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128);\n\tThu, 14 Jan 2016 20:42:09 -0800 (PST)"
        ],
        "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=L9+HNlrX; 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=BrFiYytplkjchsXJ1X8N6sfMPEi7+3cLqPGIjTYfB48=;\n\tb=L9+HNlrXr/cLylThHr7CFu/dQ7lcc3yAyw9djovydV0Cr4gIuel6buTjBUjmCCd4xE\n\tXzFsaWloq342b/HxSLOetepmDCQLEAMhe3b4/vCnlrjwjrFu267A3UWoApp9jptJZIyn\n\tysHJil0L7MDMNc8WinS9SdHr4dZdyd+9obxU0=",
        "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=BrFiYytplkjchsXJ1X8N6sfMPEi7+3cLqPGIjTYfB48=;\n\tb=hl9Iihvn3DerHDXWXQv70XiTkMoAgeBFxjD7K/HiHWvQDTMHLeFBlENKb/rIakXCp3\n\t1rmLFk8whEwQ75c5XXIBGCX/WD8Pt93a+0MtpeeQPM2hgjP+vP+2SDPEy5RbwwVEl6du\n\t6Dz90J6IB1w8GvxBBjHdUhKaoRRtTerYozZ6MblVW40X8GX10465uU9vFGlAVG9I80nQ\n\t20sPXWrclA+WAKYbuMIE4yNg4wfJdDDleywy0/3g8WNTpYC9B74eNyzAimJMWw0o5MQn\n\t9xlKN97HAUjPUfDcYp6ULEMSLL59X/5jdFc/b/blB5U82XteU9H2fP6dFD8rrTLL2CL6\n\tWYHA==",
        "X-Gm-Message-State": "ALoCoQkCalZ4a81wpyhIhNKmseikha/QTpfFR+SI0bG9K/+RtT5jvrzQ2WWd4yMYwwidzx0i/KRJJKbHzM/MXd5WrPN9jKy/AA==",
        "X-Received": "by 10.98.68.199 with SMTP id m68mr11969578pfi.6.1452832930189;\n\tThu, 14 Jan 2016 20:42:10 -0800 (PST)",
        "From": "Alexander Duyck <aduyck@mirantis.com>",
        "To": "intel-wired-lan@lists.osuosl.org",
        "Date": "Thu, 14 Jan 2016 20:42:09 -0800",
        "Message-ID": "<20160115044209.24270.5939.stgit@localhost.localdomain>",
        "In-Reply-To": "<20160115043921.24270.62791.stgit@localhost.localdomain>",
        "References": "<20160115043921.24270.62791.stgit@localhost.localdomain>",
        "User-Agent": "StGit/0.17.1-dirty",
        "MIME-Version": "1.0",
        "Subject": "[Intel-wired-lan] [next PATCH 3/3] i40e: Fix build warnings when\n\tgeneve is not enabled",
        "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": "My default config didn't have geneve enabled.  As a result I was getting\nwarnings about the port functions being defined but not used.\n\nSigned-off-by: Alexander Duyck <aduyck@mirantis.com>\n---\n drivers/net/ethernet/intel/i40e/i40e_main.c |    6 ++----\n 1 file changed, 2 insertions(+), 4 deletions(-)",
    "diff": "diff --git a/drivers/net/ethernet/intel/i40e/i40e_main.c b/drivers/net/ethernet/intel/i40e/i40e_main.c\nindex a15ab5fd3bd7..d35e6d62f659 100644\n--- a/drivers/net/ethernet/intel/i40e/i40e_main.c\n+++ b/drivers/net/ethernet/intel/i40e/i40e_main.c\n@@ -8664,6 +8664,7 @@ static void i40e_del_vxlan_port(struct net_device *netdev,\n #endif\n }\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@@ -8673,7 +8674,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@@ -8708,7 +8708,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@@ -8720,7 +8719,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@@ -8746,8 +8744,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": [
        "next",
        "3/3"
    ]
}