get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 595567,
    "url": "http://patchwork.ozlabs.org/api/patches/595567/?format=api",
    "web_url": "http://patchwork.ozlabs.org/project/intel-wired-lan/patch/1457570168-30798-2-git-send-email-jacob.e.keller@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": "<1457570168-30798-2-git-send-email-jacob.e.keller@intel.com>",
    "list_archive_url": null,
    "date": "2016-03-10T00:36:08",
    "name": "[v2] fm10k: use DRV_SUMMARY to reduce code duplication",
    "commit_ref": null,
    "pull_url": null,
    "state": "accepted",
    "archived": false,
    "hash": "998c9fde059c8c541176568be30217cb5e479708",
    "submitter": {
        "id": 9784,
        "url": "http://patchwork.ozlabs.org/api/people/9784/?format=api",
        "name": "Jacob Keller",
        "email": "jacob.e.keller@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/1457570168-30798-2-git-send-email-jacob.e.keller@intel.com/mbox/",
    "series": [],
    "comments": "http://patchwork.ozlabs.org/api/patches/595567/comments/",
    "check": "pending",
    "checks": "http://patchwork.ozlabs.org/api/patches/595567/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 fraxinus.osuosl.org (smtp4.osuosl.org [140.211.166.137])\n\tby ozlabs.org (Postfix) with ESMTP id 2C8A0140AD9\n\tfor <incoming@patchwork.ozlabs.org>;\n\tThu, 10 Mar 2016 11:36:19 +1100 (AEDT)",
            "from localhost (localhost [127.0.0.1])\n\tby fraxinus.osuosl.org (Postfix) with ESMTP id 773F0A5C78;\n\tThu, 10 Mar 2016 00:36:18 +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 o4ZemgFSv0qD; Thu, 10 Mar 2016 00:36:15 +0000 (UTC)",
            "from ash.osuosl.org (ash.osuosl.org [140.211.166.34])\n\tby fraxinus.osuosl.org (Postfix) with ESMTP id 255FAA5BD1;\n\tThu, 10 Mar 2016 00:36:15 +0000 (UTC)",
            "from whitealder.osuosl.org (smtp1.osuosl.org [140.211.166.138])\n\tby ash.osuosl.org (Postfix) with ESMTP id 6847F1CF4C2\n\tfor <intel-wired-lan@lists.osuosl.org>;\n\tThu, 10 Mar 2016 00:36:11 +0000 (UTC)",
            "from localhost (localhost [127.0.0.1])\n\tby whitealder.osuosl.org (Postfix) with ESMTP id 61B7392044\n\tfor <intel-wired-lan@lists.osuosl.org>;\n\tThu, 10 Mar 2016 00:36: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 U043kym22C77 for <intel-wired-lan@lists.osuosl.org>;\n\tThu, 10 Mar 2016 00:36:10 +0000 (UTC)",
            "from mga02.intel.com (mga02.intel.com [134.134.136.20])\n\tby whitealder.osuosl.org (Postfix) with ESMTP id C00D492051\n\tfor <intel-wired-lan@lists.osuosl.org>;\n\tThu, 10 Mar 2016 00:36:10 +0000 (UTC)",
            "from orsmga001.jf.intel.com ([10.7.209.18])\n\tby orsmga101.jf.intel.com with ESMTP; 09 Mar 2016 16:36:11 -0800",
            "from jekeller-desk.amr.corp.intel.com (HELO\n\tjekeller-desk.jekeller.internal) ([134.134.3.75])\n\tby orsmga001.jf.intel.com with ESMTP; 09 Mar 2016 16:36:11 -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.24,313,1455004800\"; d=\"scan'208\";a=\"906521495\"",
        "From": "Jacob Keller <jacob.e.keller@intel.com>",
        "To": "Intel Wired LAN <intel-wired-lan@lists.osuosl.org>",
        "Date": "Wed,  9 Mar 2016 16:36:08 -0800",
        "Message-Id": "<1457570168-30798-2-git-send-email-jacob.e.keller@intel.com>",
        "X-Mailer": "git-send-email 2.8.0.rc1.177.g5628860",
        "In-Reply-To": "<1457570168-30798-1-git-send-email-jacob.e.keller@intel.com>",
        "References": "<1457570168-30798-1-git-send-email-jacob.e.keller@intel.com>",
        "Subject": "[Intel-wired-lan] [PATCH v2] fm10k: use DRV_SUMMARY to reduce code\n\tduplication",
        "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": "Use DRV_SUMMARY, similar to DRV_VERSION so that we don't have to\nduplicate the driver summary in multiple places.\n\nSigned-off-by: Jacob Keller <jacob.e.keller@intel.com>\n---\n\nAs per the summary this is a complete replacement for 2a7b5dd0e752\n(\"fm10k: update driver summary and reduce code duplication\", 2016-03-09)\nand should thus replace that patch in the queue.\n\nNotes:\n    - v2\n    * Don't change the driver summary\n\n drivers/net/ethernet/intel/fm10k/fm10k_main.c | 6 +++---\n 1 file changed, 3 insertions(+), 3 deletions(-)",
    "diff": "diff --git a/drivers/net/ethernet/intel/fm10k/fm10k_main.c b/drivers/net/ethernet/intel/fm10k/fm10k_main.c\nindex 3a81c1451624..7832f9cdf743 100644\n--- a/drivers/net/ethernet/intel/fm10k/fm10k_main.c\n+++ b/drivers/net/ethernet/intel/fm10k/fm10k_main.c\n@@ -29,15 +29,15 @@\n #include \"fm10k.h\"\n \n #define DRV_VERSION\t\"0.19.3-k\"\n+#define DRV_SUMMARY\t\"Intel(R) Ethernet Switch Host Interface Driver\"\n const char fm10k_driver_version[] = DRV_VERSION;\n char fm10k_driver_name[] = \"fm10k\";\n-static const char fm10k_driver_string[] =\n-\t\"Intel(R) Ethernet Switch Host Interface Driver\";\n+static const char fm10k_driver_string[] = DRV_SUMMARY;\n static const char fm10k_copyright[] =\n \t\"Copyright (c) 2013 Intel Corporation.\";\n \n MODULE_AUTHOR(\"Intel Corporation, <linux.nics@intel.com>\");\n-MODULE_DESCRIPTION(\"Intel(R) Ethernet Switch Host Interface Driver\");\n+MODULE_DESCRIPTION(DRV_SUMMARY);\n MODULE_LICENSE(\"GPL\");\n MODULE_VERSION(DRV_VERSION);\n \n",
    "prefixes": [
        "v2"
    ]
}