get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 817864,
    "url": "http://patchwork.ozlabs.org/api/patches/817864/?format=api",
    "web_url": "http://patchwork.ozlabs.org/project/uboot/patch/1506232825-27448-2-git-send-email-uri.mashiach@compulab.co.il/",
    "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": "<1506232825-27448-2-git-send-email-uri.mashiach@compulab.co.il>",
    "list_archive_url": null,
    "date": "2017-09-24T06:00:22",
    "name": "[U-Boot,1/4] imx: mx7: fix the CCM_ macros",
    "commit_ref": "8bf2d77806e289e4345d7d983c0c689e2c36a484",
    "pull_url": null,
    "state": "accepted",
    "archived": false,
    "hash": "685d0c96b5063453cdbc305a6e0f988e2c56af47",
    "submitter": {
        "id": 67462,
        "url": "http://patchwork.ozlabs.org/api/people/67462/?format=api",
        "name": "Uri Mashiach",
        "email": "uri.mashiach@compulab.co.il"
    },
    "delegate": {
        "id": 1693,
        "url": "http://patchwork.ozlabs.org/api/users/1693/?format=api",
        "username": "sbabic",
        "first_name": "Stefano",
        "last_name": "Babic",
        "email": "sbabic@denx.de"
    },
    "mbox": "http://patchwork.ozlabs.org/project/uboot/patch/1506232825-27448-2-git-send-email-uri.mashiach@compulab.co.il/mbox/",
    "series": [
        {
            "id": 4801,
            "url": "http://patchwork.ozlabs.org/api/series/4801/?format=api",
            "web_url": "http://patchwork.ozlabs.org/project/uboot/list/?series=4801",
            "date": "2017-09-24T06:00:21",
            "name": "cl-som-imx7: initial support",
            "version": 1,
            "mbox": "http://patchwork.ozlabs.org/series/4801/mbox/"
        }
    ],
    "comments": "http://patchwork.ozlabs.org/api/patches/817864/comments/",
    "check": "pending",
    "checks": "http://patchwork.ozlabs.org/api/patches/817864/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\tdkim=fail reason=\"key not found in DNS\" (0-bit key;\n\tunprotected) header.d=compulab.co.il header.i=@compulab.co.il\n\theader.b=\"r2JYhnHf\"; dkim-atps=neutral"
        ],
        "Received": [
            "from lists.denx.de (dione.denx.de [81.169.180.215])\n\tby ozlabs.org (Postfix) with ESMTP id 3y0Gnd5k0Yz9tX6\n\tfor <incoming@patchwork.ozlabs.org>;\n\tSun, 24 Sep 2017 16:01:57 +1000 (AEST)",
            "by lists.denx.de (Postfix, from userid 105)\n\tid 882FFC21FDA; Sun, 24 Sep 2017 06:01:54 +0000 (UTC)",
            "from lists.denx.de (localhost [IPv6:::1])\n\tby lists.denx.de (Postfix) with ESMTP id 89D36C22071;\n\tSun, 24 Sep 2017 06:01:52 +0000 (UTC)",
            "by lists.denx.de (Postfix, from userid 105)\n\tid 374A7C22065; Sun, 24 Sep 2017 06:01:38 +0000 (UTC)",
            "from compulab.co.il (softlayer.compulab.co.il [50.23.254.55])\n\tby lists.denx.de (Postfix) with ESMTPS id 749FEC21F6E\n\tfor <u-boot@lists.denx.de>; Sun, 24 Sep 2017 06:01:32 +0000 (UTC)",
            "from [37.142.126.90] (port=36954 helo=zimbra-mta.compulab.co.il)\n\tby softlayer.compulab.co.il with esmtp (Exim 4.87)\n\t(envelope-from <uri.mashiach@compulab.co.il>)\n\tid 1dvzys-0002vI-5W; Sun, 24 Sep 2017 09:01:30 +0300",
            "from localhost (localhost [127.0.0.1])\n\tby zimbra-mta.compulab.co.il (Postfix) with ESMTP id 4687748109D;\n\tSun, 24 Sep 2017 09:01:29 +0300 (IDT)",
            "from zimbra-mta.compulab.co.il ([127.0.0.1])\n\tby localhost (zimbra-mta.compulab.co.il [127.0.0.1]) (amavisd-new,\n\tport 10032)\n\twith ESMTP id rR47B_dZwhiw; Sun, 24 Sep 2017 09:01:28 +0300 (IDT)",
            "from localhost (localhost [127.0.0.1])\n\tby zimbra-mta.compulab.co.il (Postfix) with ESMTP id 3011F4810B1;\n\tSun, 24 Sep 2017 09:01:28 +0300 (IDT)",
            "from zimbra-mta.compulab.co.il ([127.0.0.1])\n\tby localhost (zimbra-mta.compulab.co.il [127.0.0.1]) (amavisd-new,\n\tport 10026)\n\twith ESMTP id clrBNCw19i6M; Sun, 24 Sep 2017 09:01:28 +0300 (IDT)",
            "from urim-desk.compulab.local (uri-ipc.compulab.local\n\t[192.168.11.218])\n\tby zimbra-mta.compulab.co.il (Postfix) with ESMTP id EF29A48109D;\n\tSun, 24 Sep 2017 09:01:27 +0300 (IDT)"
        ],
        "X-Spam-Checker-Version": "SpamAssassin 3.4.0 (2014-02-07) on lists.denx.de",
        "X-Spam-Level": "",
        "X-Spam-Status": "No, score=0.8 required=5.0 tests=SPF_HELO_PASS, T_DKIM_INVALID,\n\tUPPERCASE_50_75 autolearn=no autolearn_force=no version=3.4.0",
        "DKIM-Signature": "v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed;\n\td=compulab.co.il; s=default;\n\th=References:In-Reply-To:Message-Id:Date:Subject\n\t:Cc:To:From:Sender:Reply-To:MIME-Version:Content-Type:\n\tContent-Transfer-Encoding:Content-ID:Content-Description:Resent-Date:\n\tResent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id:\n\tList-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive;\n\tbh=g9wQwe0Nq5o9D6sv8gqLfICUC7/zDWqfOAKn0+diEDk=;\n\tb=r2JYhnHfAjn6XKSok6ENY/ffz\n\tWZ63kdwtIbAVP7IINYoVdHi9JpZZRW1ckV1zKPiJvR0lA7hRQCP722sdRyQlWMz4VfDNiEdTtdQ45\n\twM10Vy4FPDNr2VrU90p7TUEjQd4++egdodRCIX+Xc4CPwHXmzn5CJHZct9757Kx3FztLObuUiANoH\n\tZFuAfVzMKYBHMHi/FoPhceZ+WN05pimGl81IMnt94EMFB9lNNvV5GOOTF6GVhaVD16vI95812fGiC\n\tSLL3EVOtV8VIUu+DWtr4gNjjKsj1Xnf/+AB70Yr809LS9pWsgq1sD79xyKE8Dt2R+SYU078YI5zHP\n\tmZjdilUCw==;",
        "X-Virus-Scanned": "amavisd-new at zimbra-mta.compulab.co.il",
        "From": "Uri Mashiach <uri.mashiach@compulab.co.il>",
        "To": "Stefano Babic <sbabic@denx.de>",
        "Date": "Sun, 24 Sep 2017 09:00:22 +0300",
        "Message-Id": "<1506232825-27448-2-git-send-email-uri.mashiach@compulab.co.il>",
        "X-Mailer": "git-send-email 2.7.4",
        "In-Reply-To": "<1506232825-27448-1-git-send-email-uri.mashiach@compulab.co.il>",
        "References": "<1506232825-27448-1-git-send-email-uri.mashiach@compulab.co.il>",
        "X-AntiAbuse": [
            "This header was added to track abuse,\n\tplease include it with any abuse report",
            "Primary Hostname - softlayer.compulab.co.il",
            "Original Domain - lists.denx.de",
            "Originator/Caller UID/GID - [47 12] / [47 12]",
            "Sender Address Domain - compulab.co.il"
        ],
        "X-Get-Message-Sender-Via": "softlayer.compulab.co.il: acl_c_recent_authed_mail_ips_text_entry:\n\turi.mashiach@compulab.co.il|compulab.co.il",
        "X-Authenticated-Sender": "softlayer.compulab.co.il: uri.mashiach@compulab.co.il",
        "Cc": "Fabio Estevam <fabio.estevam@nxp.com>, u-boot@lists.denx.de",
        "Subject": "[U-Boot] [PATCH 1/4] imx: mx7: fix the CCM_ macros",
        "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": "The CCM_ macros use the CCM_BASE_ADDRESS macro, which doesn't exist.\nReplace the CCM_BASE_ADDRESS macros with CCM_BASE_ADDR.\n\nSigned-off-by: Uri Mashiach <uri.mashiach@compulab.co.il>\nAcked-by: Igor Grinberg <grinberg@compulab.co.il>\n---\n arch/arm/include/asm/arch-mx7/crm_regs.h | 46 ++++++++++++++++----------------\n 1 file changed, 23 insertions(+), 23 deletions(-)",
    "diff": "diff --git a/arch/arm/include/asm/arch-mx7/crm_regs.h b/arch/arm/include/asm/arch-mx7/crm_regs.h\nindex d65d4d9..e54a254 100644\n--- a/arch/arm/include/asm/arch-mx7/crm_regs.h\n+++ b/arch/arm/include/asm/arch-mx7/crm_regs.h\n@@ -2000,29 +2000,29 @@ struct mxc_ccm_anatop_reg {\n #define TEMPMON_HW_ANADIG_TEMPSENSE_TRIM_TOG_T_MUX_ADDR(x) (((uint32_t)(((uint32_t)(x))<<TEMPMON_HW_ANADIG_TEMPSENSE_TRIM_TOG_T_MUX_ADDR_SHIFT))&TEMPMON_HW_ANADIG_TEMPSENSE_TRIM_TOG_T_MUX_ADDR_MASK)\n \n \n-#define CCM_GPR(i)\t\t(CCM_BASE_ADDRESS + CCM_GPR0_OFFSET + 0x10 * (i))\n-#define CCM_OBSERVE(i)\t\t(CCM_BASE_ADDRESS + CCM_OBSERVE0_OFFSET + 0x10 * (i))\n-#define CCM_SCTRL(i)\t\t(CCM_BASE_ADDRESS + CCM_SCTRL0_OFFSET + 0x10 * (i))\n-#define CCM_CCGR(i)\t\t(CCM_BASE_ADDRESS + CCM_CCGR0_OFFSET + 0x10 * (i))\n-#define CCM_ROOT_TARGET(i)\t(CCM_BASE_ADDRESS + CCM_ROOT0_TARGET_OFFSET + 0x80 * (i))\n-\n-#define CCM_GPR_SET(i)\t\t(CCM_BASE_ADDRESS + CCM_GPR0_OFFSET + 0x10 * (i) + 4)\n-#define CCM_OBSERVE_SET(i)\t(CCM_BASE_ADDRESS + CCM_OBSERVE0_OFFSET + 0x10 * (i) + 4)\n-#define CCM_SCTRL_SET(i)\t(CCM_BASE_ADDRESS + CCM_SCTRL0_OFFSET + 0x10 * (i) + 4)\n-#define CCM_CCGR_SET(i)\t\t(CCM_BASE_ADDRESS + CCM_CCGR0_OFFSET + 0x10 * (i) + 4)\n-#define CCM_ROOT_TARGET_SET(i)\t(CCM_BASE_ADDRESS + CCM_ROOT0_TARGET_OFFSET + 0x80 * (i) + 4)\n-\n-#define CCM_GPR_CLR(i)\t\t(CCM_BASE_ADDRESS + CCM_GPR0_OFFSET + 0x10 * (i) + 8)\n-#define CCM_OBSERVE_CLR(i)\t(CCM_BASE_ADDRESS + CCM_OBSERVE0_OFFSET + 0x10 * (i) + 8)\n-#define CCM_SCTRL_CLR(i)\t(CCM_BASE_ADDRESS + CCM_SCTRL0_OFFSET + 0x10 * (i) + 8)\n-#define CCM_CCGR_CLR(i)\t\t(CCM_BASE_ADDRESS + CCM_CCGR0_OFFSET + 0x10 * (i) + 8)\n-#define CCM_ROOT_TARGET_CLR(i)\t(CCM_BASE_ADDRESS + CCM_ROOT0_TARGET_OFFSET + 0x80 * (i) + 8)\n-\n-#define CCM_GPR_TOGGLE(i)\t(CCM_BASE_ADDRESS + CCM_GPR0_OFFSET + 0x10 * (i) + 12)\n-#define CCM_OBSERVE_TOGGLE(i)\t(CCM_BASE_ADDRESS + CCM_OBSERVE0_OFFSET + 0x10 * (i) + 12)\n-#define CCM_SCTRL_TOGGLE(i)\t(CCM_BASE_ADDRESS + CCM_SCTRL0_OFFSET + 0x10 * (i) + 12)\n-#define CCM_CCGR_TOGGLE(i)\t(CCM_BASE_ADDRESS + CCM_CCGR0_OFFSET + 0x10 * (i) + 12)\n-#define CCM_ROOT_TARGET_TOGGLE(i)\t(CCM_BASE_ADDRESS + CCM_ROOT0_TARGET_OFFSET + 0x80 * (i) + 12)\n+#define CCM_GPR(i)\t\t(CCM_BASE_ADDR + CCM_GPR0_OFFSET + 0x10 * (i))\n+#define CCM_OBSERVE(i)\t\t(CCM_BASE_ADDR + CCM_OBSERVE0_OFFSET + 0x10 * (i))\n+#define CCM_SCTRL(i)\t\t(CCM_BASE_ADDR + CCM_SCTRL0_OFFSET + 0x10 * (i))\n+#define CCM_CCGR(i)\t\t(CCM_BASE_ADDR + CCM_CCGR0_OFFSET + 0x10 * (i))\n+#define CCM_ROOT_TARGET(i)\t(CCM_BASE_ADDR + CCM_ROOT0_TARGET_OFFSET + 0x80 * (i))\n+\n+#define CCM_GPR_SET(i)\t\t(CCM_BASE_ADDR + CCM_GPR0_OFFSET + 0x10 * (i) + 4)\n+#define CCM_OBSERVE_SET(i)\t(CCM_BASE_ADDR + CCM_OBSERVE0_OFFSET + 0x10 * (i) + 4)\n+#define CCM_SCTRL_SET(i)\t(CCM_BASE_ADDR + CCM_SCTRL0_OFFSET + 0x10 * (i) + 4)\n+#define CCM_CCGR_SET(i)\t\t(CCM_BASE_ADDR + CCM_CCGR0_OFFSET + 0x10 * (i) + 4)\n+#define CCM_ROOT_TARGET_SET(i)\t(CCM_BASE_ADDR + CCM_ROOT0_TARGET_OFFSET + 0x80 * (i) + 4)\n+\n+#define CCM_GPR_CLR(i)\t\t(CCM_BASE_ADDR + CCM_GPR0_OFFSET + 0x10 * (i) + 8)\n+#define CCM_OBSERVE_CLR(i)\t(CCM_BASE_ADDR + CCM_OBSERVE0_OFFSET + 0x10 * (i) + 8)\n+#define CCM_SCTRL_CLR(i)\t(CCM_BASE_ADDR + CCM_SCTRL0_OFFSET + 0x10 * (i) + 8)\n+#define CCM_CCGR_CLR(i)\t\t(CCM_BASE_ADDR + CCM_CCGR0_OFFSET + 0x10 * (i) + 8)\n+#define CCM_ROOT_TARGET_CLR(i)\t(CCM_BASE_ADDR + CCM_ROOT0_TARGET_OFFSET + 0x80 * (i) + 8)\n+\n+#define CCM_GPR_TOGGLE(i)\t(CCM_BASE_ADDR + CCM_GPR0_OFFSET + 0x10 * (i) + 12)\n+#define CCM_OBSERVE_TOGGLE(i)\t(CCM_BASE_ADDR + CCM_OBSERVE0_OFFSET + 0x10 * (i) + 12)\n+#define CCM_SCTRL_TOGGLE(i)\t(CCM_BASE_ADDR + CCM_SCTRL0_OFFSET + 0x10 * (i) + 12)\n+#define CCM_CCGR_TOGGLE(i)\t(CCM_BASE_ADDR + CCM_CCGR0_OFFSET + 0x10 * (i) + 12)\n+#define CCM_ROOT_TARGET_TOGGLE(i)\t(CCM_BASE_ADDR + CCM_ROOT0_TARGET_OFFSET + 0x80 * (i) + 12)\n \n #define HW_CCM_GPR_WR(i, v)\t\twritel((v), CCM_GPR(i))\n #define HW_CCM_CCM_OBSERVE_WR(i, v)\twritel((v), CCM_OBSERVE(i))\n",
    "prefixes": [
        "U-Boot",
        "1/4"
    ]
}