get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 56856,
    "url": "https://patches.dpdk.org/api/patches/56856/?format=api",
    "web_url": "https://patches.dpdk.org/project/dpdk/patch/20190722100322.9722-3-hemant.agrawal@nxp.com/",
    "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": "<20190722100322.9722-3-hemant.agrawal@nxp.com>",
    "list_archive_url": "https://inbox.dpdk.org/dev/20190722100322.9722-3-hemant.agrawal@nxp.com",
    "date": "2019-07-22T10:03:22",
    "name": "[v2,3/3] bus/fslmc: fix the compliation err with ppc64 compiler",
    "commit_ref": null,
    "pull_url": null,
    "state": "accepted",
    "archived": true,
    "hash": "ade7da8b79598e61bc6a675adbba4732c1519bbf",
    "submitter": {
        "id": 477,
        "url": "https://patches.dpdk.org/api/people/477/?format=api",
        "name": "Hemant Agrawal",
        "email": "hemant.agrawal@nxp.com"
    },
    "delegate": null,
    "mbox": "https://patches.dpdk.org/project/dpdk/patch/20190722100322.9722-3-hemant.agrawal@nxp.com/mbox/",
    "series": [
        {
            "id": 5640,
            "url": "https://patches.dpdk.org/api/series/5640/?format=api",
            "web_url": "https://patches.dpdk.org/project/dpdk/list/?series=5640",
            "date": "2019-07-22T10:03:20",
            "name": "[v2,1/3] bus/dpaa: fix to remove err print for non-dpaa devices",
            "version": 2,
            "mbox": "https://patches.dpdk.org/series/5640/mbox/"
        }
    ],
    "comments": "https://patches.dpdk.org/api/patches/56856/comments/",
    "check": "fail",
    "checks": "https://patches.dpdk.org/api/patches/56856/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 C194A1BECA;\n\tMon, 22 Jul 2019 12:04:52 +0200 (CEST)",
            "from inva021.nxp.com (inva021.nxp.com [92.121.34.21])\n\tby dpdk.org (Postfix) with ESMTP id B6CE01BEB4\n\tfor <dev@dpdk.org>; Mon, 22 Jul 2019 12:04:48 +0200 (CEST)",
            "from inva021.nxp.com (localhost [127.0.0.1])\n\tby inva021.eu-rdc02.nxp.com (Postfix) with ESMTP id 47338200099;\n\tMon, 22 Jul 2019 12:04:48 +0200 (CEST)",
            "from invc005.ap-rdc01.nxp.com (invc005.ap-rdc01.nxp.com\n\t[165.114.16.14])\n\tby inva021.eu-rdc02.nxp.com (Postfix) with ESMTP id 9FE0F2002C0;\n\tMon, 22 Jul 2019 12:04:46 +0200 (CEST)",
            "from bf-netperf1.ap.freescale.net (bf-netperf1.ap.freescale.net\n\t[10.232.133.63])\n\tby invc005.ap-rdc01.nxp.com (Postfix) with ESMTP id 237EA40302;\n\tMon, 22 Jul 2019 18:04:44 +0800 (SGT)"
        ],
        "From": "Hemant Agrawal <hemant.agrawal@nxp.com>",
        "To": "dev@dpdk.org,\n\tferruh.yigit@intel.com",
        "Date": "Mon, 22 Jul 2019 15:33:22 +0530",
        "Message-Id": "<20190722100322.9722-3-hemant.agrawal@nxp.com>",
        "X-Mailer": "git-send-email 2.17.1",
        "In-Reply-To": "<20190722100322.9722-1-hemant.agrawal@nxp.com>",
        "References": "<20190722065407.9180-1-hemant.agrawal@nxp.com>\n\t<20190722100322.9722-1-hemant.agrawal@nxp.com>",
        "MIME-Version": "1.0",
        "Content-Type": "text/plain; charset=UTF-8",
        "Content-Transfer-Encoding": "8bit",
        "X-Virus-Scanned": "ClamAV using ClamSMTP",
        "Subject": "[dpdk-dev] [PATCH v2 3/3] bus/fslmc: fix the compliation err with\n\tppc64 compiler",
        "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": "fslmc_vfio.c:387:36: note: format string is defined here\nDPAA2_BUS_DEBUG(\"VFIO dmamap 0x%llx:0x%llx, size 0x%llx\\n\",\n\nformat ‘%llx’ expects argument of type ‘long long unsigned int’\nargument 6 has type ‘__u64 {aka long unsigned int}’\n\nFixes: 2b5fa25708cf (\"mempool/dpaa2: map external memory with VFIO\")\n\nSigned-off-by: Hemant Agrawal <hemant.agrawal@nxp.com>\n---\n drivers/bus/fslmc/fslmc_vfio.c | 5 +++--\n 1 file changed, 3 insertions(+), 2 deletions(-)",
    "diff": "diff --git a/drivers/bus/fslmc/fslmc_vfio.c b/drivers/bus/fslmc/fslmc_vfio.c\nindex 247b2a4a1..9658fd84d 100644\n--- a/drivers/bus/fslmc/fslmc_vfio.c\n+++ b/drivers/bus/fslmc/fslmc_vfio.c\n@@ -384,8 +384,9 @@ rte_fslmc_vfio_mem_dmamap(uint64_t vaddr, uint64_t iova, uint64_t size)\n \tdma_map.vaddr = vaddr;\n \tdma_map.iova = iova;\n \n-\tDPAA2_BUS_DEBUG(\"VFIO dmamap 0x%llx:0x%llx, size 0x%llx\\n\",\n-\t\t\tdma_map.vaddr, dma_map.iova, dma_map.size);\n+\tDPAA2_BUS_DEBUG(\"VFIOdmamap 0x%\"PRIx64\":0x%\"PRIx64\",size 0x%\"PRIx64\"\\n\",\n+\t\t\t(uint64_t)dma_map.vaddr, (uint64_t)dma_map.iova,\n+\t\t\t(uint64_t)dma_map.size);\n \tret = ioctl(group->container->fd, VFIO_IOMMU_MAP_DMA,\n \t\t    &dma_map);\n \tif (ret) {\n",
    "prefixes": [
        "v2",
        "3/3"
    ]
}