get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 29202,
    "url": "http://patches.dpdk.org/api/patches/29202/?format=api",
    "web_url": "http://patches.dpdk.org/project/dpdk/patch/20170926185329.2776-5-aconole@redhat.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": "<20170926185329.2776-5-aconole@redhat.com>",
    "list_archive_url": "https://inbox.dpdk.org/dev/20170926185329.2776-5-aconole@redhat.com",
    "date": "2017-09-26T18:53:29",
    "name": "[dpdk-dev,RFC,4/4] enic: remove anscillary assignment",
    "commit_ref": null,
    "pull_url": null,
    "state": "accepted",
    "archived": true,
    "hash": "9c61b248ffc18e04824d671e3225aa828719204d",
    "submitter": {
        "id": 332,
        "url": "http://patches.dpdk.org/api/people/332/?format=api",
        "name": "Aaron Conole",
        "email": "aconole@redhat.com"
    },
    "delegate": {
        "id": 319,
        "url": "http://patches.dpdk.org/api/users/319/?format=api",
        "username": "fyigit",
        "first_name": "Ferruh",
        "last_name": "Yigit",
        "email": "ferruh.yigit@amd.com"
    },
    "mbox": "http://patches.dpdk.org/project/dpdk/patch/20170926185329.2776-5-aconole@redhat.com/mbox/",
    "series": [],
    "comments": "http://patches.dpdk.org/api/patches/29202/comments/",
    "check": "success",
    "checks": "http://patches.dpdk.org/api/patches/29202/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 E0DC11B1C3;\n\tTue, 26 Sep 2017 20:53:56 +0200 (CEST)",
            "from mx1.redhat.com (mx1.redhat.com [209.132.183.28])\n\tby dpdk.org (Postfix) with ESMTP id 629451B1BD\n\tfor <dev@dpdk.org>; Tue, 26 Sep 2017 20:53:51 +0200 (CEST)",
            "from smtp.corp.redhat.com\n\t(int-mx06.intmail.prod.int.phx2.redhat.com [10.5.11.16])\n\t(using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits))\n\t(No client certificate requested)\n\tby mx1.redhat.com (Postfix) with ESMTPS id B442E81E00\n\tfor <dev@dpdk.org>; Tue, 26 Sep 2017 18:53:50 +0000 (UTC)",
            "from dhcp-25-97.bos.redhat.com (ovpn-122-85.rdu2.redhat.com\n\t[10.10.122.85])\n\tby smtp.corp.redhat.com (Postfix) with ESMTP id E7C9E69705\n\tfor <dev@dpdk.org>; Tue, 26 Sep 2017 18:53:48 +0000 (UTC)"
        ],
        "DMARC-Filter": "OpenDMARC Filter v1.3.2 mx1.redhat.com B442E81E00",
        "Authentication-Results": [
            "ext-mx01.extmail.prod.ext.phx2.redhat.com;\n\tdmarc=none (p=none dis=none) header.from=redhat.com",
            "ext-mx01.extmail.prod.ext.phx2.redhat.com;\n\tspf=fail smtp.mailfrom=aconole@redhat.com"
        ],
        "From": "Aaron Conole <aconole@redhat.com>",
        "To": "dev@dpdk.org",
        "Date": "Tue, 26 Sep 2017 14:53:29 -0400",
        "Message-Id": "<20170926185329.2776-5-aconole@redhat.com>",
        "In-Reply-To": "<20170926185329.2776-1-aconole@redhat.com>",
        "References": "<20170926185329.2776-1-aconole@redhat.com>",
        "X-Scanned-By": "MIMEDefang 2.79 on 10.5.11.16",
        "X-Greylist": "Sender IP whitelisted, not delayed by milter-greylist-4.5.16\n\t(mx1.redhat.com [10.5.110.25]); Tue, 26 Sep 2017 18:53:50 +0000 (UTC)",
        "Subject": "[dpdk-dev] [RFC 4/4] enic: remove anscillary assignment",
        "X-BeenThere": "dev@dpdk.org",
        "X-Mailman-Version": "2.1.15",
        "Precedence": "list",
        "List-Id": "DPDK patches and discussions <dev.dpdk.org>",
        "List-Unsubscribe": "<http://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": "<http://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": "The assignment at initialization is overwritten immediately.  Drop the\nassignment.\n\nSigned-off-by: Aaron Conole <aconole@redhat.com>\n---\n drivers/net/enic/base/vnic_dev.c | 2 +-\n 1 file changed, 1 insertion(+), 1 deletion(-)",
    "diff": "diff --git a/drivers/net/enic/base/vnic_dev.c b/drivers/net/enic/base/vnic_dev.c\nindex a4b7f4b..932667f 100644\n--- a/drivers/net/enic/base/vnic_dev.c\n+++ b/drivers/net/enic/base/vnic_dev.c\n@@ -272,7 +272,7 @@ int vnic_dev_alloc_desc_ring(struct vnic_dev *vdev,\n \t__attribute__((unused)) unsigned int socket_id,\n \tchar *z_name)\n {\n-\tvoid *alloc_addr = NULL;\n+\tvoid *alloc_addr;\n \tdma_addr_t alloc_pa = 0;\n \n \tvnic_dev_desc_ring_size(ring, desc_count, desc_size);\n",
    "prefixes": [
        "dpdk-dev",
        "RFC",
        "4/4"
    ]
}