get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 1104084,
    "url": "http://patchwork.ozlabs.org/api/patches/1104084/?format=api",
    "web_url": "http://patchwork.ozlabs.org/project/uboot/patch/20190523122327.37264-5-Zhiqiang.Hou@nxp.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": "<20190523122327.37264-5-Zhiqiang.Hou@nxp.com>",
    "list_archive_url": null,
    "date": "2019-05-23T12:22:14",
    "name": "[U-Boot,PATCHv2,4/8] powerpc: T208xQDS: Compile the legacy PCIe routines conditionally",
    "commit_ref": null,
    "pull_url": null,
    "state": "awaiting-upstream",
    "archived": false,
    "hash": "c1d943646512828a8e06ed837687f0704f1e1698",
    "submitter": {
        "id": 67929,
        "url": "http://patchwork.ozlabs.org/api/people/67929/?format=api",
        "name": "Z.Q. Hou",
        "email": "zhiqiang.hou@nxp.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/20190523122327.37264-5-Zhiqiang.Hou@nxp.com/mbox/",
    "series": [
        {
            "id": 109483,
            "url": "http://patchwork.ozlabs.org/api/series/109483/?format=api",
            "web_url": "http://patchwork.ozlabs.org/project/uboot/list/?series=109483",
            "date": "2019-05-23T12:21:57",
            "name": "dm: pci: add Freescale PowerPC PCIe driver",
            "version": 1,
            "mbox": "http://patchwork.ozlabs.org/series/109483/mbox/"
        }
    ],
    "comments": "http://patchwork.ozlabs.org/api/patches/1104084/comments/",
    "check": "pending",
    "checks": "http://patchwork.ozlabs.org/api/patches/1104084/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=nxp.com",
            "ozlabs.org;\n\tdkim=fail reason=\"signature verification failed\" (1024-bit key;\n\tunprotected) header.d=nxp.com header.i=@nxp.com header.b=\"c+h8ZEYZ\";\n\tdkim-atps=neutral",
            "spf=none (sender IP is )\n\tsmtp.mailfrom=zhiqiang.hou@nxp.com; "
        ],
        "Received": [
            "from lists.denx.de (dione.denx.de [81.169.180.215])\n\tby ozlabs.org (Postfix) with ESMTP id 458pcV4XQCz9s4V\n\tfor <incoming@patchwork.ozlabs.org>;\n\tThu, 23 May 2019 22:25:30 +1000 (AEST)",
            "by lists.denx.de (Postfix, from userid 105)\n\tid 2D933C21EFD; Thu, 23 May 2019 12:23:41 +0000 (UTC)",
            "from lists.denx.de (localhost [IPv6:::1])\n\tby lists.denx.de (Postfix) with ESMTP id 68C29C21F02;\n\tThu, 23 May 2019 12:22:55 +0000 (UTC)",
            "by lists.denx.de (Postfix, from userid 105)\n\tid CE47CC21EEB; Thu, 23 May 2019 12:22:19 +0000 (UTC)",
            "from EUR02-VE1-obe.outbound.protection.outlook.com\n\t(mail-eopbgr20061.outbound.protection.outlook.com [40.107.2.61])\n\tby lists.denx.de (Postfix) with ESMTPS id AD9AEC21EF1\n\tfor <u-boot@lists.denx.de>; Thu, 23 May 2019 12:22:15 +0000 (UTC)",
            "from AM6PR04MB5781.eurprd04.prod.outlook.com (20.179.3.19) by\n\tAM6PR04MB5701.eurprd04.prod.outlook.com (20.179.1.75) with Microsoft\n\tSMTP Server (version=TLS1_2,\n\tcipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id\n\t15.20.1922.16; Thu, 23 May 2019 12:22:14 +0000",
            "from AM6PR04MB5781.eurprd04.prod.outlook.com\n\t([fe80::6491:59e7:6b25:2993]) by\n\tAM6PR04MB5781.eurprd04.prod.outlook.com\n\t([fe80::6491:59e7:6b25:2993%7]) with mapi id 15.20.1922.013;\n\tThu, 23 May 2019 12:22:14 +0000"
        ],
        "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=SPF_HELO_PASS, T_DKIM_INVALID\n\tautolearn=unavailable autolearn_force=no version=3.4.0",
        "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed; d=nxp.com; s=selector2;\n\th=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck;\n\tbh=KMP+53UMSqvFCdz2pjDa8usmTDcxhkmLSlPungWJX90=;\n\tb=c+h8ZEYZq4bB9ZobbmQ7EkDoWxEOT+LuuiK14SVVQzvLLqCR31c5Du3TroliaofK2rFRjb3Lxhd8qx+kZgcDp81CPGROTp3n6DcpLZzp+lSLQcKPtUj2Tw+byNPiH1B3pUbAmS6ypOhFZVFaIY63t4yD6KOtDq3F7MVLgLecW/A=",
        "From": "\"Z.q. Hou\" <zhiqiang.hou@nxp.com>",
        "To": "\"u-boot@lists.denx.de\" <u-boot@lists.denx.de>, Prabhakar Kushwaha\n\t<prabhakar.kushwaha@nxp.com>, \"wd@denx.de\" <wd@denx.de>, Shengzhou Liu\n\t<shengzhou.liu@nxp.com>, \"bmeng.cn@gmail.com\" <bmeng.cn@gmail.com>,\n\tJagdish\n\tGediya <jagdish.gediya@nxp.com>, \"sjg@chromium.org\" <sjg@chromium.org>,\n\t\"ley.foon.tan@intel.com\" <ley.foon.tan@intel.com>,\n\t\"sr@denx.de\" <sr@denx.de>",
        "Thread-Topic": "[PATCHv2 4/8] powerpc: T208xQDS: Compile the legacy PCIe\n\troutines conditionally",
        "Thread-Index": "AQHVEWInwGDE0K+OqEO426tUKvC9dw==",
        "Date": "Thu, 23 May 2019 12:22:14 +0000",
        "Message-ID": "<20190523122327.37264-5-Zhiqiang.Hou@nxp.com>",
        "References": "<20190523122327.37264-1-Zhiqiang.Hou@nxp.com>",
        "In-Reply-To": "<20190523122327.37264-1-Zhiqiang.Hou@nxp.com>",
        "Accept-Language": "zh-CN, en-US",
        "Content-Language": "en-US",
        "X-MS-Has-Attach": "",
        "X-MS-TNEF-Correlator": "",
        "x-clientproxiedby": "HK2PR06CA0017.apcprd06.prod.outlook.com\n\t(2603:1096:202:2e::29) To AM6PR04MB5781.eurprd04.prod.outlook.com\n\t(2603:10a6:20b:ad::19)",
        "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=nxp.com",
            "ozlabs.org;\n\tdkim=fail reason=\"signature verification failed\" (1024-bit key;\n\tunprotected) header.d=nxp.com header.i=@nxp.com header.b=\"c+h8ZEYZ\";\n\tdkim-atps=neutral",
            "spf=none (sender IP is )\n\tsmtp.mailfrom=zhiqiang.hou@nxp.com; "
        ],
        "x-ms-exchange-messagesentrepresentingtype": "1",
        "x-mailer": "git-send-email 2.17.1",
        "x-originating-ip": "[119.31.174.73]",
        "x-ms-publictraffictype": "Email",
        "x-ms-office365-filtering-correlation-id": "8626f054-44bf-4c4d-968f-08d6df7949c6",
        "x-ms-office365-filtering-ht": "Tenant",
        "x-microsoft-antispam": "BCL:0; PCL:0;\n\tRULEID:(2390118)(7020095)(4652040)(8989299)(4534185)(4627221)(201703031133081)(201702281549075)(8990200)(5600141)(711020)(4605104)(4618075)(2017052603328)(7193020);\n\tSRVR:AM6PR04MB5701; ",
        "x-ms-traffictypediagnostic": "AM6PR04MB5701:",
        "x-microsoft-antispam-prvs": "<AM6PR04MB570184DCE6DC5D9C7BBF3A8584010@AM6PR04MB5701.eurprd04.prod.outlook.com>",
        "x-ms-oob-tlc-oobclassifiers": "OLM:1013;",
        "x-forefront-prvs": "00462943DE",
        "x-forefront-antispam-report": "SFV:NSPM;\n\tSFS:(10009020)(39860400002)(396003)(346002)(376002)(366004)(136003)(199004)(189003)(256004)(478600001)(486006)(305945005)(446003)(66446008)(66556008)(64756008)(66476007)(1076003)(66946007)(73956011)(6506007)(386003)(36756003)(14454004)(476003)(2616005)(11346002)(7736002)(52116002)(76176011)(186003)(68736007)(4744005)(102836004)(5660300002)(71200400001)(71190400001)(316002)(6512007)(6486002)(6436002)(26005)(2501003)(3846002)(6116002)(53936002)(110136005)(25786009)(2201001)(54906003)(66066001)(99286004)(8676002)(8936002)(50226002)(81156014)(81166006)(2906002)(86362001)(4326008);\n\tDIR:OUT; SFP:1101; SCL:1; SRVR:AM6PR04MB5701;\n\tH:AM6PR04MB5781.eurprd04.prod.outlook.com; FPR:; SPF:None; LANG:en;\n\tPTR:InfoNoRecords; A:1; MX:1; ",
        "received-spf": "None (protection.outlook.com: nxp.com does not designate\n\tpermitted sender hosts)",
        "x-ms-exchange-senderadcheck": "1",
        "x-microsoft-antispam-message-info": "K9J35Gk6MAOvxdRoZmrCztlyhU4ta/CjZcgNr8P1iwYvE3hVl553BXDcnKUYHT2wWd84uXs6cr61Y0R/kK0xavMHt7HUwpgrUWll+ttyWkjalX5Aras9Gkw9yewy1a75O8DZT0sApS+EiIgg7NmtyPp4OojoRmKyuPZcWk1CU6dF0giWf3iQ6j4L4aLkovHHTuuVmCJq4AeI1ySAzxePD8MEiiWjI3epU9NNURXg1cFXkN8WZrlEfthX1FRAK4znZSdKNh1vLExCaPNMCVO/mYHovDTpQQ5/jgyvRvRSMxuiS+PbMldKyWytoXfO09TkkPDbrCYt8dZpx4HGlFGcHkvd3bD2WFaGfjzt7wtBVHJi9ubyTN3h/9CwISifv/p9ZdoR3nduqpqI2rJSH1Ub2szEz4QocgZrv5cb77DgmN4=",
        "MIME-Version": "1.0",
        "X-OriginatorOrg": "nxp.com",
        "X-MS-Exchange-CrossTenant-Network-Message-Id": "8626f054-44bf-4c4d-968f-08d6df7949c6",
        "X-MS-Exchange-CrossTenant-originalarrivaltime": "23 May 2019 12:22:14.5919\n\t(UTC)",
        "X-MS-Exchange-CrossTenant-fromentityheader": "Hosted",
        "X-MS-Exchange-CrossTenant-id": "686ea1d3-bc2b-4c6f-a92c-d99c5c301635",
        "X-MS-Exchange-CrossTenant-mailboxtype": "HOSTED",
        "X-MS-Exchange-CrossTenant-userprincipalname": "zhiqiang.hou@nxp.com",
        "X-MS-Exchange-Transport-CrossTenantHeadersStamped": "AM6PR04MB5701",
        "Cc": "\"Z.q. Hou\" <zhiqiang.hou@nxp.com>, Xiaowei Bao <xiaowei.bao@nxp.com>",
        "Subject": "[U-Boot] [PATCHv2 4/8] powerpc: T208xQDS: Compile the legacy PCIe\n\troutines conditionally",
        "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>",
        "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": "From: Hou Zhiqiang <Zhiqiang.Hou@nxp.com>\n\nCompile the legacy PCIe initialization reoutines only when DM_PCI\nis not enabled.\n\nSigned-off-by: Hou Zhiqiang <Zhiqiang.Hou@nxp.com>\nReviewed-by: Simon Glass <sjg@chromium.org>\n---\nV2:\n - No change.\n\n board/freescale/t208xqds/pci.c | 2 ++\n 1 file changed, 2 insertions(+)",
    "diff": "diff --git a/board/freescale/t208xqds/pci.c b/board/freescale/t208xqds/pci.c\r\nindex c761aea0ac..ef26f14c46 100644\r\n--- a/board/freescale/t208xqds/pci.c\r\n+++ b/board/freescale/t208xqds/pci.c\r\n@@ -11,6 +11,7 @@\r\n #include <fdt_support.h>\r\n #include <asm/fsl_serdes.h>\r\n \r\n+#if !defined(CONFIG_DM_PCI)\r\n void pci_init_board(void)\r\n {\r\n \tfsl_pcie_init_board(0);\r\n@@ -20,3 +21,4 @@ void pci_of_setup(void *blob, bd_t *bd)\r\n {\r\n \tFT_FSL_PCI_SETUP;\r\n }\r\n+#endif\r\n",
    "prefixes": [
        "U-Boot",
        "PATCHv2",
        "4/8"
    ]
}