get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 810291,
    "url": "http://patchwork.ozlabs.org/api/patches/810291/?format=api",
    "web_url": "http://patchwork.ozlabs.org/project/linux-imx/patch/20170905212000.7009-2-afaerber@suse.de/",
    "project": {
        "id": 19,
        "url": "http://patchwork.ozlabs.org/api/projects/19/?format=api",
        "name": "Linux IMX development",
        "link_name": "linux-imx",
        "list_id": "linux-imx-kernel.lists.patchwork.ozlabs.org",
        "list_email": "linux-imx-kernel@lists.patchwork.ozlabs.org",
        "web_url": null,
        "scm_url": null,
        "webscm_url": null,
        "list_archive_url": "",
        "list_archive_url_format": "",
        "commit_url_format": ""
    },
    "msgid": "<20170905212000.7009-2-afaerber@suse.de>",
    "list_archive_url": null,
    "date": "2017-09-05T21:19:59",
    "name": "[v2,1/2] ARM: owl: smp: Use __pa_symbol()",
    "commit_ref": null,
    "pull_url": null,
    "state": "new",
    "archived": false,
    "hash": "8934a293fea610e885b87b24746c9ce7b9c8ec42",
    "submitter": {
        "id": 9542,
        "url": "http://patchwork.ozlabs.org/api/people/9542/?format=api",
        "name": "Andreas Färber",
        "email": "afaerber@suse.de"
    },
    "delegate": null,
    "mbox": "http://patchwork.ozlabs.org/project/linux-imx/patch/20170905212000.7009-2-afaerber@suse.de/mbox/",
    "series": [
        {
            "id": 1652,
            "url": "http://patchwork.ozlabs.org/api/series/1652/?format=api",
            "web_url": "http://patchwork.ozlabs.org/project/linux-imx/list/?series=1652",
            "date": "2017-09-05T21:19:59",
            "name": "ARM: Actions Semi S500 SMP cleanups",
            "version": 2,
            "mbox": "http://patchwork.ozlabs.org/series/1652/mbox/"
        }
    ],
    "comments": "http://patchwork.ozlabs.org/api/patches/810291/comments/",
    "check": "pending",
    "checks": "http://patchwork.ozlabs.org/api/patches/810291/checks/",
    "tags": {},
    "related": [],
    "headers": {
        "Return-Path": "<linux-arm-kernel-bounces+incoming-imx=patchwork.ozlabs.org@lists.infradead.org>",
        "X-Original-To": "incoming-imx@patchwork.ozlabs.org",
        "Delivered-To": "patchwork-incoming-imx@bilbo.ozlabs.org",
        "Authentication-Results": [
            "ozlabs.org;\n\tspf=none (mailfrom) smtp.mailfrom=lists.infradead.org\n\t(client-ip=65.50.211.133; helo=bombadil.infradead.org;\n\tenvelope-from=linux-arm-kernel-bounces+incoming-imx=patchwork.ozlabs.org@lists.infradead.org;\n\treceiver=<UNKNOWN>)",
            "ozlabs.org; dkim=pass (2048-bit key;\n\tunprotected) header.d=lists.infradead.org\n\theader.i=@lists.infradead.org\n\theader.b=\"mOO9pOEt\"; dkim-atps=neutral"
        ],
        "Received": [
            "from bombadil.infradead.org (bombadil.infradead.org\n\t[65.50.211.133])\n\t(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256\n\tbits)) (No client certificate requested)\n\tby ozlabs.org (Postfix) with ESMTPS id 3xn04Y1gHJz9t2W\n\tfor <incoming-imx@patchwork.ozlabs.org>;\n\tWed,  6 Sep 2017 07:20:45 +1000 (AEST)",
            "from localhost ([127.0.0.1] helo=bombadil.infradead.org)\n\tby bombadil.infradead.org with esmtp (Exim 4.87 #1 (Red Hat Linux))\n\tid 1dpLGy-0007st-4D; Tue, 05 Sep 2017 21:20:40 +0000",
            "from mx2.suse.de ([195.135.220.15] helo=mx1.suse.de)\n\tby bombadil.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux))\n\tid 1dpLGt-0007pg-NH for linux-arm-kernel@lists.infradead.org;\n\tTue, 05 Sep 2017 21:20:37 +0000",
            "from relay1.suse.de (charybdis-ext.suse.de [195.135.220.254])\n\tby mx1.suse.de (Postfix) with ESMTP id 65E53AE54;\n\tTue,  5 Sep 2017 21:20:11 +0000 (UTC)"
        ],
        "DKIM-Signature": "v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed;\n\td=lists.infradead.org; s=bombadil.20170209; h=Sender:\n\tContent-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post:\n\tList-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To:\n\tMessage-Id:Date:Subject:To:From:Reply-To:Content-ID:Content-Description:\n\tResent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:\n\tList-Owner; bh=yu9KcY635wAvCH72OLBTMNNSSN4TpWP9EIqlrJvLomQ=;\n\tb=mOO9pOEtax+4EZ\n\tIHDyNIaBiHOdeiWO+ZtzQsWevTG+JgckTquSjkqaO31RfVwTiYjEW4fWXpdumuKyf5KBYa5dGCOCp\n\tb6V17r0ZIhPuc5oF1SH6to1uNI2I5qHHTEpnaWOxK8l5fj0B43BocWeMgGkV2A9sMuj5aX+wXGray\n\tRStYH72wnFWyE3VQbjdjvOsXlWTifDioZqoYyNtXHgGnq8Vs6brmHNDkarbzAwhUU8OgqF5lWOpeT\n\tKh+WEu4WoxCts2rKMGliGleod5bo3LfwX4FdxZNfkfpcKI809zZS0Xe4oZvK9nnDBylQyxhudBzT/\n\tziZNk5Dv4bB5r7OLNzPg==;",
        "X-Virus-Scanned": "by amavisd-new at test-mx.suse.de",
        "From": "=?utf-8?q?Andreas_F=C3=A4rber?= <afaerber@suse.de>",
        "To": "=?utf-8?q?Andreas_F=C3=A4rber?= <afaerber@suse.de>,\n\tlinux-arm-kernel@lists.infradead.org",
        "Subject": "[PATCH v2 1/2] ARM: owl: smp: Use __pa_symbol()",
        "Date": "Tue,  5 Sep 2017 23:19:59 +0200",
        "Message-Id": "<20170905212000.7009-2-afaerber@suse.de>",
        "X-Mailer": "git-send-email 2.13.5",
        "In-Reply-To": "<20170905212000.7009-1-afaerber@suse.de>",
        "References": "<20170905212000.7009-1-afaerber@suse.de>",
        "MIME-Version": "1.0",
        "X-CRM114-Version": "20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 ",
        "X-CRM114-CacheID": "sfid-20170905_142035_924263_5A065906 ",
        "X-CRM114-Status": "UNSURE (   9.33  )",
        "X-CRM114-Notice": "Please train this message.",
        "X-Spam-Score": "-4.2 (----)",
        "X-Spam-Report": "SpamAssassin version 3.4.1 on bombadil.infradead.org summary:\n\tContent analysis details:   (-4.2 points)\n\tpts rule name              description\n\t---- ----------------------\n\t--------------------------------------------------\n\t-2.3 RCVD_IN_DNSWL_MED RBL: Sender listed at http://www.dnswl.org/,\n\tmedium trust [195.135.220.15 listed in list.dnswl.org]\n\t-0.0 SPF_PASS               SPF: sender matches SPF record\n\t-0.0 RP_MATCHES_RCVD Envelope sender domain matches handover relay\n\tdomain\n\t-1.9 BAYES_00               BODY: Bayes spam probability is 0 to 1%\n\t[score: 0.0000]",
        "X-BeenThere": "linux-arm-kernel@lists.infradead.org",
        "X-Mailman-Version": "2.1.21",
        "Precedence": "list",
        "List-Unsubscribe": "<http://lists.infradead.org/mailman/options/linux-arm-kernel>,\n\t<mailto:linux-arm-kernel-request@lists.infradead.org?subject=unsubscribe>",
        "List-Archive": "<http://lists.infradead.org/pipermail/linux-arm-kernel/>",
        "List-Post": "<mailto:linux-arm-kernel@lists.infradead.org>",
        "List-Help": "<mailto:linux-arm-kernel-request@lists.infradead.org?subject=help>",
        "List-Subscribe": "<http://lists.infradead.org/mailman/listinfo/linux-arm-kernel>,\n\t<mailto:linux-arm-kernel-request@lists.infradead.org?subject=subscribe>",
        "Cc": "support@lemaker.org, =?utf-8?b?5byg5aSp55uK?= <tyzhang@actions-semi.com>,\n\tFlorian Fainelli <f.fainelli@gmail.com>, =?utf-8?b?5qKF5Yip?=\n\t<harrymei@actions-semi.com>, =?utf-8?b?5YiY54Kc?=\n\t<liuwei@actions-semi.com>, linux-kernel@vger.kernel.org,\n\tThomas Liau <thomas.liau@actions-semi.com>, Russell King\n\t<linux@armlinux.org.uk>, support@cubietech.com, lee@cubietech.com, \n\t=?utf-8?b?5byg5Lic6aOO?= <zhangdf@actions-semi.com>,\n\t96boards@ucrobotics.com, Ioan B <ioan@allo.com>",
        "Content-Type": "text/plain; charset=\"utf-8\"",
        "Content-Transfer-Encoding": "base64",
        "Sender": "\"linux-arm-kernel\" <linux-arm-kernel-bounces@lists.infradead.org>",
        "Errors-To": "linux-arm-kernel-bounces+incoming-imx=patchwork.ozlabs.org@lists.infradead.org",
        "List-Id": "linux-imx-kernel.lists.patchwork.ozlabs.org"
    },
    "content": "Replace an occurrence of virt_to_phys() with __pa_symbol() macro.\n\nSee 64fc2a947a9873700929ec0ef02b4654a04e0476 (\"ARM: 8641/1: treewide:\nReplace uses of virt_to_phys with __pa_symbol\").\n\nFixes: 172067e0bc87 (\"ARM: owl: Implement CPU enable-method for S500\")\nReported-by: Florian Fainelli <f.fainelli@gmail.com>\nSigned-off-by: Andreas Färber <afaerber@suse.de>\n---\n v1 -> v2: New\n \n arch/arm/mach-actions/platsmp.c | 2 +-\n 1 file changed, 1 insertion(+), 1 deletion(-)",
    "diff": "diff --git a/arch/arm/mach-actions/platsmp.c b/arch/arm/mach-actions/platsmp.c\nindex 12a9e331b432..7238926ab015 100644\n--- a/arch/arm/mach-actions/platsmp.c\n+++ b/arch/arm/mach-actions/platsmp.c\n@@ -71,7 +71,7 @@ static int s500_wakeup_secondary(unsigned int cpu)\n \t/* wait for CPUx to run to WFE instruction */\n \tudelay(200);\n \n-\twritel(virt_to_phys(owl_secondary_startup),\n+\twritel(__pa_symbol(owl_secondary_startup),\n \t       timer_base_addr + OWL_CPU1_ADDR + (cpu - 1) * 4);\n \twritel(OWL_CPUx_FLAG_BOOT,\n \t       timer_base_addr + OWL_CPU1_FLAG + (cpu - 1) * 4);\n",
    "prefixes": [
        "v2",
        "1/2"
    ]
}