get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 88245,
    "url": "https://patches.dpdk.org/api/patches/88245/?format=api",
    "web_url": "https://patches.dpdk.org/project/dpdk/patch/20210225182250.1149592-7-thomas@monjalon.net/",
    "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": "<20210225182250.1149592-7-thomas@monjalon.net>",
    "list_archive_url": "https://inbox.dpdk.org/dev/20210225182250.1149592-7-thomas@monjalon.net",
    "date": "2021-02-25T18:22:39",
    "name": "[v5,06/17] drivers: fix header includes for musl",
    "commit_ref": null,
    "pull_url": null,
    "state": "superseded",
    "archived": true,
    "hash": "8acae28e0fabc72f494a2ca006e3c80ca23bcea3",
    "submitter": {
        "id": 685,
        "url": "https://patches.dpdk.org/api/people/685/?format=api",
        "name": "Thomas Monjalon",
        "email": "thomas@monjalon.net"
    },
    "delegate": null,
    "mbox": "https://patches.dpdk.org/project/dpdk/patch/20210225182250.1149592-7-thomas@monjalon.net/mbox/",
    "series": [
        {
            "id": 15388,
            "url": "https://patches.dpdk.org/api/series/15388/?format=api",
            "web_url": "https://patches.dpdk.org/project/dpdk/list/?series=15388",
            "date": "2021-02-25T18:22:33",
            "name": "Alpine/musl build support",
            "version": 5,
            "mbox": "https://patches.dpdk.org/series/15388/mbox/"
        }
    ],
    "comments": "https://patches.dpdk.org/api/patches/88245/comments/",
    "check": "success",
    "checks": "https://patches.dpdk.org/api/patches/88245/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 9BD4CA034F;\n\tThu, 25 Feb 2021 19:24:02 +0100 (CET)",
            "from [217.70.189.124] (localhost [127.0.0.1])\n\tby mails.dpdk.org (Postfix) with ESMTP id 63DFB160858;\n\tThu, 25 Feb 2021 19:23:35 +0100 (CET)",
            "from out2-smtp.messagingengine.com (out2-smtp.messagingengine.com\n [66.111.4.26]) by mails.dpdk.org (Postfix) with ESMTP id D1EB016084E;\n Thu, 25 Feb 2021 19:23:33 +0100 (CET)",
            "from compute2.internal (compute2.nyi.internal [10.202.2.42])\n by mailout.nyi.internal (Postfix) with ESMTP id 74DEA5C0120;\n Thu, 25 Feb 2021 13:23:33 -0500 (EST)",
            "from mailfrontend1 ([10.202.2.162])\n by compute2.internal (MEProxy); Thu, 25 Feb 2021 13:23:33 -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 5A825240067;\n Thu, 25 Feb 2021 13:23:32 -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=E0rcPQHIg33RF\n HPXZv9oLgv14gAKtY+2Hr+YilEpXxM=; b=DprlbW2pCG6m8eh9l0RDpgyKcTgcm\n r7JpToKYVvm5t0GCjkurRRDiu0vu6Ce7jsXOIOC9r3RkxThlt+1NwoqHb8nG4fvV\n nrznoW+S8siKp75EgqxPTqjC8n7j+qwLBVOrZY+LaITXpvWkTnEblmTYkizkU9YX\n 7/tQYsreEvNmWWXKxBqxrO6W8N3uv1/0I/yzdLjxtUpPMmxatP6Zc29CkBttmCSR\n t2pOdz6YOMkTV/SHUzHT8uWlJqbtiXOyuFjrV61yIzBxioY1Notn210a7MD6tzPs\n h140BYu3YZ16d6ao/OcdC3kKUoS0FWsrxlnoRI3FfGsMNDag4SZE4AZ7A==",
            "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=E0rcPQHIg33RFHPXZv9oLgv14gAKtY+2Hr+YilEpXxM=; b=OBBqZ8+m\n FXDjjax1FSfroUNxV9rZ1yBmnvvQvMu7uq8iK8umU2xQEywdMMEQs4HVcXya/wSL\n 0ThjwVsU3M6ixTFHSboZhBTVMFo7qaaNpRMm/hqYDF4Sfi176+cV0MqYoyjV5QpC\n enTMqZ0h25uB+Znwo9v+fWBZL6t+0F+Oxw9YYVGigRiv2BBVgd+CA/yz9qkouIQv\n NSM385WUEiPR8A5BDR0R9vePPF6gQD1VoD1DwHp+9kWBouiLeXo6a2pyDuB5rPz6\n 9v62J/vWSpmnK44V88FgUqRWnCMWRKRWzOyQ9DmMqrq7kJ5rr0Bti2l+e+/h+GNg\n SCiPrTFjKV9sjg=="
        ],
        "X-ME-Sender": "<xms:Jes3YC66Av-4lY3o7F3eh7NNrAHAiQiXaKhOOS5GuVycP8sYN9EuSw>\n <xme:Jes3YL61zNXOWbMcgSZ75ZWNr6MaXkRMoIS5uVebjWFPPaSXnLKa_9Eqt0SiZxSBo\n mBbc6_vC5Pp-j9nTA>",
        "X-ME-Proxy-Cause": "\n gggruggvucftvghtrhhoucdtuddrgeduledrkeelgdduudegucetufdoteggodetrfdotf\n fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen\n uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne\n cujfgurhephffvufffkffojghfggfgsedtkeertdertddtnecuhfhrohhmpefvhhhomhgr\n shcuofhonhhjrghlohhnuceothhhohhmrghssehmohhnjhgrlhhonhdrnhgvtheqnecugg\n ftrfgrthhtvghrnhepvdehgfeivdejgedtveehfefhteelfefgieevgfffveefjeegtdfg\n uedthedtgeevnecukfhppeejjedrudefgedrvddtfedrudekgeenucevlhhushhtvghruf\n hiiigvpeegnecurfgrrhgrmhepmhgrihhlfhhrohhmpehthhhomhgrshesmhhonhhjrghl\n ohhnrdhnvght",
        "X-ME-Proxy": "<xmx:Jes3YBdu-jl2tOweWz7JoSRk-aPLPHHakAFNQCgABTHmvN4v9ymKOA>\n <xmx:Jes3YPL1oGKNOzAPoUwTWNXNhZRpX7xikGro393oFUWyUGpTCVfDBg>\n <xmx:Jes3YGLo227CL6-7no1-xVstaUb_Vdizeh-4wPnl_RH2yHe1nZb75g>\n <xmx:Jes3YO8Gaw22mAC_dnUK7bh52wfiNUxiedwF_6PGMa7Kir19EK2F9A>",
        "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 Timothy McDaniel <timothy.mcdaniel@intel.com>,\n Geoff Thorpe <geoff.thorpe@nxp.com>,\n Shreyansh Jain <shreyansh.jain@nxp.com>, Gage Eads <gage.eads@intel.com>",
        "Date": "Thu, 25 Feb 2021 19:22:39 +0100",
        "Message-Id": "<20210225182250.1149592-7-thomas@monjalon.net>",
        "X-Mailer": "git-send-email 2.30.1",
        "In-Reply-To": "<20210225182250.1149592-1-thomas@monjalon.net>",
        "References": "<20190313170657.16688-1-ncopa@alpinelinux.org>\n <20210225182250.1149592-1-thomas@monjalon.net>",
        "MIME-Version": "1.0",
        "Content-Transfer-Encoding": "8bit",
        "Subject": "[dpdk-dev] [PATCH v5 06/17] drivers: fix header includes for 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": "The header files argp.h and error.h do not exist in musl libc\nand are not needed in dpaa code.\n\nThe header file fcntl.h should not be included from sys/ directory\nas done in dlb drivers, it is an error with musl libc.\n\nFixes: 5b22cf744689 (\"bus/dpaa: introducing FMan configurations\")\nFixes: 39f373cf015a (\"bus/dpaa: add compatibility and helper macros\")\nFixes: 19980083fd57 (\"event/dlb: add eventdev probe\")\nFixes: 5433956d5185 (\"event/dlb2: add eventdev probe\")\nCc: stable@dpdk.org\n\nSigned-off-by: Thomas Monjalon <thomas@monjalon.net>\n---\n drivers/bus/dpaa/include/netcfg.h | 1 -\n drivers/common/dpaax/compat.h     | 1 -\n drivers/event/dlb/dlb.c           | 2 +-\n drivers/event/dlb/pf/dlb_pf.c     | 3 ++-\n drivers/event/dlb2/dlb2.c         | 2 +-\n drivers/event/dlb2/pf/dlb2_pf.c   | 3 ++-\n 6 files changed, 6 insertions(+), 6 deletions(-)",
    "diff": "diff --git a/drivers/bus/dpaa/include/netcfg.h b/drivers/bus/dpaa/include/netcfg.h\nindex d7d1befd24..bb18a34e3d 100644\n--- a/drivers/bus/dpaa/include/netcfg.h\n+++ b/drivers/bus/dpaa/include/netcfg.h\n@@ -9,7 +9,6 @@\n #define __NETCFG_H\n \n #include <fman.h>\n-#include <argp.h>\n \n /* Configuration information related to a specific ethernet port */\n struct fm_eth_port_cfg {\ndiff --git a/drivers/common/dpaax/compat.h b/drivers/common/dpaax/compat.h\nindex c69e76ab96..7166f8cceb 100644\n--- a/drivers/common/dpaax/compat.h\n+++ b/drivers/common/dpaax/compat.h\n@@ -30,7 +30,6 @@\n #include <assert.h>\n #include <dirent.h>\n #include <inttypes.h>\n-#include <error.h>\n #include <rte_byteorder.h>\n #include <rte_atomic.h>\n #include <rte_spinlock.h>\ndiff --git a/drivers/event/dlb/dlb.c b/drivers/event/dlb/dlb.c\nindex 8b26d1d2d2..2fbfc6aed4 100644\n--- a/drivers/event/dlb/dlb.c\n+++ b/drivers/event/dlb/dlb.c\n@@ -10,7 +10,7 @@\n #include <stdint.h>\n #include <stdio.h>\n #include <string.h>\n-#include <sys/fcntl.h>\n+#include <fcntl.h>\n #include <sys/mman.h>\n #include <unistd.h>\n \ndiff --git a/drivers/event/dlb/pf/dlb_pf.c b/drivers/event/dlb/pf/dlb_pf.c\nindex 3aeef6f91d..876c68e51d 100644\n--- a/drivers/event/dlb/pf/dlb_pf.c\n+++ b/drivers/event/dlb/pf/dlb_pf.c\n@@ -6,12 +6,13 @@\n #include <stdbool.h>\n #include <stdio.h>\n #include <sys/mman.h>\n-#include <sys/fcntl.h>\n+#include <fcntl.h>\n #include <sys/time.h>\n #include <errno.h>\n #include <assert.h>\n #include <unistd.h>\n #include <string.h>\n+\n #include <rte_debug.h>\n #include <rte_log.h>\n #include <rte_dev.h>\ndiff --git a/drivers/event/dlb2/dlb2.c b/drivers/event/dlb2/dlb2.c\nindex b28ec58bfb..fb5ff012a4 100644\n--- a/drivers/event/dlb2/dlb2.c\n+++ b/drivers/event/dlb2/dlb2.c\n@@ -11,7 +11,7 @@\n #include <stdio.h>\n #include <string.h>\n #include <sys/mman.h>\n-#include <sys/fcntl.h>\n+#include <fcntl.h>\n \n #include <rte_common.h>\n #include <rte_config.h>\ndiff --git a/drivers/event/dlb2/pf/dlb2_pf.c b/drivers/event/dlb2/pf/dlb2_pf.c\nindex 1a7d8fc294..b85fd3ec56 100644\n--- a/drivers/event/dlb2/pf/dlb2_pf.c\n+++ b/drivers/event/dlb2/pf/dlb2_pf.c\n@@ -6,12 +6,13 @@\n #include <stdbool.h>\n #include <stdio.h>\n #include <sys/mman.h>\n-#include <sys/fcntl.h>\n+#include <fcntl.h>\n #include <sys/time.h>\n #include <errno.h>\n #include <assert.h>\n #include <unistd.h>\n #include <string.h>\n+\n #include <rte_debug.h>\n #include <rte_log.h>\n #include <rte_dev.h>\n",
    "prefixes": [
        "v5",
        "06/17"
    ]
}