get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 139430,
    "url": "http://patches.dpdk.org/api/patches/139430/?format=api",
    "web_url": "http://patches.dpdk.org/project/dpdk/patch/1713285204-5933-1-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": "<1713285204-5933-1-git-send-email-roretzla@linux.microsoft.com>",
    "list_archive_url": "https://inbox.dpdk.org/dev/1713285204-5933-1-git-send-email-roretzla@linux.microsoft.com",
    "date": "2024-04-16T16:33:24",
    "name": "eal: fix missing type in dtor macro expansion",
    "commit_ref": null,
    "pull_url": null,
    "state": "new",
    "archived": false,
    "hash": "4041181f328c3dc94a09637110d7ee63eb3c759e",
    "submitter": {
        "id": 2077,
        "url": "http://patches.dpdk.org/api/people/2077/?format=api",
        "name": "Tyler Retzlaff",
        "email": "roretzla@linux.microsoft.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/1713285204-5933-1-git-send-email-roretzla@linux.microsoft.com/mbox/",
    "series": [
        {
            "id": 31760,
            "url": "http://patches.dpdk.org/api/series/31760/?format=api",
            "web_url": "http://patches.dpdk.org/project/dpdk/list/?series=31760",
            "date": "2024-04-16T16:33:24",
            "name": "eal: fix missing type in dtor macro expansion",
            "version": 1,
            "mbox": "http://patches.dpdk.org/series/31760/mbox/"
        }
    ],
    "comments": "http://patches.dpdk.org/api/patches/139430/comments/",
    "check": "success",
    "checks": "http://patches.dpdk.org/api/patches/139430/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 6C9B343E86;\n\tTue, 16 Apr 2024 18:33:29 +0200 (CEST)",
            "from mails.dpdk.org (localhost [127.0.0.1])\n\tby mails.dpdk.org (Postfix) with ESMTP id D51EA40685;\n\tTue, 16 Apr 2024 18:33:28 +0200 (CEST)",
            "from linux.microsoft.com (linux.microsoft.com [13.77.154.182])\n by mails.dpdk.org (Postfix) with ESMTP id 2D33340262;\n Tue, 16 Apr 2024 18:33:27 +0200 (CEST)",
            "by linux.microsoft.com (Postfix, from userid 1086)\n id 59AA120FC5F5; Tue, 16 Apr 2024 09:33:26 -0700 (PDT)"
        ],
        "DKIM-Filter": "OpenDKIM Filter v2.11.0 linux.microsoft.com 59AA120FC5F5",
        "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux.microsoft.com;\n s=default; t=1713285206;\n bh=Qru5OVbLt2qMRqjr0XB+SQDgFhS1kMEiaFu8mj5N2sw=;\n h=From:To:Cc:Subject:Date:From;\n b=LDADmYuCNd9xtbpJ1t2BrTd9J0DfPEfeNsYMHS+J9foVjMxR/TLBaPEgl0lW2X8LU\n J5p910vj6loTbHv0dG3B0j/URfw3vmEsoSlU//wZkcpPZeYG+QKn1Y5XuzjIPzVZDt\n UcYK6uj5uRFnlQSujrko2uzfXpesW2/pjtcAkf94=",
        "From": "Tyler Retzlaff <roretzla@linux.microsoft.com>",
        "To": "dev@dpdk.org",
        "Cc": "Tyler Retzlaff <roretzla@linux.microsoft.com>,\n\tstable@dpdk.org",
        "Subject": "[PATCH] eal: fix missing type in dtor macro expansion",
        "Date": "Tue, 16 Apr 2024 09:33:24 -0700",
        "Message-Id": "<1713285204-5933-1-git-send-email-roretzla@linux.microsoft.com>",
        "X-Mailer": "git-send-email 1.8.3.1",
        "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": "RTE_FINI expansion failed to specify void * type for storage of\ndestructor function pointer resulting it defaulting to type ``int``.\n\nUpdate the macro to specify ``void *`` as the type so the correct size\nis allocated in the segment.\n\nFixes: 64eff943ca82 (\"eal: implement constructors for MSVC\")\nCc: roretzla@linux.microsoft.com\nCc: stable@dpdk.org\n\nSigned-off-by: Tyler Retzlaff <roretzla@linux.microsoft.com>\n---\n lib/eal/include/rte_common.h | 2 +-\n 1 file changed, 1 insertion(+), 1 deletion(-)",
    "diff": "diff --git a/lib/eal/include/rte_common.h b/lib/eal/include/rte_common.h\nindex 298a5c6..618ed56 100644\n--- a/lib/eal/include/rte_common.h\n+++ b/lib/eal/include/rte_common.h\n@@ -291,7 +291,7 @@ static void __attribute__((destructor(RTE_PRIO(prio)), used)) func(void)\n #define RTE_FINI_PRIO(name, priority) \\\n \tstatic void name(void); \\\n \t__pragma(const_seg(DTOR_PRIORITY_TO_SECTION(priority))) \\\n-\t__declspec(allocate(DTOR_PRIORITY_TO_SECTION(priority))) name ## _pointer = &name; \\\n+\t__declspec(allocate(DTOR_PRIORITY_TO_SECTION(priority))) void *name ## _pointer = &name; \\\n \t__pragma(const_seg()) \\\n \tstatic void name(void)\n #endif\n",
    "prefixes": []
}