get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 88281,
    "url": "http://patches.dpdk.org/api/patches/88281/?format=api",
    "web_url": "http://patches.dpdk.org/project/dpdk/patch/20210228125353.2436562-12-thomas@monjalon.net/",
    "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": "<20210228125353.2436562-12-thomas@monjalon.net>",
    "list_archive_url": "https://inbox.dpdk.org/dev/20210228125353.2436562-12-thomas@monjalon.net",
    "date": "2021-02-28T12:53:46",
    "name": "[v6,11/17] common/dpaax/caamflib: fix build with musl",
    "commit_ref": null,
    "pull_url": null,
    "state": "superseded",
    "archived": true,
    "hash": "45c4537c54f14ba4bcaf3c3ab01676cd1e2c9da7",
    "submitter": {
        "id": 685,
        "url": "http://patches.dpdk.org/api/people/685/?format=api",
        "name": "Thomas Monjalon",
        "email": "thomas@monjalon.net"
    },
    "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/20210228125353.2436562-12-thomas@monjalon.net/mbox/",
    "series": [
        {
            "id": 15401,
            "url": "http://patches.dpdk.org/api/series/15401/?format=api",
            "web_url": "http://patches.dpdk.org/project/dpdk/list/?series=15401",
            "date": "2021-02-28T12:53:35",
            "name": "Alpine/musl build support",
            "version": 6,
            "mbox": "http://patches.dpdk.org/series/15401/mbox/"
        }
    ],
    "comments": "http://patches.dpdk.org/api/patches/88281/comments/",
    "check": "success",
    "checks": "http://patches.dpdk.org/api/patches/88281/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 843BBA0548;\n\tSun, 28 Feb 2021 13:55:44 +0100 (CET)",
            "from [217.70.189.124] (localhost [127.0.0.1])\n\tby mails.dpdk.org (Postfix) with ESMTP id 734BE22A2CF;\n\tSun, 28 Feb 2021 13:54:21 +0100 (CET)",
            "from out4-smtp.messagingengine.com (out4-smtp.messagingengine.com\n [66.111.4.28]) by mails.dpdk.org (Postfix) with ESMTP id 5BFBF22A2A6;\n Sun, 28 Feb 2021 13:54:19 +0100 (CET)",
            "from compute2.internal (compute2.nyi.internal [10.202.2.42])\n by mailout.nyi.internal (Postfix) with ESMTP id 0A3915C00C5;\n Sun, 28 Feb 2021 07:54:19 -0500 (EST)",
            "from mailfrontend2 ([10.202.2.163])\n by compute2.internal (MEProxy); Sun, 28 Feb 2021 07:54:19 -0500",
            "from xps.monjalon.net (184.203.134.77.rev.sfr.net [77.134.203.184])\n by mail.messagingengine.com (Postfix) with ESMTPA id 1D26A1080054;\n Sun, 28 Feb 2021 07:54:18 -0500 (EST)"
        ],
        "DKIM-Signature": [
            "v=1; a=rsa-sha256; c=relaxed/relaxed; d=monjalon.net; h=\n from:to:cc:subject:date:message-id:in-reply-to:references\n :mime-version:content-transfer-encoding; s=fm3; bh=uISwnISfojzlS\n LUnfcyj5Tg8cxHN5puaGHRGdYqwvsY=; b=YYEmmLj1Ys2XkJQQxwXc04mcr0SQn\n EZ2pdjNYgVoGxs+OlnTBxZL/F/Lf3etalPcZTMYg8Bgck500sb81eFPYU4OxWOka\n Nhmq5rRPC9IVidhV60UnO3GmvynPo37YpsQXH5xgSbI8LQ/Q5DfkjiW8e6Ch/dAj\n 4vZWfZ6IlPdQ0eSsu2pysJVfKvGsDAH0oup73IBblpZ2DPLwmdRGnvju43O/DflI\n I3lMaJr2aRgnPe75KNyJPepfvWOFclC4yC/mmqE8oxr0NzEpTVksCLakIoKwfysr\n g/gk0wAFAcHKt8Uec/8GsSfwoAGA5Wu6gc5pkGgtH9AJEq1LUY/+AdGYg==",
            "v=1; a=rsa-sha256; c=relaxed/relaxed; d=\n messagingengine.com; h=cc:content-transfer-encoding:date:from\n :in-reply-to:message-id:mime-version:references:subject:to\n :x-me-proxy:x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=\n fm2; bh=uISwnISfojzlSLUnfcyj5Tg8cxHN5puaGHRGdYqwvsY=; b=TGNQYkiF\n Si5kwkpjavYus/d58y4kCveY57RHHMwDyQaOCHM8+tMmgEk4Z5VcuVevirN/xL4O\n kT45tEFKM3dqNjUv7HjLHdTm8oVIMLzkcr9gMh7yePNWtCFPsePzozAhX2eWCjfY\n r8KeDsFWE3RhTjioS+pmXlIbh7Py568HezZa33KIgQfqEkw5pQjTqFVhnKQdsXiY\n UJkSiEFTX0LOY+cIMxhkgXWJ4HpqJ89PMzrDnajPGgrLx9S/MVc0cF/f6e497YDf\n +bsjtpjVKQ4pt4FMRIG2k4/J/b63+aS8zD8/0jyA6iv5wK6NByBkz1N/JgjT2Thh\n JMbmdkdbr/4OIA=="
        ],
        "X-ME-Sender": "<xms:epI7YOccwR_TnqEQcdBQQPoSD8zwhxhpm6dve9HwWaQILYnkEL3v5Q>\n <xme:epI7YIP0GkTL2uO_gaiWM3TgX_ij1-8Csg434MJS1EdbbW_EShj9DMztBrLvyClK4\n oGsBYuSDbJTu1LBGA>",
        "X-ME-Proxy-Cause": "\n gggruggvucftvghtrhhoucdtuddrgeduledrleeigdegkecutefuodetggdotefrodftvf\n curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu\n uegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenuc\n fjughrpefhvffufffkofgjfhgggfestdekredtredttdenucfhrhhomhepvfhhohhmrghs\n ucfoohhnjhgrlhhonhcuoehthhhomhgrshesmhhonhhjrghlohhnrdhnvghtqeenucggtf\n frrghtthgvrhhnpedvhefgiedvjeegtdevheefhfetleefgfeivefgffevfeejgedtgfeu\n tdehtdegveenucfkphepjeejrddufeegrddvtdefrddukeegnecuvehluhhsthgvrhfuih\n iivgepudenucfrrghrrghmpehmrghilhhfrhhomhepthhhohhmrghssehmohhnjhgrlhho\n nhdrnhgvth",
        "X-ME-Proxy": "<xmx:epI7YPglTDEWB68HXnFqIlcjy85VBqRIzqg6q0f9S55tuRdftsHJ1Q>\n <xmx:epI7YL9mDL09CJqlX4UnA6iIoyy8vNCXBW79S_h-1PI9YfSte55DKw>\n <xmx:epI7YKsd7ziowVt3vWYO1o83zgPaVgKBbR_TEOguHy2dm7l79LbsuQ>\n <xmx:e5I7YMIzr7SojvAdqk655ZTvquvME_xISTshDYp5_c_cihvhG2oqyQ>",
        "From": "Thomas Monjalon <thomas@monjalon.net>",
        "To": "dev@dpdk.org",
        "Cc": "ncopa@alpinelinux.org, stable@dpdk.org,\n Hemant Agrawal <hemant.agrawal@nxp.com>,\n Sachin Saxena <sachin.saxena@oss.nxp.com>,\n Akhil Goyal <akhil.goyal@nxp.com>, Horia Geanta Neag <horia.geanta@nxp.com>",
        "Date": "Sun, 28 Feb 2021 13:53:46 +0100",
        "Message-Id": "<20210228125353.2436562-12-thomas@monjalon.net>",
        "X-Mailer": "git-send-email 2.30.1",
        "In-Reply-To": "<20210228125353.2436562-1-thomas@monjalon.net>",
        "References": "<20190313170657.16688-1-ncopa@alpinelinux.org>\n <20210228125353.2436562-1-thomas@monjalon.net>",
        "MIME-Version": "1.0",
        "Content-Transfer-Encoding": "8bit",
        "Subject": "[dpdk-dev] [PATCH v6 11/17] common/dpaax/caamflib: fix build with\n musl",
        "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",
        "Sender": "\"dev\" <dev-bounces@dpdk.org>"
    },
    "content": "From: Natanael Copa <ncopa@alpinelinux.org>\n\nThe swab16/swab32/swab64 are Linux specific and not GNU libc specific.\nKeep the check for __GLIBC__ just in case other GNU systems depends on\nthis (Hurd or GNU/kFreeBSD).\n\nThis fixes a build error with musl libc.\n\nFixes: 04711d41a872 (\"crypto/dpaa2_sec: add run-time assembler for descriptor\")\nCc: stable@dpdk.org\n\nSigned-off-by: Natanael Copa <ncopa@alpinelinux.org>\nAcked-by: Hemant Agrawal <hemant.agrawal@nxp.com>\nSigned-off-by: Thomas Monjalon <thomas@monjalon.net>\n---\n drivers/common/dpaax/caamflib/compat.h | 12 ++++++------\n 1 file changed, 6 insertions(+), 6 deletions(-)",
    "diff": "diff --git a/drivers/common/dpaax/caamflib/compat.h b/drivers/common/dpaax/caamflib/compat.h\nindex 36ee4b5335..c1a693498d 100644\n--- a/drivers/common/dpaax/caamflib/compat.h\n+++ b/drivers/common/dpaax/caamflib/compat.h\n@@ -11,7 +11,7 @@\n #include <stdint.h>\n #include <errno.h>\n \n-#ifdef __GLIBC__\n+#ifdef RTE_EXEC_ENV_LINUX\n #include <string.h>\n #include <stdlib.h>\n #include <stdio.h>\n@@ -24,7 +24,7 @@\n #error \"Undefined endianness\"\n #endif\n \n-#else\n+#else /* !RTE_EXEC_ENV_LINUX */\n #error Environment not supported!\n #endif\n \n@@ -40,7 +40,7 @@\n #define __maybe_unused __rte_unused\n #endif\n \n-#if defined(__GLIBC__) && !defined(pr_debug)\n+#if !defined(pr_debug)\n #if !defined(SUPPRESS_PRINTS) && defined(RTA_DEBUG)\n #define pr_debug(fmt, ...) \\\n \tRTE_LOG(DEBUG, PMD, \"%s(): \" fmt \"\\n\", __func__, ##__VA_ARGS__)\n@@ -49,7 +49,7 @@\n #endif\n #endif /* pr_debug */\n \n-#if defined(__GLIBC__) && !defined(pr_err)\n+#if !defined(pr_err)\n #if !defined(SUPPRESS_PRINTS)\n #define pr_err(fmt, ...) \\\n \tRTE_LOG(ERR, PMD, \"%s(): \" fmt \"\\n\", __func__, ##__VA_ARGS__)\n@@ -58,7 +58,7 @@\n #endif\n #endif /* pr_err */\n \n-#if defined(__GLIBC__) && !defined(pr_warn)\n+#if !defined(pr_warn)\n #if !defined(SUPPRESS_PRINTS)\n #define pr_warn(fmt, ...) \\\n \tRTE_LOG(WARNING, PMD, \"%s(): \" fmt \"\\n\", __func__, ##__VA_ARGS__)\n@@ -101,7 +101,7 @@\n #endif\n \n /* Use Linux naming convention */\n-#ifdef __GLIBC__\n+#if defined(RTE_EXEC_ENV_LINUX) || defined(__GLIBC__)\n \t#define swab16(x) rte_bswap16(x)\n \t#define swab32(x) rte_bswap32(x)\n \t#define swab64(x) rte_bswap64(x)\n",
    "prefixes": [
        "v6",
        "11/17"
    ]
}