get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 1107826,
    "url": "http://patchwork.ozlabs.org/api/patches/1107826/?format=api",
    "web_url": "http://patchwork.ozlabs.org/project/uboot/patch/20190530162831.21365-1-alexm.osslist@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": "<20190530162831.21365-1-alexm.osslist@gmail.com>",
    "list_archive_url": null,
    "date": "2019-05-30T16:28:31",
    "name": "[U-Boot,v2] armv8: fsl-layerscape: fix config dependency for layerscape pci code",
    "commit_ref": null,
    "pull_url": null,
    "state": "accepted",
    "archived": false,
    "hash": "12f307871865c17e3f03f5d67e05e09d74130f8a",
    "submitter": {
        "id": 76732,
        "url": "http://patchwork.ozlabs.org/api/people/76732/?format=api",
        "name": "Alexandru Marginean",
        "email": "alexm.osslist@gmail.com"
    },
    "delegate": {
        "id": 2467,
        "url": "http://patchwork.ozlabs.org/api/users/2467/?format=api",
        "username": "prabhu_kush",
        "first_name": "Prabhakar",
        "last_name": "Kushwaha",
        "email": "prabhakar@freescale.com"
    },
    "mbox": "http://patchwork.ozlabs.org/project/uboot/patch/20190530162831.21365-1-alexm.osslist@gmail.com/mbox/",
    "series": [
        {
            "id": 110922,
            "url": "http://patchwork.ozlabs.org/api/series/110922/?format=api",
            "web_url": "http://patchwork.ozlabs.org/project/uboot/list/?series=110922",
            "date": "2019-05-30T16:28:31",
            "name": "[U-Boot,v2] armv8: fsl-layerscape: fix config dependency for layerscape pci code",
            "version": 2,
            "mbox": "http://patchwork.ozlabs.org/series/110922/mbox/"
        }
    ],
    "comments": "http://patchwork.ozlabs.org/api/patches/1107826/comments/",
    "check": "pending",
    "checks": "http://patchwork.ozlabs.org/api/patches/1107826/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\tspf=none (mailfrom) smtp.mailfrom=lists.denx.de\n\t(client-ip=81.169.180.215; helo=lists.denx.de;\n\tenvelope-from=u-boot-bounces@lists.denx.de;\n\treceiver=<UNKNOWN>)",
            "ozlabs.org;\n\tdmarc=fail (p=none dis=none) header.from=gmail.com",
            "ozlabs.org;\n\tdkim=fail reason=\"signature verification failed\" (2048-bit key;\n\tunprotected) header.d=gmail.com header.i=@gmail.com\n\theader.b=\"Un4lWmUJ\"; dkim-atps=neutral"
        ],
        "Received": [
            "from lists.denx.de (dione.denx.de [81.169.180.215])\n\tby ozlabs.org (Postfix) with ESMTP id 45FChJ1V4xz9s1c\n\tfor <incoming@patchwork.ozlabs.org>;\n\tFri, 31 May 2019 02:29:04 +1000 (AEST)",
            "by lists.denx.de (Postfix, from userid 105)\n\tid D5D64C21DB3; Thu, 30 May 2019 16:29:00 +0000 (UTC)",
            "from lists.denx.de (localhost [IPv6:::1])\n\tby lists.denx.de (Postfix) with ESMTP id 7C9FAC21C2F;\n\tThu, 30 May 2019 16:28:58 +0000 (UTC)",
            "by lists.denx.de (Postfix, from userid 105)\n\tid 5519CC21C2F; Thu, 30 May 2019 16:28:57 +0000 (UTC)",
            "from mail-wr1-f68.google.com (mail-wr1-f68.google.com\n\t[209.85.221.68])\n\tby lists.denx.de (Postfix) with ESMTPS id 0EECEC21BE5\n\tfor <u-boot@lists.denx.de>; Thu, 30 May 2019 16:28:57 +0000 (UTC)",
            "by mail-wr1-f68.google.com with SMTP id w13so4594084wru.11\n\tfor <u-boot@lists.denx.de>; Thu, 30 May 2019 09:28:57 -0700 (PDT)",
            "from fsr-ub1864-115.ea.freescale.net ([86.121.167.19])\n\tby smtp.gmail.com with ESMTPSA id\n\tg185sm3455949wmf.30.2019.05.30.09.28.54\n\t(version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128);\n\tThu, 30 May 2019 09:28:55 -0700 (PDT)"
        ],
        "X-Spam-Checker-Version": "SpamAssassin 3.4.0 (2014-02-07) on lists.denx.de",
        "X-Spam-Level": "",
        "X-Spam-Status": "No, score=0.0 required=5.0 tests=FREEMAIL_FROM,\n\tRCVD_IN_MSPIKE_H2,\n\tT_DKIM_INVALID autolearn=unavailable autolearn_force=no\n\tversion=3.4.0",
        "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025;\n\th=from:to:cc:subject:date:message-id:in-reply-to:references;\n\tbh=/Cx9sIC78HhXuprHDOhVpOQInL/79+917zjoOnEYh5M=;\n\tb=Un4lWmUJqkK2r9+Iyn0b+YuSouWOC2DcT9LmLK+KKI2vknLIiDpqaQpPK0x6hz/aAI\n\tFkBkZLjsJd6pqbE0A1zrNbhavGKd76ZOKR62yarjHJbM4qoLxQaPa1bIyO8is6wBcy5+\n\tOoKNmHC1fnahHTxGtKBiT38/94cfaIdpt2iAxeDsfEvD7UxXwcvFGpw1it25KYOsFdFW\n\tM8Gs26qxtb8gqHWbITgglvgzPkapxrVPurjdRw9DQox/i5+m7d924ehCE5snPgLM3LH8\n\tT4LccTP/41aJx8CwidGF9M6tLUPD1jS8IdRxAdut6N5PPZZ/1te9r0inuCI2WgBP9DaQ\n\t88QA==",
        "X-Google-DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n\td=1e100.net; s=20161025;\n\th=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to\n\t:references;\n\tbh=/Cx9sIC78HhXuprHDOhVpOQInL/79+917zjoOnEYh5M=;\n\tb=RYMOJOBa5lyFLS+6KRthDWZpBkIcksgcvXkGR06MRM2+sLOrBounmoXBznVmyt6toU\n\tC3QG113C4BMAEBduSXxTMviaeGzPYauc7BGaZORzC3bxJCT+PXLL7DMftOedhjm6nWZy\n\t2xcTTTQoDW7irUZkfaBlv3lBIkfK+yCORa28eZ0nMGz1bK7bSxjscRPYL5YKNPE6OO6G\n\t3YosYBoygIuBY3k9UKahDMqKzRz+mw36/UuuHdrfsdrc5oLiHVuWQt1Fi0Tu/bXYSgT6\n\tQf5b8UsxgQjqrHCz44TEGI6rQ3qQO6Kk4yxDNgELe74AmtEsW8rWZiEi+dpQeWWr5OrT\n\taFPg==",
        "X-Gm-Message-State": "APjAAAVnxdhbt6qQrPC2Z2/ydI5qVhIYvmr4LDK/KNu+oIHQ8oS+3xeA\n\t9cDghlJxVzcbG3R3+vn7m1l0sgLt",
        "X-Google-Smtp-Source": "APXvYqx5gIpSSN5Z1NvsB38qRquGZTWJAGzW+1fbvUYNK8OYj5erpNNwsKBrU2IoH1TlW3tC+WvxgA==",
        "X-Received": "by 2002:adf:e344:: with SMTP id n4mr3188996wrj.192.1559233736499;\n\tThu, 30 May 2019 09:28:56 -0700 (PDT)",
        "From": "Alex Marginean <alexm.osslist@gmail.com>",
        "To": "u-boot@lists.denx.de",
        "Date": "Thu, 30 May 2019 19:28:31 +0300",
        "Message-Id": "<20190530162831.21365-1-alexm.osslist@gmail.com>",
        "X-Mailer": "git-send-email 2.17.1",
        "In-Reply-To": "<20190529162754.7506-1-alexm.osslist@gmail.com>",
        "References": "<20190529162754.7506-1-alexm.osslist@gmail.com>",
        "Cc": "York Sun <york.sun@nxp.com>, Mingkai Hu <Mingkai.Hu@nxp.com>",
        "Subject": "[U-Boot] [PATCH v2] armv8: fsl-layerscape: fix config dependency\n\tfor layerscape pci code",
        "X-BeenThere": "u-boot@lists.denx.de",
        "X-Mailman-Version": "2.1.18",
        "Precedence": "list",
        "List-Id": "U-Boot discussion <u-boot.lists.denx.de>",
        "List-Unsubscribe": "<https://lists.denx.de/options/u-boot>,\n\t<mailto:u-boot-request@lists.denx.de?subject=unsubscribe>",
        "List-Archive": "<http://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\t<mailto:u-boot-request@lists.denx.de?subject=subscribe>",
        "MIME-Version": "1.0",
        "Content-Type": "text/plain; charset=\"utf-8\"",
        "Content-Transfer-Encoding": "base64",
        "Errors-To": "u-boot-bounces@lists.denx.de",
        "Sender": "\"U-Boot\" <u-boot-bounces@lists.denx.de>"
    },
    "content": "Fixes a link error on layerscape platform, linking fails with CONFIG_PCI\nset and CONFIG_PCI_LAYERSCAPE unset.\n\nSigned-off-by: Alex Marginean <alexm.osslist@gmail.com>\n---\nChanges in v2:\n\t- resent with proper email addresses for freescale/NXP folks\n\n arch/arm/cpu/armv8/fsl-layerscape/fdt.c | 2 +-\n 1 file changed, 1 insertion(+), 1 deletion(-)",
    "diff": "diff --git a/arch/arm/cpu/armv8/fsl-layerscape/fdt.c b/arch/arm/cpu/armv8/fsl-layerscape/fdt.c\nindex 11117657fe..fabe0f0359 100644\n--- a/arch/arm/cpu/armv8/fsl-layerscape/fdt.c\n+++ b/arch/arm/cpu/armv8/fsl-layerscape/fdt.c\n@@ -435,7 +435,7 @@ void ft_cpu_setup(void *blob, bd_t *bd)\n \tdo_fixup_by_path_u32(blob, \"/sysclk\", \"clock-frequency\",\n \t\t\t     CONFIG_SYS_CLK_FREQ, 1);\n \n-#ifdef CONFIG_PCI\n+#ifdef CONFIG_PCI_LAYERSCAPE\n \tft_pci_setup(blob, bd);\n #endif\n \n",
    "prefixes": [
        "U-Boot",
        "v2"
    ]
}