get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 55430,
    "url": "https://patches.dpdk.org/api/patches/55430/?format=api",
    "web_url": "https://patches.dpdk.org/project/dpdk/patch/20190626230742.26195-1-stephen@networkplumber.org/",
    "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": "<20190626230742.26195-1-stephen@networkplumber.org>",
    "list_archive_url": "https://inbox.dpdk.org/dev/20190626230742.26195-1-stephen@networkplumber.org",
    "date": "2019-06-26T23:07:42",
    "name": "mempool/octeontx2: fix build with ICC",
    "commit_ref": null,
    "pull_url": null,
    "state": "accepted",
    "archived": true,
    "hash": "1cc161eb809782559f18520562189e6a464cf232",
    "submitter": {
        "id": 27,
        "url": "https://patches.dpdk.org/api/people/27/?format=api",
        "name": "Stephen Hemminger",
        "email": "stephen@networkplumber.org"
    },
    "delegate": {
        "id": 319,
        "url": "https://patches.dpdk.org/api/users/319/?format=api",
        "username": "fyigit",
        "first_name": "Ferruh",
        "last_name": "Yigit",
        "email": "ferruh.yigit@amd.com"
    },
    "mbox": "https://patches.dpdk.org/project/dpdk/patch/20190626230742.26195-1-stephen@networkplumber.org/mbox/",
    "series": [
        {
            "id": 5186,
            "url": "https://patches.dpdk.org/api/series/5186/?format=api",
            "web_url": "https://patches.dpdk.org/project/dpdk/list/?series=5186",
            "date": "2019-06-26T23:07:42",
            "name": "mempool/octeontx2: fix build with ICC",
            "version": 1,
            "mbox": "https://patches.dpdk.org/series/5186/mbox/"
        }
    ],
    "comments": "https://patches.dpdk.org/api/patches/55430/comments/",
    "check": "fail",
    "checks": "https://patches.dpdk.org/api/patches/55430/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 C6A172C2B;\n\tThu, 27 Jun 2019 01:07:53 +0200 (CEST)",
            "from mail-pl1-f194.google.com (mail-pl1-f194.google.com\n\t[209.85.214.194]) by dpdk.org (Postfix) with ESMTP id D71FC2BF7\n\tfor <dev@dpdk.org>; Thu, 27 Jun 2019 01:07:52 +0200 (CEST)",
            "by mail-pl1-f194.google.com with SMTP id b7so156801pls.6\n\tfor <dev@dpdk.org>; Wed, 26 Jun 2019 16:07:52 -0700 (PDT)",
            "from hermes.lan (204-195-22-127.wavecable.com. [204.195.22.127])\n\tby smtp.gmail.com with ESMTPSA id\n\tf197sm299801pfa.161.2019.06.26.16.07.51\n\t(version=TLS1_3 cipher=AEAD-AES256-GCM-SHA384 bits=256/256);\n\tWed, 26 Jun 2019 16:07:51 -0700 (PDT)"
        ],
        "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n\td=networkplumber-org.20150623.gappssmtp.com; s=20150623;\n\th=from:to:cc:subject:date:message-id:mime-version\n\t:content-transfer-encoding;\n\tbh=pX1z2AN1g0aZmXyWGMFJFGyzr8T0s/8BHup1yaMwJA0=;\n\tb=kErmtLFoUH/2z/BaD+evjMeNEpAncnIDIRskit4+deoo5+ZiecgaL8Vd8L1FWN1imA\n\tqh2K0ozOclGtifx/btTqx+JiaLkerSDTiAC8ucGiLwbkMPt1OoSDb/rDuZLTeHKr1cwy\n\t7A4SXA+w/ioYaebn/1Ru1KkWXHEyOwtyh7s/YtqGGiMgfYgI9241Oj4BDz83u5ZblkBh\n\tlzwSTnysBzf1mxw9Pyme93BkteBxEFTh8o6kWuhra29ORb8m7l8F4m4CygCU6JR+r8e8\n\tC/aCuYElP9c0qIwTi6osfBC7MFsJZlipa7A/miYWb5wJDrfzkX2Vrcy+Yt6gB+F89hKd\n\tlyGA==",
        "X-Google-DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n\td=1e100.net; s=20161025;\n\th=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version\n\t:content-transfer-encoding;\n\tbh=pX1z2AN1g0aZmXyWGMFJFGyzr8T0s/8BHup1yaMwJA0=;\n\tb=B9duJtEp9pGw5PtP/ahWZmzL3b8l34zpBVvhOW8rxoV7kWInICSypLrXecqac0Qqc7\n\t9+/pzw2BRmcU7FJpOo0LC3ixj9cyJU29wpT4rtwue196H9ug72QYZey896VNv1F2hP1a\n\tCx1B9vXLKns6mhzDyaezEJL2FlJMSh8BdUAbfUi2Wf2KPqG3uRE1Mwqa7XDDLb6mPdgt\n\t5YuYtbEeqGKt1AuEeJAeA1XJhEYbs/DvuGh9TmiznHOGYhVWW49KgxVCgmE+6w7gHRxg\n\t+mIqAoKJsaFZSTVm46XFNokV/Cz8n7pLyLMwZ7Jx+mpO/IYBVGcf6fKJN3dJyJCkhkvm\n\tBjZw==",
        "X-Gm-Message-State": "APjAAAUpJVfzU62FqGEhSyLLpu3NUknu3YJFWz2k900Byf+lzmCmfAc1\n\t+da+yy9wEBKgEiN1/gz9kOjgcw==",
        "X-Google-Smtp-Source": "APXvYqwe5p2wDIgcVINd3YKd4sAkYIRSqEBw3P8iOi5dXD5i0qce6OAxQUStSaNBRHrvOeq54B9Ngg==",
        "X-Received": "by 2002:a17:902:fa2:: with SMTP id\n\t31mr731443plz.38.1561590471869; \n\tWed, 26 Jun 2019 16:07:51 -0700 (PDT)",
        "From": "Stephen Hemminger <stephen@networkplumber.org>",
        "To": "jerinj@marvell.com",
        "Cc": "dev@dpdk.org,\n\tStephen Hemminger <stephen@networkplumber.org>",
        "Date": "Wed, 26 Jun 2019 16:07:42 -0700",
        "Message-Id": "<20190626230742.26195-1-stephen@networkplumber.org>",
        "X-Mailer": "git-send-email 2.20.1",
        "MIME-Version": "1.0",
        "Content-Transfer-Encoding": "8bit",
        "Subject": "[dpdk-dev] [PATCH] mempool/octeontx2: fix build with ICC",
        "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 Intel compiler is pickier about casts and generates:\notx2_mempool_ops.c(344): error #191: type qualifier is meaningless on cast type\n  \tint64_t * const addr = (int64_t * const)\n  \t                        ^\nThis is because of the nature of const.\nIn this example, the expression is being cast into a pointer\nthat can not be modified. This is meanlingless because the\nexpression is already a lvalue.\n\nSee https://en.wikipedia.org/wiki/Const_(computer_programming)\n\nFixes: d7a0da3c0043 (\"mempool/octeontx2: add fast path mempool ops\")\nSigned-off-by: Stephen Hemminger <stephen@networkplumber.org>\n---\n drivers/mempool/octeontx2/otx2_mempool_ops.c | 2 +-\n 1 file changed, 1 insertion(+), 1 deletion(-)",
    "diff": "diff --git a/drivers/mempool/octeontx2/otx2_mempool_ops.c b/drivers/mempool/octeontx2/otx2_mempool_ops.c\nindex 25170015a397..97146d1fe4e3 100644\n--- a/drivers/mempool/octeontx2/otx2_mempool_ops.c\n+++ b/drivers/mempool/octeontx2/otx2_mempool_ops.c\n@@ -341,7 +341,7 @@ otx2_npa_deq(struct rte_mempool *mp, void **obj_table, unsigned int n)\n \tunsigned int index;\n \tuint64_t obj;\n \n-\tint64_t * const addr = (int64_t * const)\n+\tint64_t * const addr = (int64_t *)\n \t\t\t(npa_lf_aura_handle_to_base(mp->pool_id) +\n \t\t\t\tNPA_LF_AURA_OP_ALLOCX(0));\n \tfor (index = 0; index < n; index++, obj_table++) {\n",
    "prefixes": []
}