get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 16954,
    "url": "http://patches.dpdk.org/api/patches/16954/?format=api",
    "web_url": "http://patches.dpdk.org/project/dpdk/patch/1478360532-13516-1-git-send-email-thomas.monjalon@6wind.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": "<1478360532-13516-1-git-send-email-thomas.monjalon@6wind.com>",
    "list_archive_url": "https://inbox.dpdk.org/dev/1478360532-13516-1-git-send-email-thomas.monjalon@6wind.com",
    "date": "2016-11-05T15:42:12",
    "name": "[dpdk-dev] scripts: ignore const struct checks",
    "commit_ref": null,
    "pull_url": null,
    "state": "accepted",
    "archived": true,
    "hash": "afdbfd58e4d4b4c9f25e2159f7adfd60094fbe9e",
    "submitter": {
        "id": 1,
        "url": "http://patches.dpdk.org/api/people/1/?format=api",
        "name": "Thomas Monjalon",
        "email": "thomas.monjalon@6wind.com"
    },
    "delegate": null,
    "mbox": "http://patches.dpdk.org/project/dpdk/patch/1478360532-13516-1-git-send-email-thomas.monjalon@6wind.com/mbox/",
    "series": [],
    "comments": "http://patches.dpdk.org/api/patches/16954/comments/",
    "check": "warning",
    "checks": "http://patches.dpdk.org/api/patches/16954/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 C87DB2BA0;\n\tSat,  5 Nov 2016 16:42:20 +0100 (CET)",
            "from mail-wm0-f47.google.com (mail-wm0-f47.google.com\n\t[74.125.82.47]) by dpdk.org (Postfix) with ESMTP id 3004A1DB1\n\tfor <dev@dpdk.org>; Sat,  5 Nov 2016 16:42:19 +0100 (CET)",
            "by mail-wm0-f47.google.com with SMTP id f82so42875431wmf.1\n\tfor <dev@dpdk.org>; Sat, 05 Nov 2016 08:42:19 -0700 (PDT)",
            "from XPS13.localdomain (184.203.134.77.rev.sfr.net.\n\t[77.134.203.184]) by smtp.gmail.com with ESMTPSA id\n\tl6sm20361504wjc.7.2016.11.05.08.42.17 for <dev@dpdk.org>\n\t(version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128);\n\tSat, 05 Nov 2016 08:42:18 -0700 (PDT)"
        ],
        "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n\td=6wind-com.20150623.gappssmtp.com; s=20150623;\n\th=from:to:subject:date:message-id;\n\tbh=9Zu3bHhv+el9s4NQsigFX//2Hag8cagMUedBOoxcwxc=;\n\tb=WtxK4KD7EjvBFLR5GbtA8ZxhC4r76xbpttcoZPd5RGIw0Hyd9rlKZWw/Yx3mLLiNFI\n\tU4IjDeUWv6VPI0t7mfv3Yu5kpTp04WFWdYLauPwDJGkE7uSy7B4dFjZM7UiB0S3dZwJh\n\tCkpz6zF06NGLEnEyejhU+ztRLdhwXfRJmrH9ySJKIK9+jnFQGYSO36CielrDIb86AwVt\n\texQJ72k1fAU0vyi8G4TsNFDt9oRPpctBgv2Sg8389Vq9UDiBZpBEPg3PdEEaJ21uSzRf\n\tBQkQQicQ5f1Sbq9CgxPu/QNTx8xPC37b39PaIymXUxdK9KwwuTeYNyoKnoGlHHBzLgHR\n\teFeA==",
        "X-Google-DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n\td=1e100.net; s=20130820;\n\th=x-gm-message-state:from:to:subject:date:message-id;\n\tbh=9Zu3bHhv+el9s4NQsigFX//2Hag8cagMUedBOoxcwxc=;\n\tb=KULHD45by+W2D2e1WUSf1Patox/N3wCkBzqHf7dBU4uGstxJb9TGowcx+pGQ24vU8P\n\tIXiCYwJD+Xfc0xkqhh+hgd/BXLdB+QTrc7e5PU9nlKRNZUbJd5HLlAP9MBHpl6PnRE3s\n\ttHJL3xKzHU4tcLTwRIoQCjTMHkbR1lLxBvfAJ4tEMu6E6CgSlZ7E3h9K3K+AGpzV+TBM\n\tiFZIteU9R4YkgjdHlko7obiMhPhdoPGMQHWC0uY47eergfJdmAC3Rvw1Xkv1oaHwRwbb\n\twocDevyHvFEOltNAolSd8k1ZHxQ4UEHMGoBuyAAfR1OkWsEaO2Cu4ILTu4cNULJdosle\n\ta48w==",
        "X-Gm-Message-State": "ABUngvc1UpCfGLfj2z2uwbRdNnGq+6qo1tvIkzfDNNYmTvL4sPh1oOML9eGupjPXHhTy9+S7",
        "X-Received": "by 10.194.3.47 with SMTP id 15mr15558618wjz.17.1478360538664;\n\tSat, 05 Nov 2016 08:42:18 -0700 (PDT)",
        "From": "Thomas Monjalon <thomas.monjalon@6wind.com>",
        "To": "dev@dpdk.org",
        "Date": "Sat,  5 Nov 2016 16:42:12 +0100",
        "Message-Id": "<1478360532-13516-1-git-send-email-thomas.monjalon@6wind.com>",
        "X-Mailer": "git-send-email 2.7.0",
        "Subject": "[dpdk-dev] [PATCH] scripts: ignore const struct checks",
        "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": "checkpatch raise some false positives when run outside of the kernel tree.\n\nThe script checkpatch.pl from the kernel checks a list\nof structs known to be const.\nIt is obviously not relevant as DPDK has not such list.\n\nSigned-off-by: Thomas Monjalon <thomas.monjalon@6wind.com>\n---\n scripts/checkpatches.sh | 3 ++-\n 1 file changed, 2 insertions(+), 1 deletion(-)",
    "diff": "diff --git a/scripts/checkpatches.sh b/scripts/checkpatches.sh\nindex 2f67d24..336cc7b 100755\n--- a/scripts/checkpatches.sh\n+++ b/scripts/checkpatches.sh\n@@ -42,7 +42,8 @@ options=\"--no-tree\"\n options=\"$options --max-line-length=$length\"\n options=\"$options --show-types\"\n options=\"$options --ignore=LINUX_VERSION_CODE,FILE_PATH_CHANGES,\\\n-VOLATILE,PREFER_PACKED,PREFER_ALIGNED,PREFER_PRINTF,PREFER_KERNEL_TYPES,BIT_MACRO,\\\n+VOLATILE,PREFER_PACKED,PREFER_ALIGNED,PREFER_PRINTF,\\\n+PREFER_KERNEL_TYPES,BIT_MACRO,CONST_STRUCT,\\\n SPLIT_STRING,LINE_SPACING,PARENTHESIS_ALIGNMENT,NETWORKING_BLOCK_COMMENT_STYLE,\\\n NEW_TYPEDEFS,COMPARISON_TO_NULL\"\n \n",
    "prefixes": [
        "dpdk-dev"
    ]
}