get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 41314,
    "url": "http://patches.dpdk.org/api/patches/41314/?format=api",
    "web_url": "http://patches.dpdk.org/project/dpdk/patch/20180620140930.31002-1-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": "<20180620140930.31002-1-thomas@monjalon.net>",
    "list_archive_url": "https://inbox.dpdk.org/dev/20180620140930.31002-1-thomas@monjalon.net",
    "date": "2018-06-20T14:09:30",
    "name": "bus/dpaa: fix build",
    "commit_ref": null,
    "pull_url": null,
    "state": "accepted",
    "archived": true,
    "hash": "895fb007c98dbccad8e6ef33a852305db87198c3",
    "submitter": {
        "id": 685,
        "url": "http://patches.dpdk.org/api/people/685/?format=api",
        "name": "Thomas Monjalon",
        "email": "thomas@monjalon.net"
    },
    "delegate": {
        "id": 319,
        "url": "http://patches.dpdk.org/api/users/319/?format=api",
        "username": "fyigit",
        "first_name": "Ferruh",
        "last_name": "Yigit",
        "email": "ferruh.yigit@amd.com"
    },
    "mbox": "http://patches.dpdk.org/project/dpdk/patch/20180620140930.31002-1-thomas@monjalon.net/mbox/",
    "series": [
        {
            "id": 182,
            "url": "http://patches.dpdk.org/api/series/182/?format=api",
            "web_url": "http://patches.dpdk.org/project/dpdk/list/?series=182",
            "date": "2018-06-20T14:09:30",
            "name": "bus/dpaa: fix build",
            "version": 1,
            "mbox": "http://patches.dpdk.org/series/182/mbox/"
        }
    ],
    "comments": "http://patches.dpdk.org/api/patches/41314/comments/",
    "check": "success",
    "checks": "http://patches.dpdk.org/api/patches/41314/checks/",
    "tags": {},
    "related": [],
    "headers": {
        "Return-Path": "<dev-bounces@dpdk.org>",
        "X-Original-To": "patchwork@dpdk.org",
        "Delivered-To": "patchwork@dpdk.org",
        "Received": [
            "from [92.243.14.124] (localhost [127.0.0.1])\n\tby dpdk.org (Postfix) with ESMTP id ACE621B446;\n\tWed, 20 Jun 2018 16:09:37 +0200 (CEST)",
            "from out2-smtp.messagingengine.com (out2-smtp.messagingengine.com\n\t[66.111.4.26]) by dpdk.org (Postfix) with ESMTP id ED6AA1B533;\n\tWed, 20 Jun 2018 16:09:35 +0200 (CEST)",
            "from compute1.internal (compute1.nyi.internal [10.202.2.41])\n\tby mailout.nyi.internal (Postfix) with ESMTP id DFA8421A99;\n\tWed, 20 Jun 2018 10:09:34 -0400 (EDT)",
            "from mailfrontend1 ([10.202.2.162])\n\tby compute1.internal (MEProxy); Wed, 20 Jun 2018 10:09:34 -0400",
            "from xps.monjalon.net (184.203.134.77.rev.sfr.net [77.134.203.184])\n\tby mail.messagingengine.com (Postfix) with ESMTPA id D9D0AE4AB9;\n\tWed, 20 Jun 2018 10:09:33 -0400 (EDT)"
        ],
        "DKIM-Signature": [
            "v=1; a=rsa-sha256; c=relaxed/relaxed; d=monjalon.net; h=\n\tcc:date:from:message-id:subject:to:x-me-sender:x-me-sender\n\t:x-sasl-enc; s=mesmtp; bh=XhqhA6tcrHM+EHX32FTaosjew+rWWINfQZ/kFQ\n\t+2wF4=; b=rG0/EDh75CK6P97+QkLpvFSShtoEy6nW2b4R9eRvC4xnNmgjghTNCG\n\tt5N4MUfda4Tq0yg9U9HTQYAqL88Ys0HdD2R5OhpnXzAxrAtMb8eY2AKv8MIuaTEx\n\tqIF6sx8GE3FZCbilbMSmfM7DlFIzUmw66XiMuT11iWdbJrUms4QxY=",
            "v=1; a=rsa-sha256; c=relaxed/relaxed; d=\n\tmessagingengine.com; h=cc:date:from:message-id:subject:to\n\t:x-me-sender:x-me-sender:x-sasl-enc; s=fm3; bh=XhqhA6tcrHM+EHX32\n\tFTaosjew+rWWINfQZ/kFQ+2wF4=; b=GyrnonXalZfUoCnl8dL3t0zEi9Uatdi/Z\n\tCJjycZhy/HizfLbM0yUdvmzJSGZkJII5iUcNfjoNwVkMMiXVQwy3gRO3cgFRWECY\n\t0dSTPeI1cHn4/BLCI4LJpFtCshbq4P+iEukLxt1jVs2IjgyvBTDtPFj1xTmhuCK0\n\ttq2SpyiCmYlh72HeTSOAotIsyrFmJb/XQddXLoZJbnu+dxaS0oWY39KAcrVu/AxP\n\tp0ceWWw+GMlC+NdAFSUMCNql7cBdK2yDsd1qsz/8lmpJH4iz4DsgmIqAy3OugE7k\n\toIwC5v6VjtkULpaeDNpruykA7OAdJ87ntt5/k+VUjab0sS4AMGxnQ=="
        ],
        "X-ME-Proxy": "<xmx:HmAqW3a3XHY36yfoqnUFA0YfRy88GYGNjJV8cMqcDznhZXCVG6xEqw>\n\t<xmx:HmAqW6VoQPWMGllm4N6KuyVzQtpk9Qba6WDLXM3BSlKHolqWoiY9eg>\n\t<xmx:HmAqWycMSiG9_47kHdbqHkoPMkJwVyzlfpA0bmoycaEVc62gHtsK4w>\n\t<xmx:HmAqW3NHQivSe3iF_gyCpieg3LRZNI9AnqT4PImvtcmvH4sG9Qip3g>\n\t<xmx:HmAqW6IQNl6zchOYXPgRWzdyXjCj-6hWscX_bR2iiHpozCwZI_l20g>\n\t<xmx:HmAqW8hMYA5JKrTzBTeTELjE9wRt-hk3pbfH2iFHpsVc1M8GMda19w>",
        "X-ME-Sender": "<xms:HmAqWzCsPTOJsQGB4nnewcMwvBi0SC6LZAfgmUPLMwZoAyHIikMB0g>",
        "From": "Thomas Monjalon <thomas@monjalon.net>",
        "To": "dev@dpdk.org",
        "Cc": "stable@dpdk.org, geoff.thorpe@nxp.com, hemant.agrawal@nxp.com,\n\tshreyansh.jain@nxp.com",
        "Date": "Wed, 20 Jun 2018 16:09:30 +0200",
        "Message-Id": "<20180620140930.31002-1-thomas@monjalon.net>",
        "X-Mailer": "git-send-email 2.17.1",
        "Subject": "[dpdk-dev] [PATCH] bus/dpaa: fix build",
        "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\t<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\t<mailto:dev-request@dpdk.org?subject=subscribe>",
        "Errors-To": "dev-bounces@dpdk.org",
        "Sender": "\"dev\" <dev-bounces@dpdk.org>"
    },
    "content": "The DPAA bus driver is defining some macros without prefix.\nSo it can conflict with other libraries like libbsd:\n\n\tdrivers/bus/dpaa/include/compat.h:53:\n\t\terror: \"__packed\" redefined\n\t/usr/include/bsd/sys/cdefs.h:120:\n\t\tnote: this is the location of the previous definition\n\nFixes: 39f373cf015a (\"bus/dpaa: add compatibility and helper macros\")\nCc: stable@dpdk.org\nCc: geoff.thorpe@nxp.com\nCc: hemant.agrawal@nxp.com\nCc: shreyansh.jain@nxp.com\n\nSigned-off-by: Thomas Monjalon <thomas@monjalon.net>\n---\n drivers/bus/dpaa/include/compat.h | 6 ++++++\n 1 file changed, 6 insertions(+)",
    "diff": "diff --git a/drivers/bus/dpaa/include/compat.h b/drivers/bus/dpaa/include/compat.h\nindex e4b570214..92241d231 100644\n--- a/drivers/bus/dpaa/include/compat.h\n+++ b/drivers/bus/dpaa/include/compat.h\n@@ -48,9 +48,15 @@\n  */\n \n /* Required compiler attributes */\n+#ifndef __maybe_unused\n #define __maybe_unused\t__rte_unused\n+#endif\n+#ifndef __always_unused\n #define __always_unused\t__rte_unused\n+#endif\n+#ifndef __packed\n #define __packed\t__rte_packed\n+#endif\n #define noinline\t__attribute__((noinline))\n \n #define L1_CACHE_BYTES 64\n",
    "prefixes": []
}