get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 39884,
    "url": "https://patches.dpdk.org/api/patches/39884/?format=api",
    "web_url": "https://patches.dpdk.org/project/dpdk/patch/152608970950.121204.17464655040375474076.stgit@localhost.localdomain/",
    "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": "<152608970950.121204.17464655040375474076.stgit@localhost.localdomain>",
    "list_archive_url": "https://inbox.dpdk.org/dev/152608970950.121204.17464655040375474076.stgit@localhost.localdomain",
    "date": "2018-05-12T01:48:29",
    "name": "[dpdk-dev,v5,09/16] net/qede: strncpy length constant and NUL",
    "commit_ref": null,
    "pull_url": null,
    "state": "superseded",
    "archived": true,
    "hash": "2e00f24ea9c9d174dce3b4e36fc79bfb94c8e2ca",
    "submitter": {
        "id": 1029,
        "url": "https://patches.dpdk.org/api/people/1029/?format=api",
        "name": "Andy Green",
        "email": "andy@warmcat.com"
    },
    "delegate": {
        "id": 1,
        "url": "https://patches.dpdk.org/api/users/1/?format=api",
        "username": "tmonjalo",
        "first_name": "Thomas",
        "last_name": "Monjalon",
        "email": "thomas@monjalon.net"
    },
    "mbox": "https://patches.dpdk.org/project/dpdk/patch/152608970950.121204.17464655040375474076.stgit@localhost.localdomain/mbox/",
    "series": [],
    "comments": "https://patches.dpdk.org/api/patches/39884/comments/",
    "check": "success",
    "checks": "https://patches.dpdk.org/api/patches/39884/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 D04F11CC3D;\n\tSat, 12 May 2018 03:48:34 +0200 (CEST)",
            "from mail.warmcat.com (mail.warmcat.com [163.172.24.82])\n\tby dpdk.org (Postfix) with ESMTP id 5E5F71CC3A\n\tfor <dev@dpdk.org>; Sat, 12 May 2018 03:48:33 +0200 (CEST)"
        ],
        "From": "Andy Green <andy@warmcat.com>",
        "To": "dev@dpdk.org",
        "Date": "Sat, 12 May 2018 09:48:29 +0800",
        "Message-ID": "<152608970950.121204.17464655040375474076.stgit@localhost.localdomain>",
        "In-Reply-To": "<152608956198.121204.14844325841690943774.stgit@localhost.localdomain>",
        "References": "<152608956198.121204.14844325841690943774.stgit@localhost.localdomain>",
        "User-Agent": "StGit/unknown-version",
        "Content-Type": "text/plain; charset=\"utf-8\"",
        "Content-Transfer-Encoding": "7bit",
        "Subject": "[dpdk-dev] [PATCH v5 09/16] net/qede: strncpy length constant and\n\tNUL",
        "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://dpdk.org/ml/options/dev>,\n\t<mailto:dev-request@dpdk.org?subject=unsubscribe>",
        "List-Archive": "<http://dpdk.org/ml/archives/dev/>",
        "List-Post": "<mailto:dev@dpdk.org>",
        "List-Help": "<mailto:dev-request@dpdk.org?subject=help>",
        "List-Subscribe": "<https://dpdk.org/ml/listinfo/dev>,\n\t<mailto:dev-request@dpdk.org?subject=subscribe>",
        "Errors-To": "dev-bounces@dpdk.org",
        "Sender": "\"dev\" <dev-bounces@dpdk.org>"
    },
    "content": "Signed-off-by: Andy Green <andy@warmcat.com>\nFixes: 8427c6647964 (\"net/qede/base: add attention formatting string\")\nCc: stable@dpdk.org\n---\n drivers/net/qede/base/ecore_int.c |    8 +++++---\n 1 file changed, 5 insertions(+), 3 deletions(-)",
    "diff": "diff --git a/drivers/net/qede/base/ecore_int.c b/drivers/net/qede/base/ecore_int.c\nindex f43781ba4..d9e22b5ed 100644\n--- a/drivers/net/qede/base/ecore_int.c\n+++ b/drivers/net/qede/base/ecore_int.c\n@@ -6,6 +6,8 @@\n  * See LICENSE.qede_pmd for copyright and licensing details.\n  */\n \n+#include <rte_string_fns.h>\n+\n #include \"bcm_osal.h\"\n #include \"ecore.h\"\n #include \"ecore_spq.h\"\n@@ -1104,9 +1106,9 @@ static enum _ecore_status_t ecore_int_deassertion(struct ecore_hwfn *p_hwfn,\n \t\t\t\t\t\t\t      p_aeu->bit_name,\n \t\t\t\t\t\t\t      num);\n \t\t\t\t\telse\n-\t\t\t\t\t\tOSAL_STRNCPY(bit_name,\n-\t\t\t\t\t\t\t     p_aeu->bit_name,\n-\t\t\t\t\t\t\t     30);\n+\t\t\t\t\t\tstrlcpy(bit_name,\n+\t\t\t\t\t\t\tp_aeu->bit_name,\n+\t\t\t\t\t\t\tsizeof(bit_name));\n \n \t\t\t\t\t/* We now need to pass bitmask in its\n \t\t\t\t\t * correct position.\n",
    "prefixes": [
        "dpdk-dev",
        "v5",
        "09/16"
    ]
}