get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 130208,
    "url": "http://patches.dpdk.org/api/patches/130208/?format=api",
    "web_url": "http://patches.dpdk.org/project/dpdk/patch/1691781658-32520-16-git-send-email-roretzla@linux.microsoft.com/",
    "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": "<1691781658-32520-16-git-send-email-roretzla@linux.microsoft.com>",
    "list_archive_url": "https://inbox.dpdk.org/dev/1691781658-32520-16-git-send-email-roretzla@linux.microsoft.com",
    "date": "2023-08-11T19:20:57",
    "name": "[v11,15/16] eal: use standard ternary operator instead of GCC extension",
    "commit_ref": null,
    "pull_url": null,
    "state": "accepted",
    "archived": true,
    "hash": "35d459eac14930da048551a2324221a4e91d57be",
    "submitter": {
        "id": 2077,
        "url": "http://patches.dpdk.org/api/people/2077/?format=api",
        "name": "Tyler Retzlaff",
        "email": "roretzla@linux.microsoft.com"
    },
    "delegate": {
        "id": 24651,
        "url": "http://patches.dpdk.org/api/users/24651/?format=api",
        "username": "dmarchand",
        "first_name": "David",
        "last_name": "Marchand",
        "email": "david.marchand@redhat.com"
    },
    "mbox": "http://patches.dpdk.org/project/dpdk/patch/1691781658-32520-16-git-send-email-roretzla@linux.microsoft.com/mbox/",
    "series": [
        {
            "id": 29198,
            "url": "http://patches.dpdk.org/api/series/29198/?format=api",
            "web_url": "http://patches.dpdk.org/project/dpdk/list/?series=29198",
            "date": "2023-08-11T19:20:44",
            "name": "msvc integration changes",
            "version": 11,
            "mbox": "http://patches.dpdk.org/series/29198/mbox/"
        }
    ],
    "comments": "http://patches.dpdk.org/api/patches/130208/comments/",
    "check": "success",
    "checks": "http://patches.dpdk.org/api/patches/130208/checks/",
    "tags": {},
    "related": [],
    "headers": {
        "Return-Path": "<dev-bounces@dpdk.org>",
        "X-Original-To": "patchwork@inbox.dpdk.org",
        "Delivered-To": "patchwork@inbox.dpdk.org",
        "Received": [
            "from mails.dpdk.org (mails.dpdk.org [217.70.189.124])\n\tby inbox.dpdk.org (Postfix) with ESMTP id A9CAD43037;\n\tFri, 11 Aug 2023 21:22:39 +0200 (CEST)",
            "from mails.dpdk.org (localhost [127.0.0.1])\n\tby mails.dpdk.org (Postfix) with ESMTP id 929CE432AB;\n\tFri, 11 Aug 2023 21:21:21 +0200 (CEST)",
            "from linux.microsoft.com (linux.microsoft.com [13.77.154.182])\n by mails.dpdk.org (Postfix) with ESMTP id 6040A40E03\n for <dev@dpdk.org>; Fri, 11 Aug 2023 21:21:02 +0200 (CEST)",
            "by linux.microsoft.com (Postfix, from userid 1086)\n id E7B6F20FD0F1; Fri, 11 Aug 2023 12:21:00 -0700 (PDT)"
        ],
        "DKIM-Filter": "OpenDKIM Filter v2.11.0 linux.microsoft.com E7B6F20FD0F1",
        "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux.microsoft.com;\n s=default; t=1691781660;\n bh=dp6ypKrA/PunpIYlx4Mnrv0Om7L4pKWJWZMO11im4Ls=;\n h=From:To:Cc:Subject:Date:In-Reply-To:References:From;\n b=KbzEKgClGSsE3hgtjXyzhawWg450Hl0eMZid+A0vy8qGsVBdXh9MiHk/A7Ajkzd3w\n GD6qUJ6O6Ck2eWJsfDFhBkGhx15nfQX9himeYKBRVKVMZKaiNuL8RlUAgocH+Uade1\n oykzOoh0jEEfqeFOJJRA+DKUYlPK+lu2OJtQKeaE=",
        "From": "Tyler Retzlaff <roretzla@linux.microsoft.com>",
        "To": "dev@dpdk.org",
        "Cc": "Bruce Richardson <bruce.richardson@intel.com>,\n Konstantin Ananyev <konstantin.v.ananyev@yandex.ru>,\n Ciara Power <ciara.power@intel.com>, thomas@monjalon.net,\n david.marchand@redhat.com, mb@smartsharesystems.com,\n Tyler Retzlaff <roretzla@linux.microsoft.com>",
        "Subject": "[PATCH v11 15/16] eal: use standard ternary operator instead of GCC\n extension",
        "Date": "Fri, 11 Aug 2023 12:20:57 -0700",
        "Message-Id": "<1691781658-32520-16-git-send-email-roretzla@linux.microsoft.com>",
        "X-Mailer": "git-send-email 1.8.3.1",
        "In-Reply-To": "<1691781658-32520-1-git-send-email-roretzla@linux.microsoft.com>",
        "References": "<1680558751-17931-1-git-send-email-roretzla@linux.microsoft.com>\n <1691781658-32520-1-git-send-email-roretzla@linux.microsoft.com>",
        "X-BeenThere": "dev@dpdk.org",
        "X-Mailman-Version": "2.1.29",
        "Precedence": "list",
        "List-Id": "DPDK patches and discussions <dev.dpdk.org>",
        "List-Unsubscribe": "<https://mails.dpdk.org/options/dev>,\n <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 <mailto:dev-request@dpdk.org?subject=subscribe>",
        "Errors-To": "dev-bounces@dpdk.org"
    },
    "content": "Use standard ternary operator instead of gcc extension. There is\nno concern of side-effects for this evaluation so allow the code\nto be portable.\n\nWhile here update the condition to compare default_log_stream\ndirectly against NULL.\n\nSigned-off-by: Tyler Retzlaff <roretzla@linux.microsoft.com>\n---\n lib/eal/common/eal_common_hexdump.c | 2 +-\n 1 file changed, 1 insertion(+), 1 deletion(-)",
    "diff": "diff --git a/lib/eal/common/eal_common_hexdump.c b/lib/eal/common/eal_common_hexdump.c\nindex 63bbbdc..6fd6e21 100644\n--- a/lib/eal/common/eal_common_hexdump.c\n+++ b/lib/eal/common/eal_common_hexdump.c\n@@ -15,7 +15,7 @@\n \tchar line[LINE_LEN];\t/* space needed 8+16*3+3+16 == 75 */\n \n \tfprintf(f, \"%s at [%p], len=%u\\n\",\n-\t\ttitle ? : \"  Dump data\", data, len);\n+\t\ttitle != NULL ? title : \"  Dump data\", data, len);\n \tofs = 0;\n \twhile (ofs < len) {\n \t\t/* format the line in the buffer */\n",
    "prefixes": [
        "v11",
        "15/16"
    ]
}