get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 772730,
    "url": "http://patchwork.ozlabs.org/api/patches/772730/?format=api",
    "web_url": "http://patchwork.ozlabs.org/project/linuxppc-dev/patch/1496876436-32402-79-git-send-email-w@1wt.eu/",
    "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": "<1496876436-32402-79-git-send-email-w@1wt.eu>",
    "list_archive_url": "https://lore.kernel.org/linuxppc-dev/1496876436-32402-79-git-send-email-w@1wt.eu/",
    "date": "2017-06-07T22:57:44",
    "name": "[3.10,078/250] powerpc: Fix build warning on 32-bit PPC",
    "commit_ref": null,
    "pull_url": null,
    "state": "not-applicable",
    "archived": false,
    "hash": "f84d573cbdf8f5a5acceaf55b43374f1e06e03b5",
    "submitter": {
        "id": 361,
        "url": "http://patchwork.ozlabs.org/api/people/361/?format=api",
        "name": "Willy Tarreau",
        "email": "w@1wt.eu"
    },
    "delegate": null,
    "mbox": "http://patchwork.ozlabs.org/project/linuxppc-dev/patch/1496876436-32402-79-git-send-email-w@1wt.eu/mbox/",
    "series": [],
    "comments": "http://patchwork.ozlabs.org/api/patches/772730/comments/",
    "check": "pending",
    "checks": "http://patchwork.ozlabs.org/api/patches/772730/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 3wjkpG4tz4z9s8F\n\tfor <patchwork-incoming@ozlabs.org>;\n\tThu,  8 Jun 2017 09:11:50 +1000 (AEST)",
            "from lists.ozlabs.org (lists.ozlabs.org [IPv6:2401:3900:2:1::3])\n\tby lists.ozlabs.org (Postfix) with ESMTP id 3wjkpG3yMBzDqNX\n\tfor <patchwork-incoming@ozlabs.org>;\n\tThu,  8 Jun 2017 09:11:50 +1000 (AEST)",
            "from 1wt.eu (wtarreau.pck.nerim.net [62.212.114.60])\n\tby lists.ozlabs.org (Postfix) with ESMTP id 3wjkn141rkzDqKs\n\tfor <linuxppc-dev@lists.ozlabs.org>;\n\tThu,  8 Jun 2017 09:10:45 +1000 (AEST)",
            "(from willy@localhost)\n\tby pcw.home.local (8.15.2/8.15.2/Submit) id v57N16vd000310;\n\tThu, 8 Jun 2017 01:01:06 +0200"
        ],
        "X-Greylist": "delayed 352 seconds by postgrey-1.36 at bilbo;\n\tThu, 08 Jun 2017 09:10:45 AEST",
        "From": "Willy Tarreau <w@1wt.eu>",
        "To": "linux-kernel@vger.kernel.org, stable@vger.kernel.org, linux@roeck-us.net",
        "Subject": "[PATCH 3.10 078/250] powerpc: Fix build warning on 32-bit PPC",
        "Date": "Thu,  8 Jun 2017 00:57:44 +0200",
        "Message-Id": "<1496876436-32402-79-git-send-email-w@1wt.eu>",
        "X-Mailer": "git-send-email 2.8.0.rc2.1.gbe9624a",
        "In-Reply-To": "<1496876436-32402-1-git-send-email-w@1wt.eu>",
        "References": "<1496876436-32402-1-git-send-email-w@1wt.eu>",
        "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": "Nicholas Piggin <npiggin@gmail.com>,\n\tLinus Torvalds <torvalds@linux-foundation.org>,\n\tPaul Mackerras <paulus@samba.org>, linuxppc-dev@lists.ozlabs.org,\n\tWilly Tarreau <w@1wt.eu>, Larry Finger <Larry.Finger@lwfinger.net>",
        "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": "From: Larry Finger <Larry.Finger@lwfinger.net>\n\ncommit 8ae679c4bc2ea2d16d92620da8e3e9332fa4039f upstream.\n\nI am getting the following warning when I build kernel 4.9-git on my\nPowerBook G4 with a 32-bit PPC processor:\n\n    AS      arch/powerpc/kernel/misc_32.o\n  arch/powerpc/kernel/misc_32.S:299:7: warning: \"CONFIG_FSL_BOOKE\" is not defined [-Wundef]\n\nThis problem is evident after commit 989cea5c14be (\"kbuild: prevent\nlib-ksyms.o rebuilds\"); however, this change in kbuild only exposes an\nerror that has been in the code since 2005 when this source file was\ncreated.  That was with commit 9994a33865f4 (\"powerpc: Introduce\nentry_{32,64}.S, misc_{32,64}.S, systbl.S\").\n\nThe offending line does not make a lot of sense.  This error does not\nseem to cause any errors in the executable, thus I am not recommending\nthat it be applied to any stable versions.\n\nThanks to Nicholas Piggin for suggesting this solution.\n\nFixes: 9994a33865f4 (\"powerpc: Introduce entry_{32,64}.S, misc_{32,64}.S, systbl.S\")\nSigned-off-by: Larry Finger <Larry.Finger@lwfinger.net>\nCc: Nicholas Piggin <npiggin@gmail.com>\nCc: Benjamin Herrenschmidt <benh@kernel.crashing.org>\nCc: Paul Mackerras <paulus@samba.org>\nCc: Michael Ellerman <mpe@ellerman.id.au>\nCc: linuxppc-dev@lists.ozlabs.org\nSigned-off-by: Linus Torvalds <torvalds@linux-foundation.org>\nSigned-off-by: Willy Tarreau <w@1wt.eu>\n---\n arch/powerpc/kernel/misc_32.S | 2 +-\n 1 file changed, 1 insertion(+), 1 deletion(-)",
    "diff": "diff --git a/arch/powerpc/kernel/misc_32.S b/arch/powerpc/kernel/misc_32.S\nindex e469f30..ad8573f 100644\n--- a/arch/powerpc/kernel/misc_32.S\n+++ b/arch/powerpc/kernel/misc_32.S\n@@ -295,7 +295,7 @@ _GLOBAL(flush_instruction_cache)\n \tlis\tr3, KERNELBASE@h\n \ticcci\t0,r3\n #endif\n-#elif CONFIG_FSL_BOOKE\n+#elif defined(CONFIG_FSL_BOOKE)\n BEGIN_FTR_SECTION\n \tmfspr   r3,SPRN_L1CSR0\n \tori     r3,r3,L1CSR0_CFI|L1CSR0_CLFC\n",
    "prefixes": [
        "3.10",
        "078/250"
    ]
}