get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 810842,
    "url": "http://patchwork.ozlabs.org/api/patches/810842/?format=api",
    "web_url": "http://patchwork.ozlabs.org/project/uboot/patch/1504754451-30534-2-git-send-email-kever.yang@rock-chips.com/",
    "project": {
        "id": 18,
        "url": "http://patchwork.ozlabs.org/api/projects/18/?format=api",
        "name": "U-Boot",
        "link_name": "uboot",
        "list_id": "u-boot.lists.denx.de",
        "list_email": "u-boot@lists.denx.de",
        "web_url": null,
        "scm_url": null,
        "webscm_url": null,
        "list_archive_url": "",
        "list_archive_url_format": "",
        "commit_url_format": ""
    },
    "msgid": "<1504754451-30534-2-git-send-email-kever.yang@rock-chips.com>",
    "list_archive_url": null,
    "date": "2017-09-07T03:20:51",
    "name": "[U-Boot,2/2] rockchip: ram: rk3399: update reg map for of-platdata",
    "commit_ref": null,
    "pull_url": null,
    "state": "accepted",
    "archived": false,
    "hash": "57e75d36625388b14b986c6266e7f6360f865b9a",
    "submitter": {
        "id": 64532,
        "url": "http://patchwork.ozlabs.org/api/people/64532/?format=api",
        "name": "Kever Yang",
        "email": "kever.yang@rock-chips.com"
    },
    "delegate": {
        "id": 69486,
        "url": "http://patchwork.ozlabs.org/api/users/69486/?format=api",
        "username": "ptomsich",
        "first_name": "Philipp",
        "last_name": "Tomsich",
        "email": "philipp.tomsich@theobroma-systems.com"
    },
    "mbox": "http://patchwork.ozlabs.org/project/uboot/patch/1504754451-30534-2-git-send-email-kever.yang@rock-chips.com/mbox/",
    "series": [
        {
            "id": 1906,
            "url": "http://patchwork.ozlabs.org/api/series/1906/?format=api",
            "web_url": "http://patchwork.ozlabs.org/project/uboot/list/?series=1906",
            "date": "2017-09-07T03:20:50",
            "name": "[U-Boot,1/2] rockchip: sdhci: update reg map for of-platdata",
            "version": 1,
            "mbox": "http://patchwork.ozlabs.org/series/1906/mbox/"
        }
    ],
    "comments": "http://patchwork.ozlabs.org/api/patches/810842/comments/",
    "check": "pending",
    "checks": "http://patchwork.ozlabs.org/api/patches/810842/checks/",
    "tags": {},
    "related": [],
    "headers": {
        "Return-Path": "<u-boot-bounces@lists.denx.de>",
        "X-Original-To": "incoming@patchwork.ozlabs.org",
        "Delivered-To": "patchwork-incoming@bilbo.ozlabs.org",
        "Authentication-Results": [
            "ozlabs.org;\n\tspf=none (mailfrom) smtp.mailfrom=lists.denx.de\n\t(client-ip=81.169.180.215; helo=lists.denx.de;\n\tenvelope-from=u-boot-bounces@lists.denx.de;\n\treceiver=<UNKNOWN>)",
            "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=\"Av1gv1ch\"; dkim-atps=neutral"
        ],
        "Received": [
            "from lists.denx.de (dione.denx.de [81.169.180.215])\n\tby ozlabs.org (Postfix) with ESMTP id 3xnm2t2gvMz9s7c\n\tfor <incoming@patchwork.ozlabs.org>;\n\tThu,  7 Sep 2017 13:21:58 +1000 (AEST)",
            "by lists.denx.de (Postfix, from userid 105)\n\tid 1A23BC21E66; Thu,  7 Sep 2017 03:21:18 +0000 (UTC)",
            "from lists.denx.de (localhost [IPv6:::1])\n\tby lists.denx.de (Postfix) with ESMTP id D6507C21DE3;\n\tThu,  7 Sep 2017 03:21:06 +0000 (UTC)",
            "by lists.denx.de (Postfix, from userid 105)\n\tid 22A25C21DC6; Thu,  7 Sep 2017 03:21:02 +0000 (UTC)",
            "from mail-pg0-f68.google.com (mail-pg0-f68.google.com\n\t[74.125.83.68])\n\tby lists.denx.de (Postfix) with ESMTPS id 15B91C21C97\n\tfor <u-boot@lists.denx.de>; Thu,  7 Sep 2017 03:21:00 +0000 (UTC)",
            "by mail-pg0-f68.google.com with SMTP id v82so3754451pgb.1\n\tfor <u-boot@lists.denx.de>; Wed, 06 Sep 2017 20:21:00 -0700 (PDT)",
            "from localhost.localdomain ([103.29.142.67])\n\tby smtp.gmail.com with ESMTPSA id\n\ta18sm1282103pgd.57.2017.09.06.20.20.57\n\t(version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128);\n\tWed, 06 Sep 2017 20:20:58 -0700 (PDT)"
        ],
        "X-Spam-Checker-Version": "SpamAssassin 3.4.0 (2014-02-07) on lists.denx.de",
        "X-Spam-Level": "",
        "X-Spam-Status": "No, score=-0.0 required=5.0 tests=RCVD_IN_DNSWL_NONE,\n\tRCVD_IN_MSPIKE_H3, RCVD_IN_MSPIKE_WL,\n\tT_DKIM_INVALID autolearn=unavailable\n\tautolearn_force=no version=3.4.0",
        "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025;\n\th=sender:from:to:cc:subject:date:message-id:in-reply-to:references;\n\tbh=bFFtJl2zbOLC5rvrbtroCzLKxl01JZwFEjsT7P+r0Yk=;\n\tb=Av1gv1chL0tQZKgRirhNc+pN+r2+CIGs1N4EASuAtQ2WdoL5xxFTDI1HBwOMM0AX2l\n\tlDvQJVaR0lkCUsqfmj7s0DNjzXFGzjgkItuhoPlYejBzbR5bfQ2SO2bu7GWLVkerH/aJ\n\tx3rkosh7jLLKXlKAR4Pru14K5kXDJrlD+nXnTcGr17QZyRSyh2z5yZjFGAqwE+tqLwsO\n\t+2ewNMmE8SI6nIOKSk2QJcCeaYW88S5bCWk5+78Rgo8HRbuIXyjziaZRKC7Kokzy2deE\n\tTvzuaHUWY1FTi9RHi8cMlV9rXW6W/x6KZAvT5/WrcK4+QbsjvkN6X9ukO9PiHE2m3hKy\n\tSspQ==",
        "X-Google-DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n\td=1e100.net; s=20161025;\n\th=x-gm-message-state:sender:from:to:cc:subject:date:message-id\n\t:in-reply-to:references;\n\tbh=bFFtJl2zbOLC5rvrbtroCzLKxl01JZwFEjsT7P+r0Yk=;\n\tb=P5xWjFd8dBJ7PPrNezM5nerywArnWVI7j2I1UhLtT7HeT4Z8AKV5chEho1zJQbpRu5\n\tSxPRjLXhIqjKtX4Kf5ypIyeWFjBmRWuwXFGJkswnJMCvZZlz5Wme6YIb2qh1SKs99tf0\n\th49ehX5aUUBJe5t3beEkABrw04ds1a6PPsqmwrHt0Lt85WRG0I7DZSZIuehoLN6isEvI\n\tKESRU/QVDSd5npdXC4lmUG0RDcRyD2l+xCt8xsaO9F2ylJtkia0dvSgTBql+pHhR82gz\n\tiyc7K4Bhcd/lCCP1NthEKDW52CxezULBDgNDerF5KytOzsi5CcDq+KLKVuSztI4aO1Vc\n\tnXRA==",
        "X-Gm-Message-State": "AHPjjUjL9QrkcvZIEkpSYl8yLjj3IVCAqd9RjnJsMPENTNuwMrf2mjKY\n\tFQfrqhIAcDFprlGx",
        "X-Google-Smtp-Source": "ADKCNb5sFkyCB8ANhY5vVB0wQSiTXv+Q7y5lWsnTFsH+QtgMA0rl6IXenzdpoUZETTIRO0Xk0coAGA==",
        "X-Received": "by 10.99.106.69 with SMTP id f66mr1290339pgc.425.1504754458592; \n\tWed, 06 Sep 2017 20:20:58 -0700 (PDT)",
        "From": "Kever Yang <kever.yang@rock-chips.com>",
        "To": "u-boot@lists.denx.de",
        "Date": "Thu,  7 Sep 2017 11:20:51 +0800",
        "Message-Id": "<1504754451-30534-2-git-send-email-kever.yang@rock-chips.com>",
        "X-Mailer": "git-send-email 1.9.1",
        "In-Reply-To": "<1504754451-30534-1-git-send-email-kever.yang@rock-chips.com>",
        "References": "<1504754451-30534-1-git-send-email-kever.yang@rock-chips.com>",
        "Subject": "[U-Boot] [PATCH 2/2] rockchip: ram: rk3399: update reg map for\n\tof-platdata",
        "X-BeenThere": "u-boot@lists.denx.de",
        "X-Mailman-Version": "2.1.18",
        "Precedence": "list",
        "List-Id": "U-Boot discussion <u-boot.lists.denx.de>",
        "List-Unsubscribe": "<https://lists.denx.de/options/u-boot>,\n\t<mailto:u-boot-request@lists.denx.de?subject=unsubscribe>",
        "List-Archive": "<http://lists.denx.de/pipermail/u-boot/>",
        "List-Post": "<mailto:u-boot@lists.denx.de>",
        "List-Help": "<mailto:u-boot-request@lists.denx.de?subject=help>",
        "List-Subscribe": "<https://lists.denx.de/listinfo/u-boot>,\n\t<mailto:u-boot-request@lists.denx.de?subject=subscribe>",
        "MIME-Version": "1.0",
        "Content-Type": "text/plain; charset=\"utf-8\"",
        "Content-Transfer-Encoding": "base64",
        "Errors-To": "u-boot-bounces@lists.denx.de",
        "Sender": "\"U-Boot\" <u-boot-bounces@lists.denx.de>"
    },
    "content": "After Simon's patch, the dtoc can work with 64bit address,\nso we need to fix reg number for it.\nDepend on Simon's patch set:\nhttps://patchwork.ozlabs.org/cover/807266/\n\nSigned-off-by: Kever Yang <kever.yang@rock-chips.com>\n---\n\n drivers/ram/rockchip/sdram_rk3399.c | 2 +-\n 1 file changed, 1 insertion(+), 1 deletion(-)",
    "diff": "diff --git a/drivers/ram/rockchip/sdram_rk3399.c b/drivers/ram/rockchip/sdram_rk3399.c\nindex 63342ab..5ed4b03 100644\n--- a/drivers/ram/rockchip/sdram_rk3399.c\n+++ b/drivers/ram/rockchip/sdram_rk3399.c\n@@ -1115,7 +1115,7 @@ static int conv_of_platdata(struct udevice *dev)\n \tint ret;\n \n \tret = regmap_init_mem_platdata(dev, dtplat->reg,\n-\t\t\tARRAY_SIZE(dtplat->reg) / 4,\n+\t\t\tARRAY_SIZE(dtplat->reg) / 2,\n \t\t\t&plat->map);\n \tif (ret)\n \t\treturn ret;\n",
    "prefixes": [
        "U-Boot",
        "2/2"
    ]
}