get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 814812,
    "url": "http://patchwork.ozlabs.org/api/1.2/patches/814812/?format=api",
    "web_url": "http://patchwork.ozlabs.org/project/linux-i2c/patch/20170918081539.26512-1-colin.king@canonical.com/",
    "project": {
        "id": 35,
        "url": "http://patchwork.ozlabs.org/api/1.2/projects/35/?format=api",
        "name": "Linux I2C development",
        "link_name": "linux-i2c",
        "list_id": "linux-i2c.vger.kernel.org",
        "list_email": "linux-i2c@vger.kernel.org",
        "web_url": "",
        "scm_url": "",
        "webscm_url": "",
        "list_archive_url": "",
        "list_archive_url_format": "",
        "commit_url_format": ""
    },
    "msgid": "<20170918081539.26512-1-colin.king@canonical.com>",
    "list_archive_url": null,
    "date": "2017-09-18T08:15:39",
    "name": "[V2] i2c: i2c-stm32f7: make structure stm32f7_setup static const",
    "commit_ref": null,
    "pull_url": null,
    "state": "accepted",
    "archived": false,
    "hash": "af879b89c0af7d90b4e3f0396ca9bb0351ab5aaf",
    "submitter": {
        "id": 2900,
        "url": "http://patchwork.ozlabs.org/api/1.2/people/2900/?format=api",
        "name": "Colin Ian King",
        "email": "colin.king@canonical.com"
    },
    "delegate": null,
    "mbox": "http://patchwork.ozlabs.org/project/linux-i2c/patch/20170918081539.26512-1-colin.king@canonical.com/mbox/",
    "series": [
        {
            "id": 3581,
            "url": "http://patchwork.ozlabs.org/api/1.2/series/3581/?format=api",
            "web_url": "http://patchwork.ozlabs.org/project/linux-i2c/list/?series=3581",
            "date": "2017-09-18T08:15:39",
            "name": "[V2] i2c: i2c-stm32f7: make structure stm32f7_setup static const",
            "version": 2,
            "mbox": "http://patchwork.ozlabs.org/series/3581/mbox/"
        }
    ],
    "comments": "http://patchwork.ozlabs.org/api/patches/814812/comments/",
    "check": "pending",
    "checks": "http://patchwork.ozlabs.org/api/patches/814812/checks/",
    "tags": {},
    "related": [],
    "headers": {
        "Return-Path": "<linux-i2c-owner@vger.kernel.org>",
        "X-Original-To": "incoming@patchwork.ozlabs.org",
        "Delivered-To": "patchwork-incoming@bilbo.ozlabs.org",
        "Authentication-Results": "ozlabs.org;\n\tspf=none (mailfrom) smtp.mailfrom=vger.kernel.org\n\t(client-ip=209.132.180.67; helo=vger.kernel.org;\n\tenvelope-from=linux-i2c-owner@vger.kernel.org;\n\treceiver=<UNKNOWN>)",
        "Received": [
            "from vger.kernel.org (vger.kernel.org [209.132.180.67])\n\tby ozlabs.org (Postfix) with ESMTP id 3xwf2p0Q3rz9s3w\n\tfor <incoming@patchwork.ozlabs.org>;\n\tMon, 18 Sep 2017 18:15:46 +1000 (AEST)",
            "(majordomo@vger.kernel.org) by vger.kernel.org via listexpand\n\tid S1752510AbdIRIPo (ORCPT <rfc822;incoming@patchwork.ozlabs.org>);\n\tMon, 18 Sep 2017 04:15:44 -0400",
            "from youngberry.canonical.com ([91.189.89.112]:60472 \"EHLO\n\tyoungberry.canonical.com\" rhost-flags-OK-OK-OK-OK) by vger.kernel.org\n\twith ESMTP id S1752267AbdIRIPn (ORCPT\n\t<rfc822; linux-i2c@vger.kernel.org>); Mon, 18 Sep 2017 04:15:43 -0400",
            "from 1.general.cking.uk.vpn ([10.172.193.212] helo=localhost)\n\tby youngberry.canonical.com with esmtpsa\n\t(TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.76)\n\t(envelope-from <colin.king@canonical.com>)\n\tid 1dtrDQ-0008UO-7n; Mon, 18 Sep 2017 08:15:40 +0000"
        ],
        "From": "Colin King <colin.king@canonical.com>",
        "To": "Wolfram Sang <wsa@the-dreams.de>,\n\tMaxime Coquelin <mcoquelin.stm32@gmail.com>,\n\tAlexandre Torgue <alexandre.torgue@st.com>,\n\tlinux-i2c@vger.kernel.org, linux-arm-kernel@lists.infradead.org",
        "Cc": "kernel-janitors@vger.kernel.org, linux-kernel@vger.kernel.org",
        "Subject": "[PATCH][V2] i2c: i2c-stm32f7: make structure stm32f7_setup static\n\tconst",
        "Date": "Mon, 18 Sep 2017 09:15:39 +0100",
        "Message-Id": "<20170918081539.26512-1-colin.king@canonical.com>",
        "X-Mailer": "git-send-email 2.14.1",
        "MIME-Version": "1.0",
        "Content-Type": "text/plain; charset=\"utf-8\"",
        "Content-Transfer-Encoding": "8bit",
        "Sender": "linux-i2c-owner@vger.kernel.org",
        "Precedence": "bulk",
        "List-ID": "<linux-i2c.vger.kernel.org>",
        "X-Mailing-List": "linux-i2c@vger.kernel.org"
    },
    "content": "From: Colin Ian King <colin.king@canonical.com>\n\nThe structure stm32f7_setup is local to the source and does not need\nto be in global scope, make it static const.\n\nCleans up sparse warning:\nsymbol 'stm32f7_setup' was not declared. Should it be static?\n\nSigned-off-by: Colin Ian King <colin.king@canonical.com>\n---\n drivers/i2c/busses/i2c-stm32f7.c | 2 +-\n 1 file changed, 1 insertion(+), 1 deletion(-)",
    "diff": "diff --git a/drivers/i2c/busses/i2c-stm32f7.c b/drivers/i2c/busses/i2c-stm32f7.c\nindex 47c67b0ca896..3eae4fc96884 100644\n--- a/drivers/i2c/busses/i2c-stm32f7.c\n+++ b/drivers/i2c/busses/i2c-stm32f7.c\n@@ -265,7 +265,7 @@ static struct stm32f7_i2c_spec i2c_specs[] = {\n \t},\n };\n \n-struct stm32f7_i2c_setup stm32f7_setup = {\n+static const struct stm32f7_i2c_setup stm32f7_setup = {\n \t.rise_time = STM32F7_I2C_RISE_TIME_DEFAULT,\n \t.fall_time = STM32F7_I2C_FALL_TIME_DEFAULT,\n \t.dnf = STM32F7_I2C_DNF_DEFAULT,\n",
    "prefixes": [
        "V2"
    ]
}