get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 65400,
    "url": "http://patches.dpdk.org/api/patches/65400/?format=api",
    "web_url": "http://patches.dpdk.org/project/dpdk/patch/20200131030744.19596-2-dmitry.kozliuk@gmail.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": "<20200131030744.19596-2-dmitry.kozliuk@gmail.com>",
    "list_archive_url": "https://inbox.dpdk.org/dev/20200131030744.19596-2-dmitry.kozliuk@gmail.com",
    "date": "2020-01-31T03:07:39",
    "name": "[1/6] eal: introduce portable format attribute",
    "commit_ref": null,
    "pull_url": null,
    "state": "superseded",
    "archived": true,
    "hash": "af51ad837ae62df47915fe7203a7261f6b8a42a3",
    "submitter": {
        "id": 1581,
        "url": "http://patches.dpdk.org/api/people/1581/?format=api",
        "name": "Dmitry Kozlyuk",
        "email": "dmitry.kozliuk@gmail.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/20200131030744.19596-2-dmitry.kozliuk@gmail.com/mbox/",
    "series": [
        {
            "id": 8371,
            "url": "http://patches.dpdk.org/api/series/8371/?format=api",
            "web_url": "http://patches.dpdk.org/project/dpdk/list/?series=8371",
            "date": "2020-01-31T03:07:38",
            "name": "MinGW-w64 support",
            "version": 1,
            "mbox": "http://patches.dpdk.org/series/8371/mbox/"
        }
    ],
    "comments": "http://patches.dpdk.org/api/patches/65400/comments/",
    "check": "success",
    "checks": "http://patches.dpdk.org/api/patches/65400/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 dpdk.org (dpdk.org [92.243.14.124])\n\tby inbox.dpdk.org (Postfix) with ESMTP id AD9BDA0524;\n\tFri, 31 Jan 2020 04:08:01 +0100 (CET)",
            "from [92.243.14.124] (localhost [127.0.0.1])\n\tby dpdk.org (Postfix) with ESMTP id 200F61C0B0;\n\tFri, 31 Jan 2020 04:07:56 +0100 (CET)",
            "from mail-lj1-f193.google.com (mail-lj1-f193.google.com\n [209.85.208.193]) by dpdk.org (Postfix) with ESMTP id 83FCC1C030\n for <dev@dpdk.org>; Fri, 31 Jan 2020 04:07:52 +0100 (CET)",
            "by mail-lj1-f193.google.com with SMTP id q8so5620337ljb.2\n for <dev@dpdk.org>; Thu, 30 Jan 2020 19:07:52 -0800 (PST)",
            "from localhost.localdomain (broadband-37-110-65-23.ip.moscow.rt.ru.\n [37.110.65.23])\n by smtp.googlemail.com with ESMTPSA id e12sm3630332lfc.70.2020.01.30.19.07.51\n (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);\n Thu, 30 Jan 2020 19:07:51 -0800 (PST)"
        ],
        "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025;\n h=from:to:cc:subject:date:message-id:in-reply-to:references\n :mime-version:content-transfer-encoding;\n bh=bXWEXN2ALw3di/Rr732lxI4x13ETr+1H/yyU6YvNjWA=;\n b=vDJ+meAPBA2mLzdyK+2FB/qmAQ7D7kpJUzp8oQdxPLHrDGopWXwVXKYUn18NsAXtVr\n 49LL2ao4Dfexe2nSWjG6UW6FIpt8HriUcIP5oMW7P63Bg5IZeGyIy/G6yjpe4IpVeBYG\n ut4aqUG7sOXMkkh5RrY788cY0YfIYXp3JILrirkvEFwP77ba51hdyCVJtW37xnaF4+nU\n yR5F/yEi6FlH3iuS6YnNpftnpi0Him7Kd8zA7z24kFR+W2Wi3coo1YnnyJzVglBm6Lo/\n v6pCZvlqRmhhJDkeq3arrjoh2namHBEycD3Ky865doHiBv6FFw6ZjXRsz1UJGVqNm57S\n fqeg==",
        "X-Google-DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n d=1e100.net; s=20161025;\n h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to\n :references:mime-version:content-transfer-encoding;\n bh=bXWEXN2ALw3di/Rr732lxI4x13ETr+1H/yyU6YvNjWA=;\n b=cCrwOjh8+MIhiBi6M6RNH/e5oTsSHjuKiKVwWWB4IFCkCLblF3GD5cUrIWWBrpM1t7\n iDpKEIT3PG1KzXo6GRfP0YqYxKTrxJlctdVoFtxnRpctLc1F2i1HYf1rBQgWv8ToZypg\n us4Q07YFzCyz15qJKXQta1D4o/R8vvFu5T9Q0jfD4TihlpihGVSVNmndAE4NdyhG8Bvg\n /TzpXsitsBghKNflczNuzA00X05cp1FUeyh920hp0zIUl5i/0Ruyfom+MVacVnCX5vkD\n ckLfNxaqUQuoL8lvcMHlgY6kpN4IZ5nu6zHrJT0zHV+JnOj6MiJtmQQbu0/19sk6h/rU\n 6kmA==",
        "X-Gm-Message-State": "APjAAAWvZ6dPKbD7P86acF1p0nX7trMND8sgK18ziXaacc3JUW4VWuYC\n HKHhcwiJVn4yHf5xL6x0G12x9ox5JtUwZQ==",
        "X-Google-Smtp-Source": "\n APXvYqysbQMdY8/269881Dh5tZXIogQV05ZhlOw7k0Y/gz6eYJ/V9RirdWcXBWiytp5flsOIoDIP5A==",
        "X-Received": "by 2002:a2e:8907:: with SMTP id d7mr4845533lji.71.1580440071858;\n Thu, 30 Jan 2020 19:07:51 -0800 (PST)",
        "From": "Dmitry Kozlyuk <dmitry.kozliuk@gmail.com>",
        "To": "dev@dpdk.org",
        "Cc": "Dmitry Kozlyuk <dmitry.kozliuk@gmail.com>",
        "Date": "Fri, 31 Jan 2020 06:07:39 +0300",
        "Message-Id": "<20200131030744.19596-2-dmitry.kozliuk@gmail.com>",
        "X-Mailer": "git-send-email 2.25.0",
        "In-Reply-To": "<20200131030744.19596-1-dmitry.kozliuk@gmail.com>",
        "References": "<20200131030744.19596-1-dmitry.kozliuk@gmail.com>",
        "MIME-Version": "1.0",
        "Content-Transfer-Encoding": "8bit",
        "Subject": "[dpdk-dev] [PATCH 1/6] eal: introduce portable format attribute",
        "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 <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",
        "Sender": "\"dev\" <dev-bounces@dpdk.org>"
    },
    "content": "When using __attribute__((format(...)) on functions, GCC on Windows\nassumes MS-specific format string by default, even if the underlying\nstdio implementation is ANSI-compliant (either MS Unicersal CRT\nor MinGW implementation). Wrap attribute into a macro that forces\nGNU-specific format string when using GCC.\n\nSigned-off-by: Dmitry Kozlyuk <dmitry.kozliuk@gmail.com>",
    "diff": "diff --git a/lib/librte_eal/common/include/rte_common.h b/lib/librte_eal/common/include/rte_common.h\nindex 4b5f3a31f..2f086bb9c 100644\n--- a/lib/librte_eal/common/include/rte_common.h\n+++ b/lib/librte_eal/common/include/rte_common.h\n@@ -89,6 +89,21 @@ typedef uint16_t unaligned_uint16_t;\n  */\n #define RTE_SET_USED(x) (void)(x)\n \n+/**\n+ * Check format string and its arguments at compile-time.\n+ *\n+ * GCC on Windows assumes MS-specific format string by default,\n+ * even if the underlying stdio implementation is ANSI-compliant,\n+ * so this must be overridden.\n+ */\n+#if defined(RTE_TOOLCHAIN_GCC)\n+#define __rte_format(archetype, format_index, first_arg) \\\n+\t__attribute__((format(gnu_##archetype, format_index, first_arg)))\n+#else\n+#define __rte_format(archetype, format_index, first_arg) \\\n+\t__attribute__((format(archetype, format_index, first_arg)))\n+#endif\n+\n #define RTE_PRIORITY_LOG 101\n #define RTE_PRIORITY_BUS 110\n #define RTE_PRIORITY_CLASS 120\n",
    "prefixes": [
        "1/6"
    ]
}