get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 94765,
    "url": "https://patches.dpdk.org/api/patches/94765/?format=api",
    "web_url": "https://patches.dpdk.org/project/dpdk/patch/20210623161246.49474-1-drc@linux.vnet.ibm.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": "<20210623161246.49474-1-drc@linux.vnet.ibm.com>",
    "list_archive_url": "https://inbox.dpdk.org/dev/20210623161246.49474-1-drc@linux.vnet.ibm.com",
    "date": "2021-06-23T16:12:46",
    "name": "eal/ppc: ignore gcc 10 stringop-overflow warnings",
    "commit_ref": null,
    "pull_url": null,
    "state": "superseded",
    "archived": true,
    "hash": "ab5759dd31abb023a64c038949d88f124a0079e9",
    "submitter": {
        "id": 1256,
        "url": "https://patches.dpdk.org/api/people/1256/?format=api",
        "name": "David Christensen",
        "email": "drc@linux.vnet.ibm.com"
    },
    "delegate": {
        "id": 24651,
        "url": "https://patches.dpdk.org/api/users/24651/?format=api",
        "username": "dmarchand",
        "first_name": "David",
        "last_name": "Marchand",
        "email": "david.marchand@redhat.com"
    },
    "mbox": "https://patches.dpdk.org/project/dpdk/patch/20210623161246.49474-1-drc@linux.vnet.ibm.com/mbox/",
    "series": [
        {
            "id": 17455,
            "url": "https://patches.dpdk.org/api/series/17455/?format=api",
            "web_url": "https://patches.dpdk.org/project/dpdk/list/?series=17455",
            "date": "2021-06-23T16:12:46",
            "name": "eal/ppc: ignore gcc 10 stringop-overflow warnings",
            "version": 1,
            "mbox": "https://patches.dpdk.org/series/17455/mbox/"
        }
    ],
    "comments": "https://patches.dpdk.org/api/patches/94765/comments/",
    "check": "success",
    "checks": "https://patches.dpdk.org/api/patches/94765/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 7204EA0C41;\n\tWed, 23 Jun 2021 18:12:54 +0200 (CEST)",
            "from [217.70.189.124] (localhost [127.0.0.1])\n\tby mails.dpdk.org (Postfix) with ESMTP id 04E684003F;\n\tWed, 23 Jun 2021 18:12:54 +0200 (CEST)",
            "from mx0a-001b2d01.pphosted.com (mx0a-001b2d01.pphosted.com\n [148.163.156.1]) by mails.dpdk.org (Postfix) with ESMTP id 438354003E\n for <dev@dpdk.org>; Wed, 23 Jun 2021 18:12:53 +0200 (CEST)",
            "from pps.filterd (m0098394.ppops.net [127.0.0.1])\n by mx0a-001b2d01.pphosted.com (8.16.0.43/8.16.0.43) with SMTP id\n 15NG4Kk3017664 for <dev@dpdk.org>; Wed, 23 Jun 2021 12:12:52 -0400",
            "from ppma01wdc.us.ibm.com (fd.55.37a9.ip4.static.sl-reverse.com\n [169.55.85.253])\n by mx0a-001b2d01.pphosted.com with ESMTP id 39c69p4ufa-1\n (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT)\n for <dev@dpdk.org>; Wed, 23 Jun 2021 12:12:52 -0400",
            "from pps.filterd (ppma01wdc.us.ibm.com [127.0.0.1])\n by ppma01wdc.us.ibm.com (8.16.1.2/8.16.1.2) with SMTP id 15NG854X019587\n for <dev@dpdk.org>; Wed, 23 Jun 2021 16:12:51 GMT",
            "from b03cxnp07028.gho.boulder.ibm.com\n (b03cxnp07028.gho.boulder.ibm.com [9.17.130.15])\n by ppma01wdc.us.ibm.com with ESMTP id 3998791qt3-1\n (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT)\n for <dev@dpdk.org>; Wed, 23 Jun 2021 16:12:51 +0000",
            "from b03ledav003.gho.boulder.ibm.com\n (b03ledav003.gho.boulder.ibm.com [9.17.130.234])\n by b03cxnp07028.gho.boulder.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id\n 15NGCorR13435194\n (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK);\n Wed, 23 Jun 2021 16:12:50 GMT",
            "from b03ledav003.gho.boulder.ibm.com (unknown [127.0.0.1])\n by IMSVA (Postfix) with ESMTP id 20DB96A047;\n Wed, 23 Jun 2021 16:12:50 +0000 (GMT)",
            "from b03ledav003.gho.boulder.ibm.com (unknown [127.0.0.1])\n by IMSVA (Postfix) with ESMTP id DC1066A04D;\n Wed, 23 Jun 2021 16:12:49 +0000 (GMT)",
            "from localhost.localdomain (unknown [9.114.224.51])\n by b03ledav003.gho.boulder.ibm.com (Postfix) with ESMTP;\n Wed, 23 Jun 2021 16:12:49 +0000 (GMT)"
        ],
        "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed; d=ibm.com;\n h=from : to : cc : subject\n : date : message-id : mime-version : content-transfer-encoding; s=pp1;\n bh=vinAkuA+cqx3x0ecBthkYUzCMOBsbNeqjHvGpzwPHMo=;\n b=eYbPgzQ4rDJHcOd748lyVUm5DP9PfZpX8+3PfZ3HxBskeGIrRSZ8rpsrrtnDhFbp5OSE\n U06c2KfXD44z+71oyBeWntlYumKdNJHiEM+eKHBuOgGE1erEXFctOlvrTi04mMzjR0M8\n FmWBU0p+k5fkYPiJljfn0nO9AAXlv7Ja9H5iXC6GQwbZiDw4oq8h1CufCOoRHj83qmDz\n HFBGSPtP2V8rBFv08UpDDtiP1BykwcoHLQXEC9YImIv9lyOxAjCatjbknDYrXGK5DSM6\n So2IrV7d/25OO79NidXP6dhIiCCiwyKk4lf2r7xeB52pI1hcyeFhxxqKsqUYM1SovYuG 7g==",
        "From": "David Christensen <drc@linux.vnet.ibm.com>",
        "To": "dev@dpdk.org",
        "Cc": "David Christensen <drc@linux.vnet.ibm.com>",
        "Date": "Wed, 23 Jun 2021 09:12:46 -0700",
        "Message-Id": "<20210623161246.49474-1-drc@linux.vnet.ibm.com>",
        "X-Mailer": "git-send-email 2.27.0",
        "MIME-Version": "1.0",
        "Content-Transfer-Encoding": "8bit",
        "X-TM-AS-GCONF": "00",
        "X-Proofpoint-GUID": "ljiqn_r6oVEBbpm6pAeMyHitz_YpB9Ew",
        "X-Proofpoint-ORIG-GUID": "ljiqn_r6oVEBbpm6pAeMyHitz_YpB9Ew",
        "X-Proofpoint-Virus-Version": "vendor=fsecure engine=2.50.10434:6.0.391, 18.0.790\n definitions=2021-06-23_12:2021-06-23,\n 2021-06-23 signatures=0",
        "X-Proofpoint-Spam-Details": "rule=outbound_notspam policy=outbound score=0\n clxscore=1015\n priorityscore=1501 adultscore=0 phishscore=0 lowpriorityscore=0\n mlxlogscore=999 impostorscore=0 mlxscore=0 bulkscore=0 suspectscore=0\n spamscore=0 malwarescore=0 classifier=spam adjust=0 reason=mlx scancount=1\n engine=8.12.0-2104190000 definitions=main-2106230093",
        "Subject": "[dpdk-dev] [PATCH] eal/ppc: ignore gcc 10 stringop-overflow warnings",
        "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": "Suppress gcc warning \"warning: writing 16 bytes into a region of\nsize 0\" for users of the POWER rte_memcpy() function.  Existing\nrte_memcpy() code takes different code paths based on the actual\nsize of the move so the warning is already addressed. See also\ncommit b5b3ea803e47 (\"eal/x86: ignore gcc 10 stringop-overflow warnings\")\n\nSigned-off-by: David Christensen <drc@linux.vnet.ibm.com>\n---\n lib/eal/ppc/include/rte_memcpy.h | 13 +++++++++++--\n 1 file changed, 11 insertions(+), 2 deletions(-)",
    "diff": "diff --git a/lib/eal/ppc/include/rte_memcpy.h b/lib/eal/ppc/include/rte_memcpy.h\nindex c2a1f356d5..a84893cf8e 100644\n--- a/lib/eal/ppc/include/rte_memcpy.h\n+++ b/lib/eal/ppc/include/rte_memcpy.h\n@@ -18,11 +18,16 @@ extern \"C\" {\n \n #include \"generic/rte_memcpy.h\"\n \n-#if (GCC_VERSION >= 90000 && GCC_VERSION < 90400)\n+#if defined(RTE_TOOLCHAIN_GCC) && (GCC_VERSION >= 90000)\n #pragma GCC diagnostic push\n #pragma GCC diagnostic ignored \"-Warray-bounds\"\n #endif\n \n+#if defined(RTE_TOOLCHAIN_GCC) && (GCC_VERSION >= 100000)\n+#pragma GCC diagnostic push\n+#pragma GCC diagnostic ignored \"-Wstringop-overflow\"\n+#endif\n+\n static inline void\n rte_mov16(uint8_t *dst, const uint8_t *src)\n {\n@@ -198,7 +203,11 @@ rte_memcpy_func(void *dst, const void *src, size_t n)\n \treturn ret;\n }\n \n-#if (GCC_VERSION >= 90000 && GCC_VERSION < 90400)\n+#if defined(RTE_TOOLCHAIN_GCC) && (GCC_VERSION >= 100000)\n+#pragma GCC diagnostic pop\n+#endif\n+\n+#if defined(RTE_TOOLCHAIN_GCC) && (GCC_VERSION >= 90000)\n #pragma GCC diagnostic pop\n #endif\n \n",
    "prefixes": []
}