get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 10533,
    "url": "https://patches.dpdk.org/api/patches/10533/?format=api",
    "web_url": "https://patches.dpdk.org/project/dpdk/patch/1455606865-22680-3-git-send-email-thomas.monjalon@6wind.com/",
    "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": "<1455606865-22680-3-git-send-email-thomas.monjalon@6wind.com>",
    "list_archive_url": "https://inbox.dpdk.org/dev/1455606865-22680-3-git-send-email-thomas.monjalon@6wind.com",
    "date": "2016-02-16T07:14:24",
    "name": "[dpdk-dev,v2,2/3] hash: fix header for C++",
    "commit_ref": null,
    "pull_url": null,
    "state": "accepted",
    "archived": true,
    "hash": "29f9e1c721f06dea5de44f3cd6ffcc61432c0aeb",
    "submitter": {
        "id": 1,
        "url": "https://patches.dpdk.org/api/people/1/?format=api",
        "name": "Thomas Monjalon",
        "email": "thomas.monjalon@6wind.com"
    },
    "delegate": null,
    "mbox": "https://patches.dpdk.org/project/dpdk/patch/1455606865-22680-3-git-send-email-thomas.monjalon@6wind.com/mbox/",
    "series": [],
    "comments": "https://patches.dpdk.org/api/patches/10533/comments/",
    "check": "pending",
    "checks": "https://patches.dpdk.org/api/patches/10533/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 1FB6EC134;\n\tTue, 16 Feb 2016 08:16:11 +0100 (CET)",
            "from mail-wm0-f46.google.com (mail-wm0-f46.google.com\n\t[74.125.82.46]) by dpdk.org (Postfix) with ESMTP id 41C3EC11A\n\tfor <dev@dpdk.org>; Tue, 16 Feb 2016 08:16:08 +0100 (CET)",
            "by mail-wm0-f46.google.com with SMTP id g62so177841628wme.0\n\tfor <dev@dpdk.org>; Mon, 15 Feb 2016 23:16:08 -0800 (PST)",
            "from XPS13.localdomain (165.20.90.92.rev.sfr.net. [92.90.20.165])\n\tby smtp.gmail.com with ESMTPSA id\n\tb5sm19032574wmh.15.2016.02.15.23.16.06\n\t(version=TLSv1/SSLv3 cipher=OTHER);\n\tMon, 15 Feb 2016 23:16:07 -0800 (PST)"
        ],
        "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n\td=6wind-com.20150623.gappssmtp.com; s=20150623;\n\th=from:to:cc:subject:date:message-id:in-reply-to:references\n\t:mime-version:content-type:content-transfer-encoding;\n\tbh=WM25gVZm8DzmNcsAGnKABEn1coic488RJlULXn4ATCI=;\n\tb=PDbFblh/uqYRJpGECb2OOzQKw2guixNAUgcDqpSN2jNvoAEP8yZlnPJkGoT+N+Lqbh\n\tIyQhJGZK/6MBAFT6UnRk7fy4PhJwBLuD9j83NxCyS9BqT20uhzqYRDetP2sr5ydjE9zk\n\tqPIeoEHMQv3YR/PY6QAC3JOGDgrJe4LtvKYgc+o2Zi8WKyRXgX4KULeKQJSR5hdzoYP+\n\tXW+j7F8X+cQaU+sV3FH/oGqceE6bgNgTegfyb+SWj+S1wvwDRX5ao5sz/1mZzBNsIhyE\n\t9AuIVr2cEnRtTmuv0GJU0yNj41XfnQwt/xT/CYQqeeciLvsQjSwY4q3wH2gSDgGcsEsx\n\ticfw==",
        "X-Google-DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n\td=1e100.net; s=20130820;\n\th=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to\n\t:references:mime-version:content-type:content-transfer-encoding;\n\tbh=WM25gVZm8DzmNcsAGnKABEn1coic488RJlULXn4ATCI=;\n\tb=J1EP5/t/WrOLG/ThTduL3Y//U5jc2UfU/7U5U5wRCo6Rr1h1hRvqJ7uoYGpn2fdDZX\n\tpWZKYLkB1hH0Z+UxKLhMPUmWddKkFemQojybWYhMTk5fLtSvpWp+FApSNO7qV3Zl8PLe\n\tfS8PHxGiGSZ4ifl4r/bARJuAdvDS+LV/D1UqyC96RsLEsLdbAFxFaupw9kWOukPd/xBv\n\tnLbtOKDr2TJkSeyT2VFMxcbifBTEE6Or8cajxttzQwl4EVtA3Z3j/dvMFiWlc5sh08Ma\n\tfxPvz+llrTzAtXUr69Ns2EwgB63py4Npjjy/zu0FFtOCM5SxIg9zOACVv3oWpcw29b+V\n\txcXQ==",
        "X-Gm-Message-State": "AG10YOS8m4yzaz0hFC6zDVhvZWV2RkeCmI0AEc8dJ6P3hZ8t2BoXNO/YhiKXycaEiuCJ/+tQ",
        "X-Received": "by 10.28.227.134 with SMTP id a128mr18138814wmh.67.1455606968148;\n\tMon, 15 Feb 2016 23:16:08 -0800 (PST)",
        "From": "Thomas Monjalon <thomas.monjalon@6wind.com>",
        "To": "pablo.de.lara.guarch@intel.com, declan.doherty@intel.com,\n\tremy.horton@intel.com",
        "Date": "Tue, 16 Feb 2016 08:14:24 +0100",
        "Message-Id": "<1455606865-22680-3-git-send-email-thomas.monjalon@6wind.com>",
        "X-Mailer": "git-send-email 2.7.0",
        "In-Reply-To": "<1455606865-22680-1-git-send-email-thomas.monjalon@6wind.com>",
        "References": "<1454691969-25734-1-git-send-email-thomas.monjalon@6wind.com>\n\t<1455606865-22680-1-git-send-email-thomas.monjalon@6wind.com>",
        "MIME-Version": "1.0",
        "Content-Type": "text/plain; charset=UTF-8",
        "Content-Transfer-Encoding": "8bit",
        "Cc": "dev@dpdk.org",
        "Subject": "[dpdk-dev] [PATCH v2 2/3] hash: fix header for C++",
        "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 built in a C++ application, the jhash include fails:\n\nrte_jhash.h:123:22: error:\ninvalid conversion from ‘const void*’ to ‘const uint32_t*’ [-fpermissive]\n  const uint32_t *k = key;\n                      ^\nThe cast must be explicit for C++.\n\nFixes: 8718219a8737 (\"hash: add new jhash functions\")\n\nSigned-off-by: Thomas Monjalon <thomas.monjalon@6wind.com>\nAcked-by: Pablo de Lara <pablo.de.lara.guarch@intel.com>\n---\n lib/librte_hash/rte_jhash.h | 2 +-\n 1 file changed, 1 insertion(+), 1 deletion(-)",
    "diff": "diff --git a/lib/librte_hash/rte_jhash.h b/lib/librte_hash/rte_jhash.h\nindex 457f225..207478c 100644\n--- a/lib/librte_hash/rte_jhash.h\n+++ b/lib/librte_hash/rte_jhash.h\n@@ -120,7 +120,7 @@ __rte_jhash_2hashes(const void *key, uint32_t length, uint32_t *pc,\n \t * If check_align is not set, first case will be used\n \t */\n #if defined(RTE_ARCH_X86_64) || defined(RTE_ARCH_I686) || defined(RTE_ARCH_X86_X32)\n-\tconst uint32_t *k = key;\n+\tconst uint32_t *k = (const uint32_t *)key;\n \tconst uint32_t s = 0;\n #else\n \tconst uint32_t *k = (uint32_t *)((uintptr_t)key & (uintptr_t)~3);\n",
    "prefixes": [
        "dpdk-dev",
        "v2",
        "2/3"
    ]
}