get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 608,
    "url": "http://patchwork.dpdk.org/api/patches/608/?format=api",
    "web_url": "http://patchwork.dpdk.org/project/dpdk/patch/1411795835-87197-1-git-send-email-keith.wiles@windriver.com/",
    "project": {
        "id": 1,
        "url": "http://patchwork.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": "<1411795835-87197-1-git-send-email-keith.wiles@windriver.com>",
    "list_archive_url": "https://inbox.dpdk.org/dev/1411795835-87197-1-git-send-email-keith.wiles@windriver.com",
    "date": "2014-09-27T05:30:35",
    "name": "[dpdk-dev] Clang compile error with RTE_LIBRTE_MEMPOOL_DEBUG enabled.",
    "commit_ref": null,
    "pull_url": null,
    "state": "not-applicable",
    "archived": true,
    "hash": "b21fc3a82de52ea237fb5f5cfb6be01ac67ebf16",
    "submitter": {
        "id": 75,
        "url": "http://patchwork.dpdk.org/api/people/75/?format=api",
        "name": "Wiles, Roger Keith",
        "email": "keith.wiles@windriver.com"
    },
    "delegate": null,
    "mbox": "http://patchwork.dpdk.org/project/dpdk/patch/1411795835-87197-1-git-send-email-keith.wiles@windriver.com/mbox/",
    "series": [],
    "comments": "http://patchwork.dpdk.org/api/patches/608/comments/",
    "check": "pending",
    "checks": "http://patchwork.dpdk.org/api/patches/608/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 518C8683E;\n\tSat, 27 Sep 2014 07:24:24 +0200 (CEST)",
            "from keithw-W2600CR (97-94-195-106.dhcp.ftwo.tx.charter.com\n\t[97.94.195.106]) by dpdk.org (Postfix) with ESMTP id 1D26A678C\n\tfor <dev@dpdk.org>; Sat, 27 Sep 2014 07:24:23 +0200 (CEST)",
            "by keithw-W2600CR (Postfix, from userid 1000)\n\tid A4BCFAE00A3; Sat, 27 Sep 2014 00:30:44 -0500 (CDT)"
        ],
        "From": "Keith Wiles <keith.wiles@windriver.com>",
        "To": "dev@dpdk.org",
        "Date": "Sat, 27 Sep 2014 00:30:35 -0500",
        "Message-Id": "<1411795835-87197-1-git-send-email-keith.wiles@windriver.com>",
        "X-Mailer": "git-send-email 2.1.0",
        "Subject": "[dpdk-dev] [PATCH] Clang compile error with\n\tRTE_LIBRTE_MEMPOOL_DEBUG enabled.",
        "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": "When enabling RTE_LIBRTE_MEMPOOL_DEBUG and compiling with clang\ncompiler an error occurs, because ifdefed code now includes GCC pragmas.\n\nSigned-off-by: Keith Wiles <keith.wiles@windriver.com>\n---\n lib/librte_mempool/rte_mempool.h | 4 ++--\n 1 file changed, 2 insertions(+), 2 deletions(-)",
    "diff": "diff --git a/lib/librte_mempool/rte_mempool.h b/lib/librte_mempool/rte_mempool.h\nindex 95f19f9..299d4d7 100644\n--- a/lib/librte_mempool/rte_mempool.h\n+++ b/lib/librte_mempool/rte_mempool.h\n@@ -312,7 +312,7 @@ static inline void __mempool_write_trailer_cookie(void *obj)\n  *   - 2: just check that cookie is valid (free or allocated)\n  */\n #ifdef RTE_LIBRTE_MEMPOOL_DEBUG\n-#ifndef __INTEL_COMPILER\n+#ifdef __GCC__\n #pragma GCC push_options\n #pragma GCC diagnostic ignored \"-Wcast-qual\"\n #endif\n@@ -379,7 +379,7 @@ static inline void __mempool_check_cookies(const struct rte_mempool *mp,\n \t\t}\n \t}\n }\n-#ifndef __INTEL_COMPILER\n+#ifdef __GCC__\n #pragma GCC pop_options\n #endif\n #else\n",
    "prefixes": [
        "dpdk-dev"
    ]
}