get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 57340,
    "url": "https://patches.dpdk.org/api/patches/57340/?format=api",
    "web_url": "https://patches.dpdk.org/project/dpdk/patch/1564615940-13183-1-git-send-email-gavin.hu@arm.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": "<1564615940-13183-1-git-send-email-gavin.hu@arm.com>",
    "list_archive_url": "https://inbox.dpdk.org/dev/1564615940-13183-1-git-send-email-gavin.hu@arm.com",
    "date": "2019-07-31T23:32:19",
    "name": "[1/2] test/rcu: fix the compiling error for armv8.2",
    "commit_ref": null,
    "pull_url": null,
    "state": "superseded",
    "archived": true,
    "hash": "3ffd2adb1956cf38e9e8e7cde448fe9b1bf3a8b1",
    "submitter": {
        "id": 1018,
        "url": "https://patches.dpdk.org/api/people/1018/?format=api",
        "name": "Gavin Hu",
        "email": "gavin.hu@arm.com"
    },
    "delegate": null,
    "mbox": "https://patches.dpdk.org/project/dpdk/patch/1564615940-13183-1-git-send-email-gavin.hu@arm.com/mbox/",
    "series": [
        {
            "id": 5865,
            "url": "https://patches.dpdk.org/api/series/5865/?format=api",
            "web_url": "https://patches.dpdk.org/project/dpdk/list/?series=5865",
            "date": "2019-07-31T23:32:19",
            "name": "[1/2] test/rcu: fix the compiling error for armv8.2",
            "version": 1,
            "mbox": "https://patches.dpdk.org/series/5865/mbox/"
        }
    ],
    "comments": "https://patches.dpdk.org/api/patches/57340/comments/",
    "check": "success",
    "checks": "https://patches.dpdk.org/api/patches/57340/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 82A211BF9D;\n\tThu,  1 Aug 2019 01:32:33 +0200 (CEST)",
            "from foss.arm.com (foss.arm.com [217.140.110.172])\n\tby dpdk.org (Postfix) with ESMTP id 649FA1BF57;\n\tThu,  1 Aug 2019 01:32:31 +0200 (CEST)",
            "from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14])\n\tby usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id 86AE1337;\n\tWed, 31 Jul 2019 16:32:30 -0700 (PDT)",
            "from net-arm-thunderx2.shanghai.arm.com\n\t(net-arm-thunderx2.shanghai.arm.com [10.169.40.40])\n\tby usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPA id\n\t430D33F694; Wed, 31 Jul 2019 16:32:29 -0700 (PDT)"
        ],
        "From": "Gavin Hu <gavin.hu@arm.com>",
        "To": "dev@dpdk.org",
        "Cc": "nd@arm.com,\n\tstable@dpdk.org",
        "Date": "Thu,  1 Aug 2019 07:32:19 +0800",
        "Message-Id": "<1564615940-13183-1-git-send-email-gavin.hu@arm.com>",
        "X-Mailer": "git-send-email 2.7.4",
        "MIME-Version": "1.0",
        "Content-Type": "text/plain; charset=UTF-8",
        "Content-Transfer-Encoding": "8bit",
        "Subject": "[dpdk-dev] [PATCH 1/2] test/rcu: fix the compiling error for armv8.2",
        "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://mails.dpdk.org/options/dev>,\n\t<mailto:dev-request@dpdk.org?subject=unsubscribe>",
        "List-Archive": "<http://mails.dpdk.org/archives/dev/>",
        "List-Post": "<mailto:dev@dpdk.org>",
        "List-Help": "<mailto:dev-request@dpdk.org?subject=help>",
        "List-Subscribe": "<https://mails.dpdk.org/listinfo/dev>,\n\t<mailto:dev-request@dpdk.org?subject=subscribe>",
        "Errors-To": "dev-bounces@dpdk.org",
        "Sender": "\"dev\" <dev-bounces@dpdk.org>"
    },
    "content": "With \"-march=armv8.2-a\" specified, a compiling error generated:\napp/test/test_rcu_qsbr.c:234:10: error: comparison of integer\nexpressions of different signedness: ‘unsigned int’ and ‘int’\n[-Werror=sign-compare]\n\nFixes: b87089b0bb19 (\"test/rcu: add API and functional tests\")\nCc: stable@dpdk.org\n\nSigned-off-by: Gavin Hu <gavin.hu@arm.com>\n---\n app/test/test_rcu_qsbr.c | 2 +-\n 1 file changed, 1 insertion(+), 1 deletion(-)",
    "diff": "diff --git a/app/test/test_rcu_qsbr.c b/app/test/test_rcu_qsbr.c\nindex 1d273e3..b008c9d 100644\n--- a/app/test/test_rcu_qsbr.c\n+++ b/app/test/test_rcu_qsbr.c\n@@ -231,7 +231,7 @@ test_rcu_qsbr_thread_unregister(void)\n \t\t/* Update quiescent state counter */\n \t\tfor (i = 0; i < num_threads[j]; i++) {\n \t\t\t/* Skip one update */\n-\t\t\tif (i == (RTE_MAX_LCORE - 10))\n+\t\t\tif (i == (unsigned int)(RTE_MAX_LCORE - 10))\n \t\t\t\tcontinue;\n \t\t\trte_rcu_qsbr_quiescent(t[0],\n \t\t\t\t(j == 2) ? (RTE_MAX_LCORE - 1) : i);\n",
    "prefixes": [
        "1/2"
    ]
}