get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 806372,
    "url": "http://patchwork.ozlabs.org/api/patches/806372/?format=api",
    "web_url": "http://patchwork.ozlabs.org/project/linuxppc-dev/patch/90eacc5c9ff738176330dd53e128c945a88ead9f.1503900231.git.arvind.yadav.cs@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": "<90eacc5c9ff738176330dd53e128c945a88ead9f.1503900231.git.arvind.yadav.cs@gmail.com>",
    "list_archive_url": "https://lore.kernel.org/linuxppc-dev/90eacc5c9ff738176330dd53e128c945a88ead9f.1503900231.git.arvind.yadav.cs@gmail.com/",
    "date": "2017-08-28T06:05:15",
    "name": "powerpc/512x: clk: constify clk_div_table",
    "commit_ref": "9e2b70fbbc451cc56863644f6e7349148f7482cf",
    "pull_url": null,
    "state": "accepted",
    "archived": false,
    "hash": "17e2f272b169e6623704e7be6655b39435667d61",
    "submitter": {
        "id": 69434,
        "url": "http://patchwork.ozlabs.org/api/people/69434/?format=api",
        "name": "Arvind Yadav",
        "email": "arvind.yadav.cs@gmail.com"
    },
    "delegate": null,
    "mbox": "http://patchwork.ozlabs.org/project/linuxppc-dev/patch/90eacc5c9ff738176330dd53e128c945a88ead9f.1503900231.git.arvind.yadav.cs@gmail.com/mbox/",
    "series": [
        {
            "id": 77,
            "url": "http://patchwork.ozlabs.org/api/series/77/?format=api",
            "web_url": "http://patchwork.ozlabs.org/project/linuxppc-dev/list/?series=77",
            "date": "2017-08-28T06:05:15",
            "name": "powerpc/512x: clk: constify clk_div_table",
            "version": 1,
            "mbox": "http://patchwork.ozlabs.org/series/77/mbox/"
        }
    ],
    "comments": "http://patchwork.ozlabs.org/api/patches/806372/comments/",
    "check": "pending",
    "checks": "http://patchwork.ozlabs.org/api/patches/806372/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 [IPv6:2401:3900:2:1::3])\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 3xghBC04ddz9sNq\n\tfor <patchwork-incoming@ozlabs.org>;\n\tMon, 28 Aug 2017 16:07:15 +1000 (AEST)",
            "from lists.ozlabs.org (lists.ozlabs.org [IPv6:2401:3900:2:1::3])\n\tby lists.ozlabs.org (Postfix) with ESMTP id 3xghBB5tGnzDqR8\n\tfor <patchwork-incoming@ozlabs.org>;\n\tMon, 28 Aug 2017 16:07:14 +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 3xgh8P3KZxzDq7q\n\tfor <linuxppc-dev@lists.ozlabs.org>;\n\tMon, 28 Aug 2017 16:05:41 +1000 (AEST)",
            "by mail-pg0-x244.google.com with SMTP id t3so5597633pgt.5\n\tfor <linuxppc-dev@lists.ozlabs.org>;\n\tSun, 27 Aug 2017 23:05:41 -0700 (PDT)",
            "from symbol-HP-Z420-Workstation.zebra.lan ([223.31.70.102])\n\tby smtp.googlemail.com with ESMTPSA id\n\te16sm23238401pfb.182.2017.08.27.23.05.36\n\t(version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128);\n\tSun, 27 Aug 2017 23:05:38 -0700 (PDT)"
        ],
        "Authentication-Results": [
            "ozlabs.org;\n\tdkim=fail reason=\"signature verification failed\" (2048-bit key;\n\tunprotected) header.d=gmail.com header.i=@gmail.com\n\theader.b=\"CXkOCPk2\"; dkim-atps=neutral",
            "lists.ozlabs.org;\n\tdkim=fail reason=\"signature verification failed\" (2048-bit key;\n\tunprotected) header.d=gmail.com header.i=@gmail.com\n\theader.b=\"CXkOCPk2\"; dkim-atps=neutral",
            "lists.ozlabs.org; dkim=pass (2048-bit key;\n\tunprotected) header.d=gmail.com header.i=@gmail.com\n\theader.b=\"CXkOCPk2\"; 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=g21iylQL2ui/iFpjlV+MJzbYG9EcrPMW7BOTd3LJ1EQ=;\n\tb=CXkOCPk2CO93f5mI/bgxwipnBzrxI5WLbdtBrrYRdzo6B9az4UQHS7RpLB6TtueUAi\n\tEkDYS2W7/OUKSXFE4YpBxekJ/x5iqzhhZF8cvCrx1wB5jG725HsHafbkK2mMr409NTHi\n\tOj/q0PVDHI4di3xG4fkNPYD80+KwuWoXsnmRuoSB7eTdR6P2Qiyf4bU8Mc7JHw/cWNS6\n\tfCGvym37OniqcC6OcFNk9Cb3SS+27yaLKgE5aY3ZmDTKUi6g8DtEU6vWI0Dmgy8o8C1v\n\tlxMpdoHUXzGD/dca2BGyNcT/psRux5EIJcnxJanPmJNSfQmlsCFbuyi+Z/jFgEVjtn4B\n\t+24g==",
        "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=g21iylQL2ui/iFpjlV+MJzbYG9EcrPMW7BOTd3LJ1EQ=;\n\tb=SDcKGkh0tXAgfnDk+Ak9G4alLrPRnVfLgOfLxbZaAoFSZqzMkv2szRTRu3tFDUjWvV\n\t2dnQN+CXBGDeQptEj/NOyYs3EPFUqrKtPhdcTE8qxpVQVk8QCCHfvc9yKGlask+Lo7Q5\n\t9nueoc+f2xUe1mDtEuHBdCk/Za/VknJnVPEr0TcGVZwXuqiQKdiMRAOCAzL3tpMaf5QJ\n\taOK0hFrqmPfglKHOrWbQt9pNHl38utsgLaDZqEBKVV+C3wh1egrmzhEBx2+Ep6eBLSfa\n\tI0FekInVCYOmOl6iZxXgLl02HDw1NuvxxZfz4/2zR/66APq062R6NPeW12DRxibnXZAf\n\tbR4Q==",
        "X-Gm-Message-State": "AHYfb5jk2EGG0Ik1RE2Yoi2T5Se3OU2k0a897Bs+bEN9pdcH7DMA9Mky\n\tjXBob3crdp686O5dscQ=",
        "X-Received": "by 10.84.233.204 with SMTP id m12mr4989334pln.31.1503900339525; \n\tSun, 27 Aug 2017 23:05:39 -0700 (PDT)",
        "From": "Arvind Yadav <arvind.yadav.cs@gmail.com>",
        "To": "agust@denx.de, benh@kernel.crashing.org, paulus@samba.org,\n\tmpe@ellerman.id.au",
        "Subject": "[PATCH] powerpc/512x: clk: constify clk_div_table",
        "Date": "Mon, 28 Aug 2017 11:35:15 +0530",
        "Message-Id": "<90eacc5c9ff738176330dd53e128c945a88ead9f.1503900231.git.arvind.yadav.cs@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": "linuxppc-dev@lists.ozlabs.org, linux-kernel@vger.kernel.org",
        "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": "clk_div_table are not supposed to change at runtime.\nmpc512x_clk_divtable function working with const\nclk_div_table. So mark the non-const structs as const.\n\nSigned-off-by: Arvind Yadav <arvind.yadav.cs@gmail.com>\n---\n arch/powerpc/platforms/512x/clock-commonclk.c | 4 ++--\n 1 file changed, 2 insertions(+), 2 deletions(-)",
    "diff": "diff --git a/arch/powerpc/platforms/512x/clock-commonclk.c b/arch/powerpc/platforms/512x/clock-commonclk.c\nindex add5a53..b3097fe 100644\n--- a/arch/powerpc/platforms/512x/clock-commonclk.c\n+++ b/arch/powerpc/platforms/512x/clock-commonclk.c\n@@ -363,7 +363,7 @@ static int get_cpmf_mult_x2(void)\n  */\n \n /* applies to the IPS_DIV, and PCI_DIV values */\n-static struct clk_div_table divtab_2346[] = {\n+static const struct clk_div_table divtab_2346[] = {\n \t{ .val = 2, .div = 2, },\n \t{ .val = 3, .div = 3, },\n \t{ .val = 4, .div = 4, },\n@@ -372,7 +372,7 @@ static int get_cpmf_mult_x2(void)\n };\n \n /* applies to the MBX_DIV, LPC_DIV, and NFC_DIV values */\n-static struct clk_div_table divtab_1234[] = {\n+static const struct clk_div_table divtab_1234[] = {\n \t{ .val = 1, .div = 1, },\n \t{ .val = 2, .div = 2, },\n \t{ .val = 3, .div = 3, },\n",
    "prefixes": []
}