get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 3486,
    "url": "https://patches.dpdk.org/api/patches/3486/?format=api",
    "web_url": "https://patches.dpdk.org/project/dpdk/patch/581bc65f3701e08b035e4d08fbd2831e03c030d8.1424344715.git.pmatilai@redhat.com/",
    "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": "<581bc65f3701e08b035e4d08fbd2831e03c030d8.1424344715.git.pmatilai@redhat.com>",
    "list_archive_url": "https://inbox.dpdk.org/dev/581bc65f3701e08b035e4d08fbd2831e03c030d8.1424344715.git.pmatilai@redhat.com",
    "date": "2015-02-19T11:21:10",
    "name": "[dpdk-dev,v2] i40e: fix build with gcc 5",
    "commit_ref": null,
    "pull_url": null,
    "state": "accepted",
    "archived": true,
    "hash": "5c53163c9ca334f41382c8173119eea6607ed268",
    "submitter": {
        "id": 169,
        "url": "https://patches.dpdk.org/api/people/169/?format=api",
        "name": "Panu Matilainen",
        "email": "pmatilai@redhat.com"
    },
    "delegate": null,
    "mbox": "https://patches.dpdk.org/project/dpdk/patch/581bc65f3701e08b035e4d08fbd2831e03c030d8.1424344715.git.pmatilai@redhat.com/mbox/",
    "series": [],
    "comments": "https://patches.dpdk.org/api/patches/3486/comments/",
    "check": "pending",
    "checks": "https://patches.dpdk.org/api/patches/3486/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 [IPv6:::1])\n\tby dpdk.org (Postfix) with ESMTP id 525E0B57A;\n\tThu, 19 Feb 2015 12:21:17 +0100 (CET)",
            "from mx1.redhat.com (mx1.redhat.com [209.132.183.28])\n\tby dpdk.org (Postfix) with ESMTP id D0B05B50F\n\tfor <dev@dpdk.org>; Thu, 19 Feb 2015 12:21:14 +0100 (CET)",
            "from int-mx11.intmail.prod.int.phx2.redhat.com\n\t(int-mx11.intmail.prod.int.phx2.redhat.com [10.5.11.24])\n\tby mx1.redhat.com (8.14.4/8.14.4) with ESMTP id t1JBLDRr022615\n\t(version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256\n\tverify=FAIL) for <dev@dpdk.org>; Thu, 19 Feb 2015 06:21:13 -0500",
            "from localhost.localdomain.com (vpn1-6-118.ams2.redhat.com\n\t[10.36.6.118])\n\tby int-mx11.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with\n\tESMTP id\n\tt1JBLCqr010495 for <dev@dpdk.org>; Thu, 19 Feb 2015 06:21:13 -0500"
        ],
        "From": "Panu Matilainen <pmatilai@redhat.com>",
        "To": "dev@dpdk.org",
        "Date": "Thu, 19 Feb 2015 13:21:10 +0200",
        "Message-Id": "<581bc65f3701e08b035e4d08fbd2831e03c030d8.1424344715.git.pmatilai@redhat.com>",
        "In-Reply-To": "<442c1d71592455d2f3c8df4cc944cc48c1092fc6.1424341431.git.pmatilai@redhat.com>",
        "References": "<442c1d71592455d2f3c8df4cc944cc48c1092fc6.1424341431.git.pmatilai@redhat.com>",
        "X-Scanned-By": "MIMEDefang 2.68 on 10.5.11.24",
        "Subject": "[dpdk-dev] [PATCH v2] i40e: fix build with gcc 5",
        "X-BeenThere": "dev@dpdk.org",
        "X-Mailman-Version": "2.1.15",
        "Precedence": "list",
        "List-Id": "patches and discussions about DPDK <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": "Eliminate ambiguity in the condition which trips up a \"logical not\nis only applied to the left...\" warning from gcc 5, causing build\nfailure with -Werror. Besides non-ambiguous, the condition is\nfar more obvious this way.\n\nSigned-off-by: Panu Matilainen <pmatilai@redhat.com>\n---\n lib/librte_pmd_i40e/i40e_rxtx.c | 2 +-\n 1 file changed, 1 insertion(+), 1 deletion(-)",
    "diff": "diff --git a/lib/librte_pmd_i40e/i40e_rxtx.c b/lib/librte_pmd_i40e/i40e_rxtx.c\nindex c9f1026..12c0831 100644\n--- a/lib/librte_pmd_i40e/i40e_rxtx.c\n+++ b/lib/librte_pmd_i40e/i40e_rxtx.c\n@@ -613,7 +613,7 @@ check_rx_burst_bulk_alloc_preconditions(__rte_unused struct i40e_rx_queue *rxq)\n \t\t\t     \"rxq->nb_rx_desc=%d\",\n \t\t\t     rxq->rx_free_thresh, rxq->nb_rx_desc);\n \t\tret = -EINVAL;\n-\t} else if (!(rxq->nb_rx_desc % rxq->rx_free_thresh) == 0) {\n+\t} else if (rxq->nb_rx_desc % rxq->rx_free_thresh != 0) {\n \t\tPMD_INIT_LOG(DEBUG, \"Rx Burst Bulk Alloc Preconditions: \"\n \t\t\t     \"rxq->nb_rx_desc=%d, \"\n \t\t\t     \"rxq->rx_free_thresh=%d\",\n",
    "prefixes": [
        "dpdk-dev",
        "v2"
    ]
}