get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 1444208,
    "url": "http://patchwork.ozlabs.org/api/patches/1444208/?format=api",
    "web_url": "http://patchwork.ozlabs.org/project/uboot/patch/1614244979-48216-12-git-send-email-bmeng.cn@gmail.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": "<1614244979-48216-12-git-send-email-bmeng.cn@gmail.com>",
    "list_archive_url": null,
    "date": "2021-02-25T09:22:32",
    "name": "[v3,11/38] include: Remove extern from addr_map.h",
    "commit_ref": "c40131acc030ac9b1bf0704306aa18295d44ff2a",
    "pull_url": null,
    "state": "accepted",
    "archived": false,
    "hash": "1d92df086cca14ad714dc2f6acc4968c38c082c9",
    "submitter": {
        "id": 64981,
        "url": "http://patchwork.ozlabs.org/api/people/64981/?format=api",
        "name": "Bin Meng",
        "email": "bmeng.cn@gmail.com"
    },
    "delegate": {
        "id": 87636,
        "url": "http://patchwork.ozlabs.org/api/users/87636/?format=api",
        "username": "priyankajain",
        "first_name": "Priyanka",
        "last_name": "Jain",
        "email": "priyanka.jain@nxp.com"
    },
    "mbox": "http://patchwork.ozlabs.org/project/uboot/patch/1614244979-48216-12-git-send-email-bmeng.cn@gmail.com/mbox/",
    "series": [
        {
            "id": 230985,
            "url": "http://patchwork.ozlabs.org/api/series/230985/?format=api",
            "web_url": "http://patchwork.ozlabs.org/project/uboot/list/?series=230985",
            "date": "2021-02-25T09:22:22",
            "name": "ppc: qemu: Convert qemu-ppce500 to driver model and enable additional driver support",
            "version": 3,
            "mbox": "http://patchwork.ozlabs.org/series/230985/mbox/"
        }
    ],
    "comments": "http://patchwork.ozlabs.org/api/patches/1444208/comments/",
    "check": "pending",
    "checks": "http://patchwork.ozlabs.org/api/patches/1444208/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 spf=pass (sender SPF authorized) smtp.mailfrom=lists.denx.de\n (client-ip=85.214.62.61; helo=phobos.denx.de;\n envelope-from=u-boot-bounces@lists.denx.de; receiver=<UNKNOWN>)",
            "ozlabs.org;\n\tdkim=pass (2048-bit key;\n unprotected) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256\n header.s=20161025 header.b=DsEPc1WK;\n\tdkim-atps=neutral",
            "phobos.denx.de;\n dmarc=pass (p=none dis=none) header.from=gmail.com",
            "phobos.denx.de;\n spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de",
            "phobos.denx.de;\n\tdkim=pass (2048-bit key;\n unprotected) header.d=gmail.com header.i=@gmail.com header.b=\"DsEPc1WK\";\n\tdkim-atps=neutral",
            "phobos.denx.de;\n dmarc=pass (p=none dis=none) header.from=gmail.com",
            "phobos.denx.de;\n spf=pass smtp.mailfrom=bmeng.cn@gmail.com"
        ],
        "Received": [
            "from phobos.denx.de (phobos.denx.de [85.214.62.61])\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))\n\t(No client certificate requested)\n\tby ozlabs.org (Postfix) with ESMTPS id 4DmS896WMdz9sVR\n\tfor <incoming@patchwork.ozlabs.org>; Thu, 25 Feb 2021 20:26:01 +1100 (AEDT)",
            "from h2850616.stratoserver.net (localhost [IPv6:::1])\n\tby phobos.denx.de (Postfix) with ESMTP id 7E19C8120B;\n\tThu, 25 Feb 2021 10:25:06 +0100 (CET)",
            "by phobos.denx.de (Postfix, from userid 109)\n id 45DF7806C5; Thu, 25 Feb 2021 10:24:18 +0100 (CET)",
            "from mail-ej1-x635.google.com (mail-ej1-x635.google.com\n [IPv6:2a00:1450:4864:20::635])\n (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits))\n (No client certificate requested)\n by phobos.denx.de (Postfix) with ESMTPS id 0C13A812B7\n for <u-boot@lists.denx.de>; Thu, 25 Feb 2021 10:24:13 +0100 (CET)",
            "by mail-ej1-x635.google.com with SMTP id n20so7654000ejb.5\n for <u-boot@lists.denx.de>; Thu, 25 Feb 2021 01:24:13 -0800 (PST)",
            "from pek-vx-bsp2.wrs.com\n (ec2-44-242-66-180.us-west-2.compute.amazonaws.com. [44.242.66.180])\n by smtp.gmail.com with ESMTPSA id k22sm2987368edv.33.2021.02.25.01.24.09\n (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128);\n Thu, 25 Feb 2021 01:24:12 -0800 (PST)"
        ],
        "X-Spam-Checker-Version": "SpamAssassin 3.4.2 (2018-09-13) on phobos.denx.de",
        "X-Spam-Level": "",
        "X-Spam-Status": "No, score=-2.0 required=5.0 tests=BAYES_00,DKIM_SIGNED,\n DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,SPF_HELO_NONE autolearn=ham\n autolearn_force=no version=3.4.2",
        "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025;\n h=from:to:cc:subject:date:message-id:in-reply-to:references;\n bh=6AW/D331G0CKe/5wz6NMQHJ00tDT1McfyOwRl1ApDbw=;\n b=DsEPc1WKgF7Xe2OMepASwmf7VnK/sahm5aRxBaQfE4kJVDAzM6MKyqj1gRPhPlDs/8\n FpJVyrs/fDoIgI2fRLPcuLdTBrNxI1AeQj8JlRUUQKCXfCLcnG0DO9If5C5466Y6MnTN\n 8Fipthf1GORCXjHo+ZROJJdjm2i8H6unx4/KQuza+fDaBZWw7lMN4ZVsIUq0CnFf1UA/\n dKohntvMldYDg14Oy4NYvdNJho2HXCGDG+eL6wKBOuKN6YhF/Usm7KnLLNUlSGiM60lF\n InQQt1+cuiulY77+QCBFNe55EdDNiJaNE1FPUIxTCGSPvHAK4/Pgtzn1HtjcHosvcqum\n ku4w==",
        "X-Google-DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n d=1e100.net; s=20161025;\n h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to\n :references;\n bh=6AW/D331G0CKe/5wz6NMQHJ00tDT1McfyOwRl1ApDbw=;\n b=YB+/I0NlTUGh/IEKJxNLFiN4PjYs90E9u7WgM9PrY/B1XpLrFd2zLETRGbEFiZMZkw\n xuyvjhv9vO3NVsgmO6lAuddMcR3++0A5UJU7k3AFSJ/wevrd6/qcSgMac86Ct3AIO25+\n iB0zefRzE5zfSx0lCzq9eIC78kYe8ZZEJ+gFa13KrtEfhT/ca535IJ5SAch9S6kZlhiI\n xX3g0Wv9lGkP56fz+FP57WTngebesULaya4Z3RhTSNwrGB3RN9bVbf4/ngK1C5L1tFhB\n gLKHy2wxIkOkOwWDrLVObh6nZsM6hJD4HaBjyzQA4nAxInkXnZ1ZwWFB9MUq1Q4XZ/P5\n BR8A==",
        "X-Gm-Message-State": "AOAM531gw9c/h4qBWaG28G8k/OS/ThGMrH6GsriJwkqrzYOTdUNZGWDi\n udtUwUsuOSn+DMWVsEHllyM=",
        "X-Google-Smtp-Source": "\n ABdhPJxTdzLHQyxhmLHAKEdyfOch1756jwUx+VhH4o74FqYsVnel7L0sGwSa3tf9Mx76Pap6QqwM0w==",
        "X-Received": "by 2002:a17:907:77c1:: with SMTP id\n kz1mr1811138ejc.481.1614245052789;\n Thu, 25 Feb 2021 01:24:12 -0800 (PST)",
        "From": "Bin Meng <bmeng.cn@gmail.com>",
        "To": "Simon Glass <sjg@chromium.org>, Alexander Graf <agraf@csgraf.de>,\n Priyanka Jain <priyanka.jain@nxp.com>",
        "Cc": "U-Boot Mailing List <u-boot@lists.denx.de>, Tom Rini <trini@konsulko.com>",
        "Subject": "[PATCH v3 11/38] include: Remove extern from addr_map.h",
        "Date": "Thu, 25 Feb 2021 17:22:32 +0800",
        "Message-Id": "<1614244979-48216-12-git-send-email-bmeng.cn@gmail.com>",
        "X-Mailer": "git-send-email 2.7.4",
        "In-Reply-To": "<1614244979-48216-1-git-send-email-bmeng.cn@gmail.com>",
        "References": "<1614244979-48216-1-git-send-email-bmeng.cn@gmail.com>",
        "X-BeenThere": "u-boot@lists.denx.de",
        "X-Mailman-Version": "2.1.34",
        "Precedence": "list",
        "List-Id": "U-Boot discussion <u-boot.lists.denx.de>",
        "List-Unsubscribe": "<https://lists.denx.de/options/u-boot>,\n <mailto:u-boot-request@lists.denx.de?subject=unsubscribe>",
        "List-Archive": "<https://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 <mailto:u-boot-request@lists.denx.de?subject=subscribe>",
        "Errors-To": "u-boot-bounces@lists.denx.de",
        "Sender": "\"U-Boot\" <u-boot-bounces@lists.denx.de>",
        "X-Virus-Scanned": "clamav-milter 0.102.4 at phobos.denx.de",
        "X-Virus-Status": "Clean"
    },
    "content": "Remove the extern of the header because they are useless.\n\nSigned-off-by: Bin Meng <bmeng.cn@gmail.com>\nReviewed-by: Simon Glass <sjg@chromium.org>\nReviewed-by: Priyanka Jain <priyanka.jain@nxp.com>\n---\n\n(no changes since v1)\n\n include/addr_map.h | 8 ++++----\n 1 file changed, 4 insertions(+), 4 deletions(-)",
    "diff": "diff --git a/include/addr_map.h b/include/addr_map.h\nindex d322dd2..85e737d 100644\n--- a/include/addr_map.h\n+++ b/include/addr_map.h\n@@ -8,9 +8,9 @@\n \n #include <asm/types.h>\n \n-extern phys_addr_t addrmap_virt_to_phys(void *vaddr);\n-extern void *addrmap_phys_to_virt(phys_addr_t paddr);\n-extern void addrmap_set_entry(unsigned long vaddr, phys_addr_t paddr,\n-\t\t\t\tphys_size_t size, int idx);\n+phys_addr_t addrmap_virt_to_phys(void *vaddr);\n+void *addrmap_phys_to_virt(phys_addr_t paddr);\n+void addrmap_set_entry(unsigned long vaddr, phys_addr_t paddr,\n+\t\t       phys_size_t size, int idx);\n \n #endif\n",
    "prefixes": [
        "v3",
        "11/38"
    ]
}