get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 111430,
    "url": "https://patches.dpdk.org/api/patches/111430/?format=api",
    "web_url": "https://patches.dpdk.org/project/dpdk/patch/20220519160711.159618-1-roy.fan.zhang@intel.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": "<20220519160711.159618-1-roy.fan.zhang@intel.com>",
    "list_archive_url": "https://inbox.dpdk.org/dev/20220519160711.159618-1-roy.fan.zhang@intel.com",
    "date": "2022-05-19T16:07:11",
    "name": "vhost/crypto: fix failed compile",
    "commit_ref": null,
    "pull_url": null,
    "state": "rejected",
    "archived": true,
    "hash": "6424a83bf1e289925f9dae1b1bff1c212623febc",
    "submitter": {
        "id": 304,
        "url": "https://patches.dpdk.org/api/people/304/?format=api",
        "name": "Fan Zhang",
        "email": "roy.fan.zhang@intel.com"
    },
    "delegate": {
        "id": 2642,
        "url": "https://patches.dpdk.org/api/users/2642/?format=api",
        "username": "mcoquelin",
        "first_name": "Maxime",
        "last_name": "Coquelin",
        "email": "maxime.coquelin@redhat.com"
    },
    "mbox": "https://patches.dpdk.org/project/dpdk/patch/20220519160711.159618-1-roy.fan.zhang@intel.com/mbox/",
    "series": [
        {
            "id": 23041,
            "url": "https://patches.dpdk.org/api/series/23041/?format=api",
            "web_url": "https://patches.dpdk.org/project/dpdk/list/?series=23041",
            "date": "2022-05-19T16:07:11",
            "name": "vhost/crypto: fix failed compile",
            "version": 1,
            "mbox": "https://patches.dpdk.org/series/23041/mbox/"
        }
    ],
    "comments": "https://patches.dpdk.org/api/patches/111430/comments/",
    "check": "success",
    "checks": "https://patches.dpdk.org/api/patches/111430/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 6BA11A0503;\n\tThu, 19 May 2022 18:09:05 +0200 (CEST)",
            "from [217.70.189.124] (localhost [127.0.0.1])\n\tby mails.dpdk.org (Postfix) with ESMTP id 491BB40222;\n\tThu, 19 May 2022 18:09:05 +0200 (CEST)",
            "from mga07.intel.com (mga07.intel.com [134.134.136.100])\n by mails.dpdk.org (Postfix) with ESMTP id C60F140156\n for <dev@dpdk.org>; Thu, 19 May 2022 18:09:03 +0200 (CEST)",
            "from fmsmga003.fm.intel.com ([10.253.24.29])\n by orsmga105.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384;\n 19 May 2022 09:07:14 -0700",
            "from silpixa00400885.ir.intel.com ([10.243.22.166])\n by FMSMGA003.fm.intel.com with ESMTP; 19 May 2022 09:07:13 -0700"
        ],
        "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/simple;\n d=intel.com; i=@intel.com; q=dns/txt; s=Intel;\n t=1652976544; x=1684512544;\n h=from:to:cc:subject:date:message-id:mime-version:\n content-transfer-encoding;\n bh=DRWeXZiU3BmZtxYwFbnIYj1cseVBCileP0OnG/P/JQM=;\n b=lN70/iKZwMIFy0iJBOQgGy7O+vMK0K2ks5bT4ACpRuvU9zVKV7oL9ZOG\n vGqDtw/rQmzeSjw2SCi0V8qyJXTO2hn4epG4XrgPy5veYPp80oAT0H+Z3\n lxpwA35sKVjPgZNOB8GeO/fvhItXm92Wr4ijcxlI0RwKR1sXreXGH9AlK\n OJH7Ag5bd2bZ7iyyiGnX8G3hxMixrQt8jN6Igj3oisv0XVPkSrz4V7ngX\n LnDoNGQL/6oKVZ8QYLg/q8DEMiIbM23wwG2z3a5F8dZKvPjyMmx76SugG\n P1NbD3AkkkX/BIv2JDoJjankDuFYhu5smU/uln47Vnoq+PWJFxSRfpJDT A==;",
        "X-IronPort-AV": [
            "E=McAfee;i=\"6400,9594,10352\"; a=\"335310434\"",
            "E=Sophos;i=\"5.91,237,1647327600\"; d=\"scan'208\";a=\"335310434\"",
            "E=Sophos;i=\"5.91,237,1647327600\"; d=\"scan'208\";a=\"661766796\""
        ],
        "X-ExtLoop1": "1",
        "From": "Fan Zhang <roy.fan.zhang@intel.com>",
        "To": "dev@dpdk.org",
        "Cc": "daxuex.gao@intel.com, maxime.coquelin@redhat.com,\n Fan Zhang <roy.fan.zhang@intel.com>",
        "Subject": "[PATCH] vhost/crypto: fix failed compile",
        "Date": "Thu, 19 May 2022 16:07:11 +0000",
        "Message-Id": "<20220519160711.159618-1-roy.fan.zhang@intel.com>",
        "X-Mailer": "git-send-email 2.34.1",
        "MIME-Version": "1.0",
        "Content-Transfer-Encoding": "8bit",
        "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"
    },
    "content": "Fixes: 3c79609fda7c (\"vhost/crypto: handle virtually non-contiguous buffers\")\nCc: roy.fan.zhang@intel.com\n\nThis patch fixes the vhost crypto compile file on GCC12.\nRef. https://bugs.dpdk.org/show_bug.cgi?id=1011\n\nThe fix involves replacing rte_memcpy to memcpy.\n\nSigned-off-by: Fan Zhang <roy.fan.zhang@intel.com>\n---\n lib/vhost/vhost_crypto.c | 2 +-\n 1 file changed, 1 insertion(+), 1 deletion(-)",
    "diff": "diff --git a/lib/vhost/vhost_crypto.c b/lib/vhost/vhost_crypto.c\nindex b1c0eb6a0f..278f990280 100644\n--- a/lib/vhost/vhost_crypto.c\n+++ b/lib/vhost/vhost_crypto.c\n@@ -585,7 +585,7 @@ copy_data(void *dst_data, struct vhost_crypto_data_req *vc_req,\n \tif (unlikely(!src || !dlen))\n \t\treturn -1;\n \n-\trte_memcpy((uint8_t *)data, src, dlen);\n+\tmemcpy((uint8_t *)data, src, dlen);\n \tdata += dlen;\n \n \tif (unlikely(dlen < to_copy)) {\n",
    "prefixes": []
}