get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 1466017,
    "url": "http://patchwork.ozlabs.org/api/patches/1466017/?format=api",
    "web_url": "http://patchwork.ozlabs.org/project/linux-um/patch/20210414064350.3923-3-rdunlap@infradead.org/",
    "project": {
        "id": 60,
        "url": "http://patchwork.ozlabs.org/api/projects/60/?format=api",
        "name": "User-mode Linux Development",
        "link_name": "linux-um",
        "list_id": "linux-um.lists.infradead.org",
        "list_email": "linux-um@lists.infradead.org",
        "web_url": "",
        "scm_url": "",
        "webscm_url": "",
        "list_archive_url": "",
        "list_archive_url_format": "",
        "commit_url_format": ""
    },
    "msgid": "<20210414064350.3923-3-rdunlap@infradead.org>",
    "list_archive_url": null,
    "date": "2021-04-14T06:43:49",
    "name": "[2/3] um: elf.h: fix W=1 warning for empty body in 'do' statement",
    "commit_ref": null,
    "pull_url": null,
    "state": "accepted",
    "archived": false,
    "hash": "b50f2b2772725dc4721b7d70211ef727025688f0",
    "submitter": {
        "id": 18663,
        "url": "http://patchwork.ozlabs.org/api/people/18663/?format=api",
        "name": "Randy Dunlap",
        "email": "rdunlap@infradead.org"
    },
    "delegate": null,
    "mbox": "http://patchwork.ozlabs.org/project/linux-um/patch/20210414064350.3923-3-rdunlap@infradead.org/mbox/",
    "series": [
        {
            "id": 239058,
            "url": "http://patchwork.ozlabs.org/api/series/239058/?format=api",
            "web_url": "http://patchwork.ozlabs.org/project/linux-um/list/?series=239058",
            "date": "2021-04-14T06:43:47",
            "name": "um: headers: fix various W=1 warnings",
            "version": 1,
            "mbox": "http://patchwork.ozlabs.org/series/239058/mbox/"
        }
    ],
    "comments": "http://patchwork.ozlabs.org/api/patches/1466017/comments/",
    "check": "pending",
    "checks": "http://patchwork.ozlabs.org/api/patches/1466017/checks/",
    "tags": {},
    "related": [],
    "headers": {
        "Return-Path": "\n <linux-um-bounces+incoming=patchwork.ozlabs.org@lists.infradead.org>",
        "X-Original-To": "incoming@patchwork.ozlabs.org",
        "Delivered-To": "patchwork-incoming@bilbo.ozlabs.org",
        "Authentication-Results": [
            "ozlabs.org;\n spf=none (no SPF record) smtp.mailfrom=lists.infradead.org\n (client-ip=2001:8b0:10b:1:d65d:64ff:fe57:4e05; helo=desiato.infradead.org;\n envelope-from=linux-um-bounces+incoming=patchwork.ozlabs.org@lists.infradead.org;\n receiver=<UNKNOWN>)",
            "ozlabs.org;\n\tdkim=pass (2048-bit key;\n secure) header.d=lists.infradead.org header.i=@lists.infradead.org\n header.a=rsa-sha256 header.s=desiato.20200630 header.b=rYxtCaTa;\n\tdkim-atps=neutral"
        ],
        "Received": [
            "from desiato.infradead.org (desiato.infradead.org\n [IPv6:2001:8b0:10b:1:d65d:64ff:fe57:4e05])\n\t(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)\n\t key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest\n SHA256)\n\t(No client certificate requested)\n\tby ozlabs.org (Postfix) with ESMTPS id 4FKtHT4w3gz9sVv\n\tfor <incoming@patchwork.ozlabs.org>; Wed, 14 Apr 2021 16:44:21 +1000 (AEST)",
            "from localhost ([::1] helo=desiato.infradead.org)\n\tby desiato.infradead.org with esmtp (Exim 4.94 #2 (Red Hat Linux))\n\tid 1lWZFw-00BiJz-G1; Wed, 14 Apr 2021 06:44:08 +0000",
            "from [2601:1c0:6280:3f0::e0e1] (helo=smtpauth.infradead.org)\n by desiato.infradead.org with esmtpsa (Exim 4.94 #2 (Red Hat Linux))\n id 1lWZFn-00BiGB-Ch; Wed, 14 Apr 2021 06:43:59 +0000"
        ],
        "DKIM-Signature": "v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed;\n\td=lists.infradead.org; s=desiato.20200630; h=Sender:Content-Transfer-Encoding\n\t:Content-Type:List-Subscribe:List-Help:List-Post:List-Archive:\n\tList-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To:Message-Id:Date:\n\tSubject:Cc:To:From:Reply-To:Content-ID:Content-Description:Resent-Date:\n\tResent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner;\n\t bh=zaXDt6kUmHZACoqRfOjnFWCWFlFO744qj0NkMz4w8fM=; b=rYxtCaTaCIt0kP7aSqbOuNroh\n\t5BWgkioiMs27D2qwgu7zpajnckruAmwn6wwBPjkr73oy8I81yvYwSz/K/fr6yGY7gtvG/D7PpmBaZ\n\tX/NNDRr6iU2mF4yU8KcTewxLkjRq/oqKCqGeTEk+sk/qGgp+PjgC7/Z1jGm0ZwMaqc7xHmsYVaSrp\n\tcp1i4LtkLaft1FMStZNUN6G1EGsllaz+zZ7SStGQwG/uduZellSKPgMal/D1pL9+MXKxwhMOmpmhG\n\toYv+cJVWYcmWDVaegoGbYYCwEqxdwJ/Skn+Jn6bFmrPOZJ2Yy3iXZxrvon73rY+mFgauzmOg6yHk4\n\tSJ10fbTvg==;",
        "From": "Randy Dunlap <rdunlap@infradead.org>",
        "To": "linux-kernel@vger.kernel.org",
        "Cc": "Randy Dunlap <rdunlap@infradead.org>, Jeff Dike <jdike@addtoit.com>,\n Richard Weinberger <richard@nod.at>,\n Anton Ivanov <anton.ivanov@cambridgegreys.com>,\n linux-um@lists.infradead.org",
        "Subject": "[PATCH 2/3] um: elf.h: fix W=1 warning for empty body in 'do'\n statement",
        "Date": "Tue, 13 Apr 2021 23:43:49 -0700",
        "Message-Id": "<20210414064350.3923-3-rdunlap@infradead.org>",
        "X-Mailer": "git-send-email 2.26.2",
        "In-Reply-To": "<20210414064350.3923-1-rdunlap@infradead.org>",
        "References": "<20210414064350.3923-1-rdunlap@infradead.org>",
        "MIME-Version": "1.0",
        "X-BeenThere": "linux-um@lists.infradead.org",
        "X-Mailman-Version": "2.1.34",
        "Precedence": "list",
        "List-Id": "<linux-um.lists.infradead.org>",
        "List-Unsubscribe": "<http://lists.infradead.org/mailman/options/linux-um>,\n <mailto:linux-um-request@lists.infradead.org?subject=unsubscribe>",
        "List-Archive": "<http://lists.infradead.org/pipermail/linux-um/>",
        "List-Post": "<mailto:linux-um@lists.infradead.org>",
        "List-Help": "<mailto:linux-um-request@lists.infradead.org?subject=help>",
        "List-Subscribe": "<http://lists.infradead.org/mailman/listinfo/linux-um>,\n <mailto:linux-um-request@lists.infradead.org?subject=subscribe>",
        "Content-Type": "text/plain; charset=\"utf-8\"",
        "Content-Transfer-Encoding": "base64",
        "Sender": "\"linux-um\" <linux-um-bounces@lists.infradead.org>",
        "Errors-To": "linux-um-bounces+incoming=patchwork.ozlabs.org@lists.infradead.org"
    },
    "content": "Use the common kernel style to eliminate a warning:\n\n./arch/x86/um/asm/elf.h:215:32: warning: suggest braces around empty body in ‘do’ statement [-Wempty-body]\n #define SET_PERSONALITY(ex) do ; while(0)\n                                ^\n\nSigned-off-by: Randy Dunlap <rdunlap@infradead.org>\nCc: Jeff Dike <jdike@addtoit.com>\nCc: Richard Weinberger <richard@nod.at>\nCc: Anton Ivanov <anton.ivanov@cambridgegreys.com>\nCc: linux-um@lists.infradead.org\n---\n arch/x86/um/asm/elf.h |    2 +-\n 1 file changed, 1 insertion(+), 1 deletion(-)",
    "diff": "--- linux-next-20210413.orig/arch/x86/um/asm/elf.h\n+++ linux-next-20210413/arch/x86/um/asm/elf.h\n@@ -212,6 +212,6 @@ extern int elf_core_copy_fpregs(struct t\n extern long elf_aux_hwcap;\n #define ELF_HWCAP (elf_aux_hwcap)\n \n-#define SET_PERSONALITY(ex) do ; while(0)\n+#define SET_PERSONALITY(ex) do {} while(0)\n \n #endif\n",
    "prefixes": [
        "2/3"
    ]
}