get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 40155,
    "url": "http://patches.dpdk.org/api/patches/40155/?format=api",
    "web_url": "http://patches.dpdk.org/project/dpdk/patch/152656497730.46638.636724014520134245.stgit@localhost.localdomain/",
    "project": {
        "id": 1,
        "url": "http://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": "<152656497730.46638.636724014520134245.stgit@localhost.localdomain>",
    "list_archive_url": "https://inbox.dpdk.org/dev/152656497730.46638.636724014520134245.stgit@localhost.localdomain",
    "date": "2018-05-17T13:49:37",
    "name": "[dpdk-dev,v5,09/21] rte_mbuf.h: make sure RTE-MIN compares same types",
    "commit_ref": null,
    "pull_url": null,
    "state": "accepted",
    "archived": true,
    "hash": "36603e16802a9a03512bc4dc3ec3ac222f2d5f3a",
    "submitter": {
        "id": 1029,
        "url": "http://patches.dpdk.org/api/people/1029/?format=api",
        "name": "Andy Green",
        "email": "andy@warmcat.com"
    },
    "delegate": {
        "id": 1,
        "url": "http://patches.dpdk.org/api/users/1/?format=api",
        "username": "tmonjalo",
        "first_name": "Thomas",
        "last_name": "Monjalon",
        "email": "thomas@monjalon.net"
    },
    "mbox": "http://patches.dpdk.org/project/dpdk/patch/152656497730.46638.636724014520134245.stgit@localhost.localdomain/mbox/",
    "series": [],
    "comments": "http://patches.dpdk.org/api/patches/40155/comments/",
    "check": "success",
    "checks": "http://patches.dpdk.org/api/patches/40155/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 [127.0.0.1])\n\tby dpdk.org (Postfix) with ESMTP id 772EF7CC7;\n\tThu, 17 May 2018 15:49:44 +0200 (CEST)",
            "from mail.warmcat.com (mail.warmcat.com [163.172.24.82])\n\tby dpdk.org (Postfix) with ESMTP id BFC7072FB\n\tfor <dev@dpdk.org>; Thu, 17 May 2018 15:49:41 +0200 (CEST)"
        ],
        "From": "Andy Green <andy@warmcat.com>",
        "To": "dev@dpdk.org",
        "Date": "Thu, 17 May 2018 21:49:37 +0800",
        "Message-ID": "<152656497730.46638.636724014520134245.stgit@localhost.localdomain>",
        "In-Reply-To": "<152656480225.46638.3271983577765861155.stgit@localhost.localdomain>",
        "References": "<152656480225.46638.3271983577765861155.stgit@localhost.localdomain>",
        "User-Agent": "StGit/unknown-version",
        "Content-Type": "text/plain; charset=\"utf-8\"",
        "Content-Transfer-Encoding": "7bit",
        "Subject": "[dpdk-dev] [PATCH v5 09/21] rte_mbuf.h: make sure RTE-MIN compares\n\tsame types",
        "X-BeenThere": "dev@dpdk.org",
        "X-Mailman-Version": "2.1.15",
        "Precedence": "list",
        "List-Id": "DPDK patches and discussions <dev.dpdk.org>",
        "List-Unsubscribe": "<https://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": "<https://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": "/projects/lagopus/src/dpdk/build/include/rte_common.h:384:2:\nwarning: conversion from 'int' to 'uint16_t'\n{aka 'short unsigned int'} may change value [-Wconversion]\n  __extension__ ({ \\\n  ^~~~~~~~~~~~~\n/projects/lagopus/src/dpdk/build/include/rte_mbuf.h:1204:16:\nnote: in expansion of macro 'RTE_MIN'\n  m->data_off = RTE_MIN(RTE_PKTMBUF_HEADROOM,\n(uint16_t)m->buf_len);\n\nRTE_PKTMBUF_HEADROOM is typ 128, so it doesn't make trouble.\n\nSigned-off-by: Andy Green <andy@warmcat.com>\nAcked-by: Bruce Richardson <bruce.richardson@intel.com>\n---\n lib/librte_mbuf/rte_mbuf.h |    3 ++-\n 1 file changed, 2 insertions(+), 1 deletion(-)",
    "diff": "diff --git a/lib/librte_mbuf/rte_mbuf.h b/lib/librte_mbuf/rte_mbuf.h\nindex c214f1945..a27dbb878 100644\n--- a/lib/librte_mbuf/rte_mbuf.h\n+++ b/lib/librte_mbuf/rte_mbuf.h\n@@ -1201,7 +1201,8 @@ rte_pktmbuf_priv_size(struct rte_mempool *mp)\n  */\n static inline void rte_pktmbuf_reset_headroom(struct rte_mbuf *m)\n {\n-\tm->data_off = RTE_MIN(RTE_PKTMBUF_HEADROOM, (uint16_t)m->buf_len);\n+\tm->data_off = (uint16_t)RTE_MIN((uint16_t)RTE_PKTMBUF_HEADROOM,\n+\t\t\t\t\t(uint16_t)m->buf_len);\n }\n \n /**\n",
    "prefixes": [
        "dpdk-dev",
        "v5",
        "09/21"
    ]
}