get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 67578,
    "url": "http://patches.dpdk.org/api/patches/67578/?format=api",
    "web_url": "http://patches.dpdk.org/project/dpdk/patch/4e6d9f131c31f1b9d7fcac58c245225350e87a8b.1585746650.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": "<4e6d9f131c31f1b9d7fcac58c245225350e87a8b.1585746650.git.anatoly.burakov@intel.com>",
    "list_archive_url": "https://inbox.dpdk.org/dev/4e6d9f131c31f1b9d7fcac58c245225350e87a8b.1585746650.git.anatoly.burakov@intel.com",
    "date": "2020-04-01T13:11:01",
    "name": "[2/2] test/malloc: add bad parameter tests for realloc",
    "commit_ref": null,
    "pull_url": null,
    "state": "superseded",
    "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/4e6d9f131c31f1b9d7fcac58c245225350e87a8b.1585746650.git.anatoly.burakov@intel.com/mbox/",
    "series": [
        {
            "id": 9150,
            "url": "http://patches.dpdk.org/api/series/9150/?format=api",
            "web_url": "http://patches.dpdk.org/project/dpdk/list/?series=9150",
            "date": "2020-04-01T13:11:00",
            "name": "[1/2] test/malloc: run realloc tests on external heap",
            "version": 1,
            "mbox": "http://patches.dpdk.org/series/9150/mbox/"
        }
    ],
    "comments": "http://patches.dpdk.org/api/patches/67578/comments/",
    "check": "success",
    "checks": "http://patches.dpdk.org/api/patches/67578/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 0A1CDA057B;\n\tWed,  1 Apr 2020 15:16:15 +0200 (CEST)",
            "from [92.243.14.124] (localhost [127.0.0.1])\n\tby dpdk.org (Postfix) with ESMTP id C4D841BEA3;\n\tWed,  1 Apr 2020 15:16:08 +0200 (CEST)",
            "from mga01.intel.com (mga01.intel.com [192.55.52.88])\n by dpdk.org (Postfix) with ESMTP id 5C0FCF12\n for <dev@dpdk.org>; Wed,  1 Apr 2020 15:16:07 +0200 (CEST)",
            "from fmsmga007.fm.intel.com ([10.253.24.52])\n by fmsmga101.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384;\n 01 Apr 2020 06:16:05 -0700",
            "from silpixa00399498.ir.intel.com (HELO\n silpixa00399498.ger.corp.intel.com) ([10.237.222.52])\n by fmsmga007.fm.intel.com with ESMTP; 01 Apr 2020 06:16:04 -0700"
        ],
        "IronPort-SDR": [
            "\n 1dyqNgLostWacUclDQVNY/nPOZBw6qxB1SDpNcQZ5m211SUAmEAD8Or+C9kwJRHxhIULOv6nUZ\n fDvPna09LPTQ==",
            "\n GazVwRE9M+HJG7Swih/eOh2U5B154HfhYR4rN50mjYaz1SogducdJgv+1mc1AM+Sx4oWWlI7Yk\n M9sBLajjIEdA=="
        ],
        "X-Amp-Result": "SKIPPED(no attachment in message)",
        "X-Amp-File-Uploaded": "False",
        "X-ExtLoop1": "1",
        "X-IronPort-AV": "E=Sophos;i=\"5.72,331,1580803200\"; d=\"scan'208\";a=\"240508887\"",
        "From": "Anatoly Burakov <anatoly.burakov@intel.com>",
        "To": "dev@dpdk.org",
        "Cc": "drc@linux.vnet.ibm.com",
        "Date": "Wed,  1 Apr 2020 14:11:01 +0100",
        "Message-Id": "\n <4e6d9f131c31f1b9d7fcac58c245225350e87a8b.1585746650.git.anatoly.burakov@intel.com>",
        "X-Mailer": "git-send-email 2.17.1",
        "In-Reply-To": [
            "\n <156a0627fb472087aad43d9279ab0f684a2367ce.1585746650.git.anatoly.burakov@intel.com>",
            "\n <156a0627fb472087aad43d9279ab0f684a2367ce.1585746650.git.anatoly.burakov@intel.com>"
        ],
        "References": [
            "\n <156a0627fb472087aad43d9279ab0f684a2367ce.1585746650.git.anatoly.burakov@intel.com>",
            "\n <156a0627fb472087aad43d9279ab0f684a2367ce.1585746650.git.anatoly.burakov@intel.com>"
        ],
        "Subject": "[dpdk-dev] [PATCH 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>\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 3a45a00406..788595ead7 100644\n--- a/app/test/test_malloc.c\n+++ b/app/test/test_malloc.c\n@@ -826,6 +826,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@@ -834,6 +839,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": [
        "2/2"
    ]
}