get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 137748,
    "url": "http://patchwork.dpdk.org/api/patches/137748/?format=api",
    "web_url": "http://patchwork.dpdk.org/project/dpdk/patch/20240301171707.95242-59-stephen@networkplumber.org/",
    "project": {
        "id": 1,
        "url": "http://patchwork.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": "<20240301171707.95242-59-stephen@networkplumber.org>",
    "list_archive_url": "https://inbox.dpdk.org/dev/20240301171707.95242-59-stephen@networkplumber.org",
    "date": "2024-03-01T17:15:54",
    "name": "[v2,58/71] net/cpfl: replace use of fixed size rte_memcpy",
    "commit_ref": null,
    "pull_url": null,
    "state": "superseded",
    "archived": false,
    "hash": "b03e0b2c6d1a2de5c99df9165da7653b1154cc6b",
    "submitter": {
        "id": 27,
        "url": "http://patchwork.dpdk.org/api/people/27/?format=api",
        "name": "Stephen Hemminger",
        "email": "stephen@networkplumber.org"
    },
    "delegate": {
        "id": 1,
        "url": "http://patchwork.dpdk.org/api/users/1/?format=api",
        "username": "tmonjalo",
        "first_name": "Thomas",
        "last_name": "Monjalon",
        "email": "thomas@monjalon.net"
    },
    "mbox": "http://patchwork.dpdk.org/project/dpdk/patch/20240301171707.95242-59-stephen@networkplumber.org/mbox/",
    "series": [
        {
            "id": 31340,
            "url": "http://patchwork.dpdk.org/api/series/31340/?format=api",
            "web_url": "http://patchwork.dpdk.org/project/dpdk/list/?series=31340",
            "date": "2024-03-01T17:14:57",
            "name": "replace use of fixed size rte_mempcy",
            "version": 2,
            "mbox": "http://patchwork.dpdk.org/series/31340/mbox/"
        }
    ],
    "comments": "http://patchwork.dpdk.org/api/patches/137748/comments/",
    "check": "success",
    "checks": "http://patchwork.dpdk.org/api/patches/137748/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 9059443C12;\n\tFri,  1 Mar 2024 18:24:06 +0100 (CET)",
            "from mails.dpdk.org (localhost [127.0.0.1])\n\tby mails.dpdk.org (Postfix) with ESMTP id 2E646434DB;\n\tFri,  1 Mar 2024 18:18:34 +0100 (CET)",
            "from mail-pl1-f179.google.com (mail-pl1-f179.google.com\n [209.85.214.179])\n by mails.dpdk.org (Postfix) with ESMTP id 9125A4345F\n for <dev@dpdk.org>; Fri,  1 Mar 2024 18:18:03 +0100 (CET)",
            "by mail-pl1-f179.google.com with SMTP id\n d9443c01a7336-1dcafff3c50so19854395ad.0\n for <dev@dpdk.org>; Fri, 01 Mar 2024 09:18:03 -0800 (PST)",
            "from hermes.local (204-195-123-141.wavecable.com. [204.195.123.141])\n by smtp.gmail.com with ESMTPSA id\n j14-20020a170902da8e00b001dc8d6a9d40sm3695764plx.144.2024.03.01.09.18.02\n (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);\n Fri, 01 Mar 2024 09:18:02 -0800 (PST)"
        ],
        "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n d=networkplumber-org.20230601.gappssmtp.com; s=20230601; t=1709313483;\n x=1709918283; darn=dpdk.org;\n h=content-transfer-encoding:mime-version:references:in-reply-to\n :message-id:date:subject:cc:to:from:from:to:cc:subject:date\n :message-id:reply-to;\n bh=5nmo9BK1Og/gZ6s0zOgoE7yxSApmEIe1cya3yqZhKEg=;\n b=fSqPyec4CONQ6KlWxsKNBqbhoyQg0bqoiNujRlP+HRGNpUvjgby3pM28+81czzteYX\n hHmqpUOY6WhleSGUBifnUHUMTN9qvB++fjMmfmSz3NQDB/AmUvswywmQjvFZu43idTWB\n cc6imzlF2Vck4BL1yYK2uuqomx3BtLums/mXYRQyd/JGX5OFaBHJ1IxkbgUCnGlUxQ+P\n 0N4JmABr31dsQM9iNeBU5EdsDTcbdOTp5sy6x0+qkyEfkNcqZAUv/pzdRuphg+8zKslG\n evcxSHIpbHb/I+gusoEgU3UN/nFCkC98ilst3l840KdcAzyZTecUJEbikz1r52VsK6zw\n +Jwg==",
        "X-Google-DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n d=1e100.net; s=20230601; t=1709313483; x=1709918283;\n h=content-transfer-encoding:mime-version:references:in-reply-to\n :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc\n :subject:date:message-id:reply-to;\n bh=5nmo9BK1Og/gZ6s0zOgoE7yxSApmEIe1cya3yqZhKEg=;\n b=HhiTk14exYGvdfuhRs5pidKYe70BGhRv4DFjTWN+VPJGkWsusrnE5tU09/ulWq6cZb\n wD3YoXI3l2H7AWNW/H9sl88wegqKd65tC8ixofHSSJiuuzCOWr6fGD5DFhuuHisL+D9O\n +R1Z2bhqBAQVBpDbUgGyva/P/9Dx8woYOhoL2Kst6ihaGGokvUNRRvW/33bQWLYvSapg\n 6ZhMSj6pLUCN9dCqaZ3jAcbm2vyaEjICr1ngB2OHYw5LoLJlx6vC8gfG+HVSxy7Rs+Y7\n ksD9G3pa20cGE87WQyFDnYzrmpqxJM/HJtfUNzJlz7NhCJ5gWXOr7ExB92VZZReuUyMY\n RdSA==",
        "X-Gm-Message-State": "AOJu0YwK8dzvUIqHOdV9mXc+8kgu9yD3Ky3kNQYtrFXYz/7VAvh7Fdwl\n iAPliUTHPSioCLGwJ8yolrZuNIkKLCRkQTY5PmCEhWqP4PwF1KPnM2Qnu8NSY63sGzhsEp+BJ3u\n uZXFZlQ==",
        "X-Google-Smtp-Source": "\n AGHT+IFvB0IQRwoSllztg9lPWgVkXsECfY9h3rf/Djz/uSYo1ftzGWu5GcyBMQP/UVEKRK/liTB1Sw==",
        "X-Received": "by 2002:a17:902:cec1:b0:1dc:3517:1486 with SMTP id\n d1-20020a170902cec100b001dc35171486mr2584911plg.49.1709313482859;\n Fri, 01 Mar 2024 09:18:02 -0800 (PST)",
        "From": "Stephen Hemminger <stephen@networkplumber.org>",
        "To": "dev@dpdk.org",
        "Cc": "Stephen Hemminger <stephen@networkplumber.org>,\n Yuying Zhang <yuying.zhang@intel.com>",
        "Subject": "[PATCH v2 58/71] net/cpfl: replace use of fixed size rte_memcpy",
        "Date": "Fri,  1 Mar 2024 09:15:54 -0800",
        "Message-ID": "<20240301171707.95242-59-stephen@networkplumber.org>",
        "X-Mailer": "git-send-email 2.43.0",
        "In-Reply-To": "<20240301171707.95242-1-stephen@networkplumber.org>",
        "References": "<20240229225936.483472-1-stephen@networkplumber.org>\n <20240301171707.95242-1-stephen@networkplumber.org>",
        "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": "Automatically generated by devtools/cocci/rte_memcpy.cocci\n\nSigned-off-by: Stephen Hemminger <stephen@networkplumber.org>\n---\n drivers/net/cpfl/cpfl_ethdev.c | 3 ++-\n drivers/net/cpfl/cpfl_vchnl.c  | 4 ++--\n 2 files changed, 4 insertions(+), 3 deletions(-)",
    "diff": "diff --git a/drivers/net/cpfl/cpfl_ethdev.c b/drivers/net/cpfl/cpfl_ethdev.c\nindex ef19aa1b6a96..1037aec68d2d 100644\n--- a/drivers/net/cpfl/cpfl_ethdev.c\n+++ b/drivers/net/cpfl/cpfl_ethdev.c\n@@ -2292,7 +2292,8 @@ cpfl_adapter_ext_init(struct rte_pci_device *pci_dev, struct cpfl_adapter_ext *a\n \n \tstrncpy(adapter->name, pci_dev->device.name, PCI_PRI_STR_SIZE);\n \n-\trte_memcpy(&base->caps, &req_caps, sizeof(struct virtchnl2_get_capabilities));\n+\tmemcpy(&base->caps, &req_caps,\n+\t       sizeof(struct virtchnl2_get_capabilities));\n \n \tret = idpf_adapter_init(base);\n \tif (ret != 0) {\ndiff --git a/drivers/net/cpfl/cpfl_vchnl.c b/drivers/net/cpfl/cpfl_vchnl.c\nindex 7d277a0e8e83..e914014d8a9b 100644\n--- a/drivers/net/cpfl/cpfl_vchnl.c\n+++ b/drivers/net/cpfl/cpfl_vchnl.c\n@@ -32,7 +32,7 @@ cpfl_cc_vport_list_get(struct cpfl_adapter_ext *adapter,\n \t\treturn err;\n \t}\n \n-\trte_memcpy(response, args.out_buffer, IDPF_DFLT_MBX_BUF_SIZE);\n+\tmemcpy(response, args.out_buffer, IDPF_DFLT_MBX_BUF_SIZE);\n \n \treturn 0;\n }\n@@ -66,7 +66,7 @@ cpfl_cc_vport_info_get(struct cpfl_adapter_ext *adapter,\n \t\treturn err;\n \t}\n \n-\trte_memcpy(response, args.out_buffer, sizeof(*response));\n+\tmemcpy(response, args.out_buffer, sizeof(*response));\n \n \treturn 0;\n }\n",
    "prefixes": [
        "v2",
        "58/71"
    ]
}