get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 909,
    "url": "https://patches.dpdk.org/api/patches/909/?format=api",
    "web_url": "https://patches.dpdk.org/project/dpdk/patch/1413961851-13230-1-git-send-email-marc.sune@bisdn.de/",
    "project": {
        "id": 1,
        "url": "https://patches.dpdk.org/api/projects/1/?format=api",
        "name": "DPDK",
        "link_name": "dpdk",
        "list_id": "dev.dpdk.org",
        "list_email": "dev@dpdk.org",
        "web_url": "http://core.dpdk.org",
        "scm_url": "git://dpdk.org/dpdk",
        "webscm_url": "http://git.dpdk.org/dpdk",
        "list_archive_url": "https://inbox.dpdk.org/dev",
        "list_archive_url_format": "https://inbox.dpdk.org/dev/{}",
        "commit_url_format": ""
    },
    "msgid": "<1413961851-13230-1-git-send-email-marc.sune@bisdn.de>",
    "list_archive_url": "https://inbox.dpdk.org/dev/1413961851-13230-1-git-send-email-marc.sune@bisdn.de",
    "date": "2014-10-22T07:10:51",
    "name": "[dpdk-dev] KNI: fix compilation warning 'missing-field-initializers'",
    "commit_ref": null,
    "pull_url": null,
    "state": "superseded",
    "archived": true,
    "hash": "a20b6e5b10759d426d90be4c1ff50c4bc826fe08",
    "submitter": {
        "id": 83,
        "url": "https://patches.dpdk.org/api/people/83/?format=api",
        "name": "Marc Sune",
        "email": "marc.sune@bisdn.de"
    },
    "delegate": null,
    "mbox": "https://patches.dpdk.org/project/dpdk/patch/1413961851-13230-1-git-send-email-marc.sune@bisdn.de/mbox/",
    "series": [],
    "comments": "https://patches.dpdk.org/api/patches/909/comments/",
    "check": "pending",
    "checks": "https://patches.dpdk.org/api/patches/909/checks/",
    "tags": {},
    "related": [],
    "headers": {
        "Return-Path": "<dev-bounces@dpdk.org>",
        "X-Original-To": "patchwork@dpdk.org",
        "Delivered-To": "patchwork@dpdk.org",
        "Received": [
            "from [92.243.14.124] (localhost [IPv6:::1])\n\tby dpdk.org (Postfix) with ESMTP id 0D39E7E95;\n\tWed, 22 Oct 2014 09:03:00 +0200 (CEST)",
            "from mx.bisdn.de (mx.bisdn.de [185.27.182.31])\n\tby dpdk.org (Postfix) with ESMTP id A9CAC7E80\n\tfor <dev@dpdk.org>; Wed, 22 Oct 2014 09:02:52 +0200 (CEST)",
            "from localhost.localdomain (unknown [172.16.251.36])\n\tby mx.bisdn.de (Postfix) with ESMTP id E203BA2DA9;\n\tWed, 22 Oct 2014 09:11:10 +0200 (CEST)"
        ],
        "From": "Marc Sune <marc.sune@bisdn.de>",
        "To": "dev@dpdk.org",
        "Date": "Wed, 22 Oct 2014 09:10:51 +0200",
        "Message-Id": "<1413961851-13230-1-git-send-email-marc.sune@bisdn.de>",
        "X-Mailer": "git-send-email 1.7.10.4",
        "In-Reply-To": "<1ED644BD7E0A5F4091CF203DAFB8E4CC01D8288F@SHSMSX101.ccr.corp.intel.com>",
        "References": "<1ED644BD7E0A5F4091CF203DAFB8E4CC01D8288F@SHSMSX101.ccr.corp.intel.com>",
        "Subject": "[dpdk-dev] [PATCH] KNI: fix compilation warning\n\t'missing-field-initializers'",
        "X-BeenThere": "dev@dpdk.org",
        "X-Mailman-Version": "2.1.15",
        "Precedence": "list",
        "List-Id": "patches and discussions about DPDK <dev.dpdk.org>",
        "List-Unsubscribe": "<http://dpdk.org/ml/options/dev>,\n\t<mailto:dev-request@dpdk.org?subject=unsubscribe>",
        "List-Archive": "<http://dpdk.org/ml/archives/dev/>",
        "List-Post": "<mailto:dev@dpdk.org>",
        "List-Help": "<mailto:dev-request@dpdk.org?subject=help>",
        "List-Subscribe": "<http://dpdk.org/ml/listinfo/dev>,\n\t<mailto:dev-request@dpdk.org?subject=subscribe>",
        "Errors-To": "dev-bounces@dpdk.org",
        "Sender": "\"dev\" <dev-bounces@dpdk.org>"
    },
    "content": "Fix for compilation warning 'missing-field-initializers' for some\nGCC and clang versions introduced in commit 0c6bc8e\n\nSigned-off-by: Marc Sune <marc.sune@bisdn.de>\n---\n lib/librte_kni/rte_kni.c |    9 ++++++++-\n 1 file changed, 8 insertions(+), 1 deletion(-)",
    "diff": "diff --git a/lib/librte_kni/rte_kni.c b/lib/librte_kni/rte_kni.c\nindex f64a0a8..de29b99 100644\n--- a/lib/librte_kni/rte_kni.c\n+++ b/lib/librte_kni/rte_kni.c\n@@ -131,7 +131,14 @@ static void kni_free_mbufs(struct rte_kni *kni);\n static void kni_allocate_mbufs(struct rte_kni *kni);\n \n static volatile int kni_fd = -1;\n-static struct rte_kni_memzone_pool kni_memzone_pool = {0};\n+static struct rte_kni_memzone_pool kni_memzone_pool = {\n+\t.initialized = 0,\n+\t.max_ifaces = 0,\n+\t.slots = 0,\n+\t.mutex =  RTE_SPINLOCK_INITIALIZER,\n+\t.free = NULL,\n+\t.free_tail = NULL\n+};\n \n static const struct rte_memzone *\n kni_memzone_reserve(const char *name, size_t len, int socket_id,\n",
    "prefixes": [
        "dpdk-dev"
    ]
}