get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 1466737,
    "url": "http://patchwork.ozlabs.org/api/patches/1466737/?format=api",
    "web_url": "http://patchwork.ozlabs.org/project/linux-um/patch/20210415171352.27398-1-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": "<20210415171352.27398-1-rdunlap@infradead.org>",
    "list_archive_url": null,
    "date": "2021-04-15T17:13:52",
    "name": "[v2] uml: fix W=1 missing-include-dirs warnings",
    "commit_ref": null,
    "pull_url": null,
    "state": "accepted",
    "archived": false,
    "hash": "b30d0ca964658f4b411679fc99888d841aea9a2b",
    "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/20210415171352.27398-1-rdunlap@infradead.org/mbox/",
    "series": [
        {
            "id": 239374,
            "url": "http://patchwork.ozlabs.org/api/series/239374/?format=api",
            "web_url": "http://patchwork.ozlabs.org/project/linux-um/list/?series=239374",
            "date": "2021-04-15T17:13:52",
            "name": "[v2] uml: fix W=1 missing-include-dirs warnings",
            "version": 2,
            "mbox": "http://patchwork.ozlabs.org/series/239374/mbox/"
        }
    ],
    "comments": "http://patchwork.ozlabs.org/api/patches/1466737/comments/",
    "check": "pending",
    "checks": "http://patchwork.ozlabs.org/api/patches/1466737/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=LOfgCcSL;\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 4FLmCn0z4Lz9sW1\n\tfor <incoming@patchwork.ozlabs.org>; Fri, 16 Apr 2021 03:14:13 +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 1lX5Z5-00GpKk-3k; Thu, 15 Apr 2021 17:14:03 +0000",
            "from [2601:1c0:6280:3f0::df68] (helo=smtpauth.infradead.org)\n by desiato.infradead.org with esmtpsa (Exim 4.94 #2 (Red Hat Linux))\n id 1lX5Yz-00GpJa-JD; Thu, 15 Apr 2021 17:13: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:Message-Id:Date:Subject:Cc:To:From:\n\tReply-To:Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender\n\t:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References:List-Owner;\n\tbh=LiUDEgfw7ur1yoX3Q4fVdwJ15nBFw1Puo63r+JRRCTc=; b=LOfgCcSLY5uVpYD/L1vQ16d7Ad\n\tCVEtJQBpxRhG54/aet00UCXRu3kEiPJ9lw1mYLq2xyidMnBkAw6NyYHu86rr7UdTKiW9cQINHaYpp\n\tUIY7/SoyX8liOo7y83LLKeGNwGctP1Qzz8UoXgujbVjjx57+x9Er+fS+uQ5WjpM4au8mcBs9ixpFN\n\tNBZtRV38kh2SYcZW9+no5VGp2Adf8iRQ88d147deirwPOYWpmvsqSi+HbfOd0l2w9MOEL8jIavw+E\n\tTS7Zi53b5nkaw8j1XJ7qTeMDFCbEt45P6eUUXdRNR97WZstW1gNmbrBBqsq1mZBgSs/IOQu16AZ3O\n\tshQo4KPg==;",
        "From": "Randy Dunlap <rdunlap@infradead.org>",
        "To": "linux-kernel@vger.kernel.org",
        "Cc": "Randy Dunlap <rdunlap@infradead.org>,\n Masahiro Yamada <masahiroy@kernel.org>,\n Michal Marek <michal.lkml@markovi.net>, linux-kbuild@vger.kernel.org,\n Jeff Dike <jdike@addtoit.com>, Richard Weinberger <richard@nod.at>,\n Anton Ivanov <anton.ivanov@cambridgegreys.com>,\n linux-um@lists.infradead.org",
        "Subject": "[PATCH v2] uml: fix W=1 missing-include-dirs warnings",
        "Date": "Thu, 15 Apr 2021 10:13:52 -0700",
        "Message-Id": "<20210415171352.27398-1-rdunlap@infradead.org>",
        "X-Mailer": "git-send-email 2.26.2",
        "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=\"us-ascii\"",
        "Content-Transfer-Encoding": "7bit",
        "Sender": "\"linux-um\" <linux-um-bounces@lists.infradead.org>",
        "Errors-To": "linux-um-bounces+incoming=patchwork.ozlabs.org@lists.infradead.org"
    },
    "content": "Currently when using \"W=1\" with UML builds, there are over 700 warnings\nlike so:\n\n  CC      arch/um/drivers/stderr_console.o\ncc1: warning: ./arch/um/include/uapi: No such file or directory [-Wmissing-include-dirs]\n\nbut arch/um/ does not have include/uapi/ at all, so add that\nsubdir and put one Kbuild file into it (since git does not track\nempty subdirs).\n\nSigned-off-by: Randy Dunlap <rdunlap@infradead.org>\nCc: Masahiro Yamada <masahiroy@kernel.org>\nCc: Michal Marek <michal.lkml@markovi.net>\nCc: linux-kbuild@vger.kernel.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---\nv2: use Option 4 from v1: add arch/um/include/uapi so that 'make' is\n    placated -- and just like all other arch's have.\n\n arch/um/include/uapi/asm/Kbuild |    1 +\n 1 file changed, 1 insertion(+)",
    "diff": "diff --git a/arch/um/include/uapi/asm/Kbuild b/arch/um/include/uapi/asm/Kbuild\nnew file mode 100644\nindex 000000000000..f66554cd5c45\n--- /dev/null\n+++ b/arch/um/include/uapi/asm/Kbuild\n@@ -0,0 +1 @@\n+# SPDX-License-Identifier: GPL-2.0\n",
    "prefixes": [
        "v2"
    ]
}