get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 67642,
    "url": "http://patches.dpdk.org/api/patches/67642/?format=api",
    "web_url": "http://patches.dpdk.org/project/dpdk/patch/182dadd4c7c8acd07d186c37fbf0a35a3d5ab6b0.1585818128.git.anatoly.burakov@intel.com/",
    "project": {
        "id": 1,
        "url": "http://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": "<182dadd4c7c8acd07d186c37fbf0a35a3d5ab6b0.1585818128.git.anatoly.burakov@intel.com>",
    "list_archive_url": "https://inbox.dpdk.org/dev/182dadd4c7c8acd07d186c37fbf0a35a3d5ab6b0.1585818128.git.anatoly.burakov@intel.com",
    "date": "2020-04-02T09:02:15",
    "name": "[v2,2/2] test/malloc: add bad parameter tests for realloc",
    "commit_ref": null,
    "pull_url": null,
    "state": "accepted",
    "archived": true,
    "hash": "bcf366a214e9c4a1b2ef0f05ec7e3e72765e7bf5",
    "submitter": {
        "id": 4,
        "url": "http://patches.dpdk.org/api/people/4/?format=api",
        "name": "Anatoly Burakov",
        "email": "anatoly.burakov@intel.com"
    },
    "delegate": {
        "id": 24651,
        "url": "http://patches.dpdk.org/api/users/24651/?format=api",
        "username": "dmarchand",
        "first_name": "David",
        "last_name": "Marchand",
        "email": "david.marchand@redhat.com"
    },
    "mbox": "http://patches.dpdk.org/project/dpdk/patch/182dadd4c7c8acd07d186c37fbf0a35a3d5ab6b0.1585818128.git.anatoly.burakov@intel.com/mbox/",
    "series": [
        {
            "id": 9161,
            "url": "http://patches.dpdk.org/api/series/9161/?format=api",
            "web_url": "http://patches.dpdk.org/project/dpdk/list/?series=9161",
            "date": "2020-04-02T09:02:14",
            "name": "[v2,1/2] test/malloc: run realloc tests on external heap",
            "version": 2,
            "mbox": "http://patches.dpdk.org/series/9161/mbox/"
        }
    ],
    "comments": "http://patches.dpdk.org/api/patches/67642/comments/",
    "check": "success",
    "checks": "http://patches.dpdk.org/api/patches/67642/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 dpdk.org (dpdk.org [92.243.14.124])\n\tby inbox.dpdk.org (Postfix) with ESMTP id D398CA057B;\n\tThu,  2 Apr 2020 11:07:29 +0200 (CEST)",
            "from [92.243.14.124] (localhost [127.0.0.1])\n\tby dpdk.org (Postfix) with ESMTP id 75BAE1BEB1;\n\tThu,  2 Apr 2020 11:07:24 +0200 (CEST)",
            "from mga18.intel.com (mga18.intel.com [134.134.136.126])\n by dpdk.org (Postfix) with ESMTP id DA1901BEA8\n for <dev@dpdk.org>; Thu,  2 Apr 2020 11:07:22 +0200 (CEST)",
            "from fmsmga003.fm.intel.com ([10.253.24.29])\n by orsmga106.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384;\n 02 Apr 2020 02:07:19 -0700",
            "from silpixa00399498.ir.intel.com (HELO\n silpixa00399498.ger.corp.intel.com) ([10.237.222.52])\n by FMSMGA003.fm.intel.com with ESMTP; 02 Apr 2020 02:07:18 -0700"
        ],
        "IronPort-SDR": [
            "\n dId6siutaePk8en1GoffhEKrihMSgEusdW0Km0oZkTq5PHNrSFPMA6YD7/ubNcfXtshTxRGp0W\n mdyvE4wg33zg==",
            "\n 76vXt0/aVcSupJcv5HcAXrtjq4aqcOoJWq8R0vd9uyl2eAKQTZJ5TL18bLak/ut8XxJaJnuYN4\n uACPv/d7W3Mg=="
        ],
        "X-Amp-Result": "SKIPPED(no attachment in message)",
        "X-Amp-File-Uploaded": "False",
        "X-ExtLoop1": "1",
        "X-IronPort-AV": "E=Sophos;i=\"5.72,335,1580803200\"; d=\"scan'208\";a=\"295592500\"",
        "From": "Anatoly Burakov <anatoly.burakov@intel.com>",
        "To": "dev@dpdk.org",
        "Cc": "drc@linux.vnet.ibm.com",
        "Date": "Thu,  2 Apr 2020 10:02:15 +0100",
        "Message-Id": "\n <182dadd4c7c8acd07d186c37fbf0a35a3d5ab6b0.1585818128.git.anatoly.burakov@intel.com>",
        "X-Mailer": "git-send-email 2.17.1",
        "In-Reply-To": [
            "\n <793d4b3c1828fc5a6f4f0f2bfc5f93b7fd95556f.1585818128.git.anatoly.burakov@intel.com>",
            "\n <156a0627fb472087aad43d9279ab0f684a2367ce.1585746650.git.anatoly.burakov@intel.com>"
        ],
        "References": [
            "\n <793d4b3c1828fc5a6f4f0f2bfc5f93b7fd95556f.1585818128.git.anatoly.burakov@intel.com>",
            "\n <156a0627fb472087aad43d9279ab0f684a2367ce.1585746650.git.anatoly.burakov@intel.com>"
        ],
        "Subject": "[dpdk-dev] [PATCH v2 2/2] test/malloc: add bad parameter tests for\n\trealloc",
        "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 <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": "Realloc did not have bad parameter autotest. Add them.\n\nSigned-off-by: Anatoly Burakov <anatoly.burakov@intel.com>\nReviewed-by: David Christensen <drc@linux.vnet.ibm.com>\n---\n app/test/test_malloc.c | 10 ++++++++++\n 1 file changed, 10 insertions(+)",
    "diff": "diff --git a/app/test/test_malloc.c b/app/test/test_malloc.c\nindex eed0b20d5a..04608a97e5 100644\n--- a/app/test/test_malloc.c\n+++ b/app/test/test_malloc.c\n@@ -828,6 +828,11 @@ test_malloc_bad_params(void)\n \tif (bad_ptr != NULL)\n \t\tgoto err_return;\n \n+\t/* rte_realloc expected to return null with inappropriate size */\n+\tbad_ptr = rte_realloc(NULL, size, align);\n+\tif (bad_ptr != NULL)\n+\t\tgoto err_return;\n+\n \t/* rte_malloc expected to return null with inappropriate alignment */\n \talign = 17;\n \tsize = 1024;\n@@ -836,6 +841,11 @@ test_malloc_bad_params(void)\n \tif (bad_ptr != NULL)\n \t\tgoto err_return;\n \n+\t/* rte_realloc expected to return null with inappropriate alignment */\n+\tbad_ptr = rte_realloc(NULL, size, align);\n+\tif (bad_ptr != NULL)\n+\t\tgoto err_return;\n+\n \treturn 0;\n \n err_return:\n",
    "prefixes": [
        "v2",
        "2/2"
    ]
}