get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 806712,
    "url": "http://patchwork.ozlabs.org/api/patches/806712/?format=api",
    "web_url": "http://patchwork.ozlabs.org/project/linuxppc-dev/patch/1503945031-28202-1-git-send-email-bhumirks@gmail.com/",
    "project": {
        "id": 2,
        "url": "http://patchwork.ozlabs.org/api/projects/2/?format=api",
        "name": "Linux PPC development",
        "link_name": "linuxppc-dev",
        "list_id": "linuxppc-dev.lists.ozlabs.org",
        "list_email": "linuxppc-dev@lists.ozlabs.org",
        "web_url": "https://github.com/linuxppc/wiki/wiki",
        "scm_url": "https://git.kernel.org/pub/scm/linux/kernel/git/powerpc/linux.git",
        "webscm_url": "https://git.kernel.org/pub/scm/linux/kernel/git/powerpc/linux.git/",
        "list_archive_url": "https://lore.kernel.org/linuxppc-dev/",
        "list_archive_url_format": "https://lore.kernel.org/linuxppc-dev/{}/",
        "commit_url_format": "https://git.kernel.org/pub/scm/linux/kernel/git/powerpc/linux.git/commit/?id={}"
    },
    "msgid": "<1503945031-28202-1-git-send-email-bhumirks@gmail.com>",
    "list_archive_url": "https://lore.kernel.org/linuxppc-dev/1503945031-28202-1-git-send-email-bhumirks@gmail.com/",
    "date": "2017-08-28T18:30:31",
    "name": "tty: hvcs: make ktermios const",
    "commit_ref": null,
    "pull_url": null,
    "state": "not-applicable",
    "archived": false,
    "hash": "d99a4afa506dd9cfdba3f72ffe83c989fddd60ae",
    "submitter": {
        "id": 69882,
        "url": "http://patchwork.ozlabs.org/api/people/69882/?format=api",
        "name": "Bhumika Goyal",
        "email": "bhumirks@gmail.com"
    },
    "delegate": null,
    "mbox": "http://patchwork.ozlabs.org/project/linuxppc-dev/patch/1503945031-28202-1-git-send-email-bhumirks@gmail.com/mbox/",
    "series": [
        {
            "id": 237,
            "url": "http://patchwork.ozlabs.org/api/series/237/?format=api",
            "web_url": "http://patchwork.ozlabs.org/project/linuxppc-dev/list/?series=237",
            "date": "2017-08-28T18:30:31",
            "name": "tty: hvcs: make ktermios const",
            "version": 1,
            "mbox": "http://patchwork.ozlabs.org/series/237/mbox/"
        }
    ],
    "comments": "http://patchwork.ozlabs.org/api/patches/806712/comments/",
    "check": "pending",
    "checks": "http://patchwork.ozlabs.org/api/patches/806712/checks/",
    "tags": {},
    "related": [],
    "headers": {
        "Return-Path": "<linuxppc-dev-bounces+patchwork-incoming=ozlabs.org@lists.ozlabs.org>",
        "X-Original-To": [
            "patchwork-incoming@ozlabs.org",
            "linuxppc-dev@lists.ozlabs.org"
        ],
        "Delivered-To": [
            "patchwork-incoming@ozlabs.org",
            "linuxppc-dev@lists.ozlabs.org"
        ],
        "Received": [
            "from lists.ozlabs.org (lists.ozlabs.org [103.22.144.68])\n\t(using TLSv1.2 with cipher ADH-AES256-GCM-SHA384 (256/256 bits))\n\t(No client certificate requested)\n\tby ozlabs.org (Postfix) with ESMTPS id 3xh0lk3CKcz9s8J\n\tfor <patchwork-incoming@ozlabs.org>;\n\tTue, 29 Aug 2017 04:33:54 +1000 (AEST)",
            "from lists.ozlabs.org (lists.ozlabs.org [IPv6:2401:3900:2:1::3])\n\tby lists.ozlabs.org (Postfix) with ESMTP id 3xh0lk1X64zDqJ3\n\tfor <patchwork-incoming@ozlabs.org>;\n\tTue, 29 Aug 2017 04:33:54 +1000 (AEST)",
            "from mail-pg0-x244.google.com (mail-pg0-x244.google.com\n\t[IPv6:2607:f8b0:400e:c05::244])\n\t(using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128\n\tbits)) (No client certificate requested)\n\tby lists.ozlabs.org (Postfix) with ESMTPS id 3xh0h32hRkzDqBf\n\tfor <linuxppc-dev@lists.ozlabs.org>;\n\tTue, 29 Aug 2017 04:30:43 +1000 (AEST)",
            "by mail-pg0-x244.google.com with SMTP id 63so937763pgc.1\n\tfor <linuxppc-dev@lists.ozlabs.org>;\n\tMon, 28 Aug 2017 11:30:42 -0700 (PDT)",
            "from gmail.com ([117.196.112.54]) by smtp.gmail.com with ESMTPSA id\n\to79sm1613621pfi.98.2017.08.28.11.30.36\n\t(version=TLS1 cipher=AES128-SHA bits=128/128);\n\tMon, 28 Aug 2017 11:30:39 -0700 (PDT)",
            "by gmail.com (sSMTP sendmail emulation);\n\tTue, 29 Aug 2017 00:00:33 +0530"
        ],
        "Authentication-Results": [
            "ozlabs.org; dkim=pass (2048-bit key;\n\tunprotected) header.d=gmail.com header.i=@gmail.com\n\theader.b=\"oY+NS8ML\"; dkim-atps=neutral",
            "lists.ozlabs.org; dkim=pass (2048-bit key;\n\tunprotected) header.d=gmail.com header.i=@gmail.com\n\theader.b=\"oY+NS8ML\"; dkim-atps=neutral",
            "lists.ozlabs.org; dkim=pass (2048-bit key;\n\tunprotected) header.d=gmail.com header.i=@gmail.com\n\theader.b=\"oY+NS8ML\"; dkim-atps=neutral"
        ],
        "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025;\n\th=from:to:cc:subject:date:message-id;\n\tbh=SaT89pYmwIP+4uU6O9v1yGZLwfBRjnUewGLwxpQ6A44=;\n\tb=oY+NS8MLXs1Pxbijr0Ot2u1VmlQexCg/E4/BdaKl8aefkRUuVC8yAVg6eVgZfgP8IX\n\t1SNZc87yTy3spObb360Ih55Ynvf2pHCUJrsioyap0EdUPo8E3S5y+VFE0q+VFGjvZf3R\n\te0duovJhrypCweg2cCHWjKcGV+fc2z5UDLjMxdffVLEqScuclQD6mAhfmjz2wMLRV7tD\n\t9JA9Ps0i1HsxCTcl+8ljOOZEJ5YotkvMf1ML9GRlpFd/rXOtqifmljBi2C/9bOYrfwBf\n\tUTYDDnWLPXXjv4Ga2Yf/uOTDCSQoIt4HIDarX5xQspA6V5QhSEVr6FeELeqkBJImdCST\n\t9kFA==",
        "X-Google-DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n\td=1e100.net; s=20161025;\n\th=x-gm-message-state:from:to:cc:subject:date:message-id;\n\tbh=SaT89pYmwIP+4uU6O9v1yGZLwfBRjnUewGLwxpQ6A44=;\n\tb=oBq8AaqFo0+Ozp5OHvgAfQQ/QEJlLqEMkKqc0ThqTwdpYPRWytixU0DhAbpq1KjTfc\n\tm917sz5RZUOksQLrfZBnj89GxH/elhXtW9gmhv23ywaDRWqb7aqqu/NiRkYw8zKvnhuU\n\tdhFdkO3EnWZDnw207JyiPTDPy3CWOBTA6CaIP64mz7x7HtQj6o5PflvfhSBcicLIDIfa\n\tby6uRBGUyn2o0BtPvpWJ/0WnZDGf9m61Cviybkr3IDE3Jq/Q2hA6Zn4DXs/1Fp115MBo\n\t1cvSj1lhKI/9fbDl44QbdxIVdKJDgCyewjGwWZX1pHIaxoe2E7xWDWVQcwkkVN+Kcf99\n\tXSfg==",
        "X-Gm-Message-State": "AHYfb5g07AdtkaVtjZV4ZFikwMv4xw94FMptnZ+GuRMe91Ip6n7pO8hr\n\t9PzT/2Mm0ut6ew==",
        "X-Received": "by 10.98.102.152 with SMTP id s24mr1456637pfj.110.1503945039799; \n\tMon, 28 Aug 2017 11:30:39 -0700 (PDT)",
        "From": "Bhumika Goyal <bhumirks@gmail.com>",
        "To": "julia.lawall@lip6.fr, gregkh@linuxfoundation.org, jslaby@suse.com,\n\tlinuxppc-dev@lists.ozlabs.org, linux-kernel@vger.kernel.org",
        "Subject": "[PATCH] tty: hvcs: make ktermios const",
        "Date": "Tue, 29 Aug 2017 00:00:31 +0530",
        "Message-Id": "<1503945031-28202-1-git-send-email-bhumirks@gmail.com>",
        "X-Mailer": "git-send-email 1.9.1",
        "X-BeenThere": "linuxppc-dev@lists.ozlabs.org",
        "X-Mailman-Version": "2.1.23",
        "Precedence": "list",
        "List-Id": "Linux on PowerPC Developers Mail List\n\t<linuxppc-dev.lists.ozlabs.org>",
        "List-Unsubscribe": "<https://lists.ozlabs.org/options/linuxppc-dev>,\n\t<mailto:linuxppc-dev-request@lists.ozlabs.org?subject=unsubscribe>",
        "List-Archive": "<http://lists.ozlabs.org/pipermail/linuxppc-dev/>",
        "List-Post": "<mailto:linuxppc-dev@lists.ozlabs.org>",
        "List-Help": "<mailto:linuxppc-dev-request@lists.ozlabs.org?subject=help>",
        "List-Subscribe": "<https://lists.ozlabs.org/listinfo/linuxppc-dev>,\n\t<mailto:linuxppc-dev-request@lists.ozlabs.org?subject=subscribe>",
        "Cc": "Bhumika Goyal <bhumirks@gmail.com>",
        "Errors-To": "linuxppc-dev-bounces+patchwork-incoming=ozlabs.org@lists.ozlabs.org",
        "Sender": "\"Linuxppc-dev\"\n\t<linuxppc-dev-bounces+patchwork-incoming=ozlabs.org@lists.ozlabs.org>"
    },
    "content": "Make this const as it is not modified anywhere.\n\nSigned-off-by: Bhumika Goyal <bhumirks@gmail.com>\n---\n drivers/tty/hvc/hvcs.c | 2 +-\n 1 file changed, 1 insertion(+), 1 deletion(-)",
    "diff": "diff --git a/drivers/tty/hvc/hvcs.c b/drivers/tty/hvc/hvcs.c\nindex 79cc5be..40adf86 100644\n--- a/drivers/tty/hvc/hvcs.c\n+++ b/drivers/tty/hvc/hvcs.c\n@@ -189,7 +189,7 @@\n  * that will cause echoing or we'll go into recursive loop echoing chars back\n  * and forth with the console drivers.\n  */\n-static struct ktermios hvcs_tty_termios = {\n+static const struct ktermios hvcs_tty_termios = {\n \t.c_iflag = IGNBRK | IGNPAR,\n \t.c_oflag = OPOST,\n \t.c_cflag = B38400 | CS8 | CREAD | HUPCL,\n",
    "prefixes": []
}