get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 804954,
    "url": "http://patchwork.ozlabs.org/api/patches/804954/?format=api",
    "web_url": "http://patchwork.ozlabs.org/project/uboot/patch/20170823114136.10919-2-maxime.ripard@free-electrons.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": "<20170823114136.10919-2-maxime.ripard@free-electrons.com>",
    "list_archive_url": null,
    "date": "2017-08-23T11:41:33",
    "name": "[U-Boot,1/4] mmc: sunxi: fix legacy MMC initialisation",
    "commit_ref": "ead3697d7ec491c055fe546b3a45bcfba45fa022",
    "pull_url": null,
    "state": "accepted",
    "archived": false,
    "hash": "a9b536d94209643bed5671ca866b73ca12250dbb",
    "submitter": {
        "id": 12916,
        "url": "http://patchwork.ozlabs.org/api/people/12916/?format=api",
        "name": "Maxime Ripard",
        "email": "maxime.ripard@free-electrons.com"
    },
    "delegate": {
        "id": 17739,
        "url": "http://patchwork.ozlabs.org/api/users/17739/?format=api",
        "username": "jagan",
        "first_name": "Jagannadha Sutradharudu",
        "last_name": "Teki",
        "email": "jagannadh.teki@gmail.com"
    },
    "mbox": "http://patchwork.ozlabs.org/project/uboot/patch/20170823114136.10919-2-maxime.ripard@free-electrons.com/mbox/",
    "series": [],
    "comments": "http://patchwork.ozlabs.org/api/patches/804954/comments/",
    "check": "pending",
    "checks": "http://patchwork.ozlabs.org/api/patches/804954/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>)",
        "Received": [
            "from lists.denx.de (dione.denx.de [81.169.180.215])\n\tby ozlabs.org (Postfix) with ESMTP id 3xclsQ6rd6z9s7h\n\tfor <incoming@patchwork.ozlabs.org>;\n\tWed, 23 Aug 2017 21:42:34 +1000 (AEST)",
            "by lists.denx.de (Postfix, from userid 105)\n\tid 9E8F8C21E43; Wed, 23 Aug 2017 11:41:57 +0000 (UTC)",
            "from lists.denx.de (localhost [IPv6:::1])\n\tby lists.denx.de (Postfix) with ESMTP id 3B5A8C21DC5;\n\tWed, 23 Aug 2017 11:41:42 +0000 (UTC)",
            "by lists.denx.de (Postfix, from userid 105)\n\tid 2AD70C21D78; Wed, 23 Aug 2017 11:41:39 +0000 (UTC)",
            "from mail.free-electrons.com (mail.free-electrons.com [62.4.15.54])\n\tby lists.denx.de (Postfix) with ESMTP id D4DA7C21C2F\n\tfor <u-boot@lists.denx.de>; Wed, 23 Aug 2017 11:41:38 +0000 (UTC)",
            "by mail.free-electrons.com (Postfix, from userid 110)\n\tid DF30A209BA; Wed, 23 Aug 2017 13:41:37 +0200 (CEST)",
            "from localhost (LStLambert-657-1-97-87.w90-63.abo.wanadoo.fr\n\t[90.63.216.87])\n\tby mail.free-electrons.com (Postfix) with ESMTPSA id B646E20982;\n\tWed, 23 Aug 2017 13:41:37 +0200 (CEST)"
        ],
        "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=none autolearn=unavailable\n\tautolearn_force=no version=3.4.0",
        "From": "Maxime Ripard <maxime.ripard@free-electrons.com>",
        "To": "Jagan Teki <jagan@openedev.com>, Jaehoon Chung <jh80.chung@samsung.com>, \n\tSimon Glass <sjg@chromium.org>",
        "Date": "Wed, 23 Aug 2017 13:41:33 +0200",
        "Message-Id": "<20170823114136.10919-2-maxime.ripard@free-electrons.com>",
        "X-Mailer": "git-send-email 2.13.5",
        "In-Reply-To": "<20170823114136.10919-1-maxime.ripard@free-electrons.com>",
        "References": "<20170823114136.10919-1-maxime.ripard@free-electrons.com>",
        "Cc": "u-boot@lists.denx.de, Maxime Ripard <maxime.ripard@free-electrons.com>",
        "Subject": "[U-Boot] [PATCH 1/4] mmc: sunxi: fix legacy MMC initialisation",
        "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": "The driver-model rework changed, among other things, the way the private\ndata were moved around. It now uses the private field in the struct mmc.\n\nHowever, the mmc_create argument was changed in the process to always pass\nthe array we used to have to store our private structures.\n\nThe basically means that all the MMC driver instances will now have the\nprivate data of the first instance, which obviously doesn't work very well.\n\nPass the proper pointer to mmc_create.\n\nFixes: 034e226bc77e (\"dm: mmc: sunxi: Pass private data around explicitly\")\nSigned-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>\n---\n drivers/mmc/sunxi_mmc.c | 2 +-\n 1 file changed, 1 insertion(+), 1 deletion(-)",
    "diff": "diff --git a/drivers/mmc/sunxi_mmc.c b/drivers/mmc/sunxi_mmc.c\nindex 588574fab6a9..30f1f76e9f8c 100644\n--- a/drivers/mmc/sunxi_mmc.c\n+++ b/drivers/mmc/sunxi_mmc.c\n@@ -498,7 +498,7 @@ struct mmc *sunxi_mmc_init(int sdc_no)\n \tif (ret)\n \t\treturn NULL;\n \n-\treturn mmc_create(cfg, mmc_host);\n+\treturn mmc_create(cfg, priv);\n }\n #else\n \n",
    "prefixes": [
        "U-Boot",
        "1/4"
    ]
}