get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 52513,
    "url": "http://patches.dpdk.org/api/patches/52513/?format=api",
    "web_url": "http://patches.dpdk.org/project/dpdk/patch/20190409194904.6822-3-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": "<20190409194904.6822-3-thomas@monjalon.net>",
    "list_archive_url": "https://inbox.dpdk.org/dev/20190409194904.6822-3-thomas@monjalon.net",
    "date": "2019-04-09T19:49:04",
    "name": "[2/2] net/enetc: fix big endian build",
    "commit_ref": null,
    "pull_url": null,
    "state": "superseded",
    "archived": true,
    "hash": "cecbc67d323b60e8962a5140dab9bdf4b8dae833",
    "submitter": {
        "id": 685,
        "url": "http://patches.dpdk.org/api/people/685/?format=api",
        "name": "Thomas Monjalon",
        "email": "thomas@monjalon.net"
    },
    "delegate": null,
    "mbox": "http://patches.dpdk.org/project/dpdk/patch/20190409194904.6822-3-thomas@monjalon.net/mbox/",
    "series": [
        {
            "id": 4215,
            "url": "http://patches.dpdk.org/api/series/4215/?format=api",
            "web_url": "http://patches.dpdk.org/project/dpdk/list/?series=4215",
            "date": "2019-04-09T19:49:02",
            "name": "fix big endian build",
            "version": 1,
            "mbox": "http://patches.dpdk.org/series/4215/mbox/"
        }
    ],
    "comments": "http://patches.dpdk.org/api/patches/52513/comments/",
    "check": "warning",
    "checks": "http://patches.dpdk.org/api/patches/52513/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 C51665B16;\n\tTue,  9 Apr 2019 21:49:24 +0200 (CEST)",
            "from out2-smtp.messagingengine.com (out2-smtp.messagingengine.com\n\t[66.111.4.26]) by dpdk.org (Postfix) with ESMTP id 2A9945911;\n\tTue,  9 Apr 2019 21:49:20 +0200 (CEST)",
            "from compute1.internal (compute1.nyi.internal [10.202.2.41])\n\tby mailout.nyi.internal (Postfix) with ESMTP id 99AE626452;\n\tTue,  9 Apr 2019 15:49:19 -0400 (EDT)",
            "from mailfrontend1 ([10.202.2.162])\n\tby compute1.internal (MEProxy); Tue, 09 Apr 2019 15:49:19 -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 139BBE4210;\n\tTue,  9 Apr 2019 15:49:17 -0400 (EDT)"
        ],
        "DKIM-Signature": [
            "v=1; a=rsa-sha256; c=relaxed/relaxed; d=monjalon.net; h=\n\tfrom:to:cc:subject:date:message-id:in-reply-to:references\n\t:mime-version:content-type:content-transfer-encoding; s=mesmtp;\n\tbh=ZACQXtOnUP9VvQoCCMbHk4VGGr/7mZkUh2U+kVnyq1k=; b=l6v8yxHNvIwG\n\t4Knhc/8h41qAFTYSUW68paW/pC+S+y3h54REauahfbbWrJX8ZdA/+GXUEc3WYGkL\n\tp7q3LdWK2RVGNe+n2d5MugI9dqqlbBLXe9u13WRJkUGfgvqLnImpHFGpBgk/da6Q\n\tusOKEcQUWbioFdBBEz7gTFGEcRgW5qU=",
            "v=1; a=rsa-sha256; c=relaxed/relaxed; d=\n\tmessagingengine.com; h=cc:content-transfer-encoding:content-type\n\t:date:from:in-reply-to:message-id:mime-version:references\n\t:subject:to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender\n\t:x-sasl-enc; s=fm2; bh=ZACQXtOnUP9VvQoCCMbHk4VGGr/7mZkUh2U+kVnyq\n\t1k=; b=ejaHmmdUeDJdyNZgQUPuNJfkuukIPX0hibEloGP3jKINEAeclA4hR8ISe\n\tpez3/mXFxG3mULExJ7XvEZ6Bb/Gz792iyOmDF0lMDQNPmb3ARVjsO28vguUBYuNV\n\tDQU8PcPbpQr1lpgraVZ0vBTX6TT80Ps7Y9+4nAOqzd8460qXuq09HeWWZT8n96Rv\n\tDq9Tn1F9Pd80Rdnow7mg7BXPh68xRZHyPueUkWz3/ViVn1OqxcAcBFvVMeCYRz0l\n\tbvXCudwKOny+kNyGDxyMYZa0cOjKCRJQxchXoIpziw4rtQoCat5dl/fz6aGp5wyf\n\tPs3mNNWr6Wv2dbsZ1CGdwY4t0iSjw=="
        ],
        "X-ME-Sender": "<xms:P_esXBrZT6a4PGHsIctpjeJ2wWJoKVM2C1iCv1x2-eybXhq1TSBdTw>",
        "X-ME-Proxy-Cause": "gggruggvucftvghtrhhoucdtuddrgeduuddrudehgddugeduucetufdoteggodetrfdotf\n\tfvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen\n\tuceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne\n\tcujfgurhephffvufffkffojghfgggtgfesthekredtredtjeenucfhrhhomhepvfhhohhm\n\trghsucfoohhnjhgrlhhonhcuoehthhhomhgrshesmhhonhhjrghlohhnrdhnvghtqeenuc\n\tfkphepjeejrddufeegrddvtdefrddukeegnecurfgrrhgrmhepmhgrihhlfhhrohhmpeht\n\thhhomhgrshesmhhonhhjrghlohhnrdhnvghtnecuvehluhhsthgvrhfuihiivgeptd",
        "X-ME-Proxy": "<xmx:P_esXK0R4P95QO6k118gU2NHTbQF6yYif2TMs133owuNhRYF4wl4TA>\n\t<xmx:P_esXCnrIzxWIWwJXoGMAZTCuTMa_AFFNZM_v2tygRF-2bjm2hYvUw>\n\t<xmx:P_esXFlg4FJOIeWl1vGa97snGfDQYRySP89JEGtJwYOyk3Fa4tzSYg>\n\t<xmx:P_esXG43c9a_xpXfEiglWBwmPmNsnyFXRQAGx1rjnZLJB535TBrEvA>",
        "From": "Thomas Monjalon <thomas@monjalon.net>",
        "To": "qiming.yang@intel.com, wenzhuo.lu@intel.com, ajit.khaparde@broadcom.com, \n\tsomnath.kotur@broadcom.com, Gagandeep Singh <g.singh@nxp.com>,\n\tPankaj Chauhan <pankaj.chauhan@nxp.com>",
        "Cc": "ferruh.yigit@intel.com,\n\tdev@dpdk.org,\n\tstable@dpdk.org",
        "Date": "Tue,  9 Apr 2019 21:49:04 +0200",
        "Message-Id": "<20190409194904.6822-3-thomas@monjalon.net>",
        "X-Mailer": "git-send-email 2.21.0",
        "In-Reply-To": "<20190409194904.6822-1-thomas@monjalon.net>",
        "References": "<20190409194904.6822-1-thomas@monjalon.net>",
        "MIME-Version": "1.0",
        "Content-Type": "text/plain; charset=UTF-8",
        "Content-Transfer-Encoding": "8bit",
        "Subject": "[dpdk-dev] [PATCH 2/2] net/enetc: fix big endian 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": "Compilation was failing when using a big endian toolchain:\n\ndrivers/net/enetc/enetc_rxtx.c:92:21: error:\n\tpassing argument 1 of ‘rte_constant_bswap64’\n\tmakes integer from pointer without a cast\n\nFixes: 469c6111a799 (\"net/enetc: enable Rx and Tx\")\nCc: g.singh@nxp.com\nCc: stable@dpdk.org\n\nSigned-off-by: Thomas Monjalon <thomas@monjalon.net>\n---\n drivers/net/enetc/enetc_rxtx.c | 5 +++--\n 1 file changed, 3 insertions(+), 2 deletions(-)",
    "diff": "diff --git a/drivers/net/enetc/enetc_rxtx.c b/drivers/net/enetc/enetc_rxtx.c\nindex 631e2430d..2a7362add 100644\n--- a/drivers/net/enetc/enetc_rxtx.c\n+++ b/drivers/net/enetc/enetc_rxtx.c\n@@ -88,8 +88,9 @@ enetc_refill_rx_ring(struct enetc_bdr *rx_ring, const int buff_cnt)\n \trx_swbd = &rx_ring->q_swbd[i];\n \trxbd = ENETC_RXBD(*rx_ring, i);\n \tfor (j = 0; j < buff_cnt; j++) {\n-\t\trx_swbd->buffer_addr =\n-\t\t\trte_cpu_to_le_64(rte_mbuf_raw_alloc(rx_ring->mb_pool));\n+\t\trx_swbd->buffer_addr = (void*)(uintptr_t)\n+\t\t\trte_cpu_to_le_64((uint64_t)(uintptr_t)\n+\t\t\t                 rte_mbuf_raw_alloc(rx_ring->mb_pool));\n \t\trxbd->w.addr = (uint64_t)(uintptr_t)\n \t\t\t       rx_swbd->buffer_addr->buf_addr +\n \t\t\t       rx_swbd->buffer_addr->data_off;\n",
    "prefixes": [
        "2/2"
    ]
}