get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 556243,
    "url": "http://patchwork.ozlabs.org/api/patches/556243/?format=api",
    "web_url": "http://patchwork.ozlabs.org/project/linux-mtd/patch/566DF59B.8000804@simon.arlott.org.uk/",
    "project": {
        "id": 3,
        "url": "http://patchwork.ozlabs.org/api/projects/3/?format=api",
        "name": "Linux MTD development",
        "link_name": "linux-mtd",
        "list_id": "linux-mtd.lists.infradead.org",
        "list_email": "linux-mtd@lists.infradead.org",
        "web_url": null,
        "scm_url": null,
        "webscm_url": null,
        "list_archive_url": "",
        "list_archive_url_format": "",
        "commit_url_format": ""
    },
    "msgid": "<566DF59B.8000804@simon.arlott.org.uk>",
    "list_archive_url": null,
    "date": "2015-12-13T22:47:55",
    "name": "[linux-next,v4,04/11] MIPS: bcm963xx: Move extended flash address to bcm_tag header file",
    "commit_ref": null,
    "pull_url": null,
    "state": "not-applicable",
    "archived": false,
    "hash": "b4186af8bdcca58eaaad8615387e46fbaf7cf9d5",
    "submitter": {
        "id": 1123,
        "url": "http://patchwork.ozlabs.org/api/people/1123/?format=api",
        "name": "Simon Arlott",
        "email": "simon@fire.lp0.eu"
    },
    "delegate": null,
    "mbox": "http://patchwork.ozlabs.org/project/linux-mtd/patch/566DF59B.8000804@simon.arlott.org.uk/mbox/",
    "series": [],
    "comments": "http://patchwork.ozlabs.org/api/patches/556243/comments/",
    "check": "pending",
    "checks": "http://patchwork.ozlabs.org/api/patches/556243/checks/",
    "tags": {},
    "related": [],
    "headers": {
        "Return-Path": "<linux-mtd-bounces+incoming=patchwork.ozlabs.org@lists.infradead.org>",
        "X-Original-To": "incoming@patchwork.ozlabs.org",
        "Delivered-To": "patchwork-incoming@bilbo.ozlabs.org",
        "Received": [
            "from bombadil.infradead.org (bombadil.infradead.org\n\t[IPv6:2001:1868:205::9])\n\t(using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128\n\tbits)) (No client certificate requested)\n\tby ozlabs.org (Postfix) with ESMTPS id E5CA7140311\n\tfor <incoming@patchwork.ozlabs.org>;\n\tMon, 14 Dec 2015 09:49:35 +1100 (AEDT)",
            "from localhost ([127.0.0.1] helo=bombadil.infradead.org)\n\tby bombadil.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux))\n\tid 1a8FRG-000661-C1; Sun, 13 Dec 2015 22:48:22 +0000",
            "from proxima.lp0.eu ([2001:8b0:ffea:0:205:b4ff:fe12:530])\n\tby bombadil.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux))\n\tid 1a8FRD-00060j-Q3\n\tfor linux-mtd@lists.infradead.org; Sun, 13 Dec 2015 22:48:20 +0000",
            "from redrum.lp0.eu ([2001:8b0:ffea:0:2e0:81ff:fe4d:2bec]:44498\n\tident=simon)\n\tby proxima.lp0.eu ([2001:8b0:ffea:0:205:b4ff:fe12:530]:465)\n\twith esmtpsav (UNKNOWN:DHE-RSA-AES256-SHA:256/CN=Simon Arlott)\n\tid 1a8FQr-0003vE-5Q (Exim); Sun, 13 Dec 2015 22:47:58 +0000"
        ],
        "Authentication-Results": "ozlabs.org;\n\tdkim=fail reason=\"signature verification failed\" (2048-bit key;\n\tsecure) header.d=fire.lp0.eu header.i=@fire.lp0.eu header.b=scaqjWl0;\n\tdkim-atps=neutral",
        "DKIM-Signature": "v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed;\n\td=fire.lp0.eu; s=exim; \n\th=Content-Transfer-Encoding:Content-Type:In-Reply-To:MIME-Version:Date:Message-ID:From:Cc:References:To:Subject;\n\tbh=jdYlfGZQZaqPl9oHFsFLKue0e3ow6t1FRpxm9ckqxNU=; \n\tb=scaqjWl03oaaBh28jyPTzU84BerAvoY7/H0AK5ir67pXd/fhbHp6Tk0UO24jqP4LP2tDSqveamywKwGu3US07RvF9mxia4f8fBH8O9UHwDQf/IhNpbNFKhrhLZjdxknp5Na8A7W32XH5lpIJQUdA0mACqGsLrBTRkBCNN1Xe6WyPspp5P+zn25L9yorxuCwOebZyVRTCrUz/J5ruRF66tNZZJ48TcXbf4I0226V09ahazFv8PL61gmaJFj8XwkApsd8Oe0w1dCWpCVkUi6H+esd5rfu0K2F/S5geAJuOgks1nTe39DwQRW/CFsqaat5h3YvPdJdg47/FAbS5t/QRzA==;",
        "Subject": "[PATCH linux-next v4 04/11] MIPS: bcm963xx: Move extended flash\n\taddress to bcm_tag header file",
        "To": "Ralf Baechle <ralf@linux-mips.org>, David Woodhouse\n\t<dwmw2@infradead.org>, Brian Norris <computersforpeace@gmail.com>,\n\tKevin Cernekee <cernekee@gmail.com>, Florian Fainelli\n\t<f.fainelli@gmail.com>, Jonas Gorski <jogo@openwrt.org>",
        "References": "<566DF43B.5010400@simon.arlott.org.uk>",
        "From": "Simon Arlott <simon@fire.lp0.eu>",
        "Message-ID": "<566DF59B.8000804@simon.arlott.org.uk>",
        "Date": "Sun, 13 Dec 2015 22:47:55 +0000",
        "User-Agent": "Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101\n\tThunderbird/38.4.0",
        "MIME-Version": "1.0",
        "In-Reply-To": "<566DF43B.5010400@simon.arlott.org.uk>",
        "X-CRM114-Version": "20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 ",
        "X-CRM114-CacheID": "sfid-20151213_144820_155295_14798F15 ",
        "X-CRM114-Status": "GOOD (  11.84  )",
        "X-Spam-Score": "-4.3 (----)",
        "X-Spam-Report": "SpamAssassin version 3.4.0 on bombadil.infradead.org summary:\n\tContent analysis details:   (-4.3 points)\n\tpts rule name              description\n\t---- ----------------------\n\t--------------------------------------------------\n\t-2.3 RCVD_IN_DNSWL_MED RBL: Sender listed at http://www.dnswl.org/,\n\tmedium trust [2001:8b0:ffea:0:205:b4ff:fe12:530 listed in]\n\t[list.dnswl.org]\n\t-0.0 SPF_HELO_PASS          SPF: HELO matches SPF record\n\t-0.0 SPF_PASS               SPF: sender matches SPF record\n\t-0.0 T_RP_MATCHES_RCVD Envelope sender domain matches handover relay\n\tdomain\n\t-1.9 BAYES_00               BODY: Bayes spam probability is 0 to 1%\n\t[score: 0.0000]\n\t0.1 DKIM_SIGNED            Message has a DKIM or DK signature,\n\tnot necessarily valid\n\t-0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from\n\tauthor's domain\n\t-0.1 DKIM_VALID Message has at least one valid DKIM or DK signature",
        "X-BeenThere": "linux-mtd@lists.infradead.org",
        "X-Mailman-Version": "2.1.20",
        "Precedence": "list",
        "List-Id": "Linux MTD discussion mailing list <linux-mtd.lists.infradead.org>",
        "List-Unsubscribe": "<http://lists.infradead.org/mailman/options/linux-mtd>,\n\t<mailto:linux-mtd-request@lists.infradead.org?subject=unsubscribe>",
        "List-Archive": "<http://lists.infradead.org/pipermail/linux-mtd/>",
        "List-Post": "<mailto:linux-mtd@lists.infradead.org>",
        "List-Help": "<mailto:linux-mtd-request@lists.infradead.org?subject=help>",
        "List-Subscribe": "<http://lists.infradead.org/mailman/listinfo/linux-mtd>,\n\t<mailto:linux-mtd-request@lists.infradead.org?subject=subscribe>",
        "Cc": "MIPS Mailing List <linux-mips@linux-mips.org>,\n\tMTD Maling List <linux-mtd@lists.infradead.org>,\n\tLinux Kernel Mailing List <linux-kernel@vger.kernel.org>",
        "Content-Type": "text/plain; charset=\"us-ascii\"",
        "Content-Transfer-Encoding": "7bit",
        "Sender": "\"linux-mtd\" <linux-mtd-bounces@lists.infradead.org>",
        "Errors-To": "linux-mtd-bounces+incoming=patchwork.ozlabs.org@lists.infradead.org"
    },
    "content": "The extended flash address needs to be subtracted from bcm_tag flash\nimage offsets. Move this value to the bcm_tag header file.\n\nRenamed define name to consistently use bcm963xx for flash layout\nwhich should be considered a property of the board and not the SoC\n(i.e. bcm63xx could theoretically be used on a board without CFE\nor any flash).\n\nSigned-off-by: Simon Arlott <simon@fire.lp0.eu>\n---\nv4: New patch.\n\n drivers/mtd/bcm63xxpart.c    | 6 ++----\n include/linux/bcm963xx_tag.h | 5 +++++\n 2 files changed, 7 insertions(+), 4 deletions(-)",
    "diff": "diff --git a/drivers/mtd/bcm63xxpart.c b/drivers/mtd/bcm63xxpart.c\nindex b5bad1f..cec3188 100644\n--- a/drivers/mtd/bcm63xxpart.c\n+++ b/drivers/mtd/bcm63xxpart.c\n@@ -37,8 +37,6 @@\n #include <asm/mach-bcm63xx/bcm63xx_nvram.h>\n #include <asm/mach-bcm63xx/board_bcm963xx.h>\n \n-#define BCM63XX_EXTENDED_SIZE\t0xBFC00000\t/* Extended flash address */\n-\n #define BCM63XX_CFE_BLOCK_SIZE\tSZ_64K\t\t/* always at least 64KiB */\n \n #define BCM63XX_CFE_MAGIC_OFFSET 0x4e0\n@@ -123,8 +121,8 @@ static int bcm63xx_parse_cfe_partitions(struct mtd_info *master,\n \t\tpr_info(\"CFE boot tag found with version %s and board type %s\\n\",\n \t\t\ttagversion, boardid);\n \n-\t\tkerneladdr = kerneladdr - BCM63XX_EXTENDED_SIZE;\n-\t\trootfsaddr = rootfsaddr - BCM63XX_EXTENDED_SIZE;\n+\t\tkerneladdr = kerneladdr - BCM963XX_EXTENDED_SIZE;\n+\t\trootfsaddr = rootfsaddr - BCM963XX_EXTENDED_SIZE;\n \t\tspareaddr = roundup(totallen, master->erasesize) + cfelen;\n \n \t\tif (rootfsaddr < kerneladdr) {\ndiff --git a/include/linux/bcm963xx_tag.h b/include/linux/bcm963xx_tag.h\nindex f389dac..08e0133 100644\n--- a/include/linux/bcm963xx_tag.h\n+++ b/include/linux/bcm963xx_tag.h\n@@ -28,6 +28,11 @@\n \t\"DWV-S0\", \\\n }\n \n+/* Extended flash address, needs to be subtracted\n+ * from bcm_tag flash image offsets.\n+ */\n+#define BCM963XX_EXTENDED_SIZE\t0xBFC00000\n+\n /*\n  * The broadcom firmware assumes the rootfs starts the image,\n  * therefore uses the rootfs start (flash_image_address)\n",
    "prefixes": [
        "linux-next",
        "v4",
        "04/11"
    ]
}