get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 808393,
    "url": "http://patchwork.ozlabs.org/api/patches/808393/?format=api",
    "web_url": "http://patchwork.ozlabs.org/project/linux-mtd/patch/20170831193157.22014-1-u.kleine-koenig@pengutronix.de/",
    "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": "<20170831193157.22014-1-u.kleine-koenig@pengutronix.de>",
    "list_archive_url": null,
    "date": "2017-08-31T19:31:57",
    "name": "UBI: Fix two typos in comments",
    "commit_ref": null,
    "pull_url": null,
    "state": "accepted",
    "archived": false,
    "hash": "9fd0753d8f5c1f56cc35f3b14e2e966d2c7dac8d",
    "submitter": {
        "id": 1476,
        "url": "http://patchwork.ozlabs.org/api/people/1476/?format=api",
        "name": "Uwe Kleine-König",
        "email": "u.kleine-koenig@pengutronix.de"
    },
    "delegate": {
        "id": 54851,
        "url": "http://patchwork.ozlabs.org/api/users/54851/?format=api",
        "username": "rw",
        "first_name": "Richard",
        "last_name": "Weinberger",
        "email": "richard@nod.at"
    },
    "mbox": "http://patchwork.ozlabs.org/project/linux-mtd/patch/20170831193157.22014-1-u.kleine-koenig@pengutronix.de/mbox/",
    "series": [
        {
            "id": 896,
            "url": "http://patchwork.ozlabs.org/api/series/896/?format=api",
            "web_url": "http://patchwork.ozlabs.org/project/linux-mtd/list/?series=896",
            "date": "2017-08-31T19:31:57",
            "name": "UBI: Fix two typos in comments",
            "version": 1,
            "mbox": "http://patchwork.ozlabs.org/series/896/mbox/"
        }
    ],
    "comments": "http://patchwork.ozlabs.org/api/patches/808393/comments/",
    "check": "pending",
    "checks": "http://patchwork.ozlabs.org/api/patches/808393/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",
        "Authentication-Results": [
            "ozlabs.org; spf=none (mailfrom)\n\tsmtp.mailfrom=lists.infradead.org (client-ip=65.50.211.133;\n\thelo=bombadil.infradead.org;\n\tenvelope-from=linux-mtd-bounces+incoming=patchwork.ozlabs.org@lists.infradead.org;\n\treceiver=<UNKNOWN>)",
            "ozlabs.org; dkim=pass (2048-bit key;\n\tunprotected) header.d=lists.infradead.org\n\theader.i=@lists.infradead.org header.b=\"TlokIEZY\"; \n\tdkim-atps=neutral"
        ],
        "Received": [
            "from bombadil.infradead.org (bombadil.infradead.org\n\t[65.50.211.133])\n\t(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256\n\tbits)) (No client certificate requested)\n\tby ozlabs.org (Postfix) with ESMTPS id 3xjsw74L6xz9s8P\n\tfor <incoming@patchwork.ozlabs.org>;\n\tFri,  1 Sep 2017 05:32:39 +1000 (AEST)",
            "from localhost ([127.0.0.1] helo=bombadil.infradead.org)\n\tby bombadil.infradead.org with esmtp (Exim 4.87 #1 (Red Hat Linux))\n\tid 1dnVCX-00066V-Bt; Thu, 31 Aug 2017 19:32:29 +0000",
            "from metis.ext.pengutronix.de\n\t([2001:67c:670:201:290:27ff:fe1d:cc33])\n\tby bombadil.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux))\n\tid 1dnVCT-0005mw-6O\n\tfor linux-mtd@lists.infradead.org; Thu, 31 Aug 2017 19:32:27 +0000",
            "from dude.hi.pengutronix.de ([2001:67c:670:100:1d::7])\n\tby metis.ext.pengutronix.de with esmtps\n\t(TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2)\n\t(envelope-from <ukl@pengutronix.de>)\n\tid 1dnVC4-0006jX-7M; Thu, 31 Aug 2017 21:32:00 +0200",
            "from ukl by dude.hi.pengutronix.de with local (Exim 4.89)\n\t(envelope-from <ukl@pengutronix.de>)\n\tid 1dnVC3-0005ke-BJ; Thu, 31 Aug 2017 21:31:59 +0200"
        ],
        "DKIM-Signature": "v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed;\n\td=lists.infradead.org; s=bombadil.20170209; h=Sender:\n\tContent-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post:\n\tList-Archive:List-Unsubscribe:List-Id:MIME-Version:Message-Id:Date:Subject:To\n\t:From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From:\n\tResent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References:\n\tList-Owner; bh=eBouOo0BImES/3WieX8SisLK0Q/kTjXA9lBZTvN9fM8=;\n\tb=TlokIEZYiBSg0Q\n\tXtpMm/CLpyoLgC6K/3xWgxXNYaKXapL8Q/Nu1V1CKSLNs4FpvJbvXt4i+cnMP22tYSf3vT34bd2Dc\n\t8P9XkC34HFuH9FKJdihZpqxiL5XbNXmstvBcC5gGKoBFF94UzWOpDHeAit33+shc1aENbdFq2Q/Gk\n\tJNZt3GESBZ+Q/LBH/fHyd/L9ROi3v3+7ab/6FckOOdbXtOvexJ7sm1kBkdQKM1bm6IrV6LkWHseY3\n\t/6fensprpWwKV4c3VNMWjpI4Q8aKnBrmpMfU+hSMGF79zlhlYisBj9GKe3IxJKJwjRXxhwmL4zZf9\n\txFnXxRsNdCjyRP0rul5w==;",
        "From": "=?utf-8?q?Uwe_Kleine-K=C3=B6nig?= <u.kleine-koenig@pengutronix.de>",
        "To": "Artem Bityutskiy <dedekind1@gmail.com>,\n\tRichard Weinberger <richard@nod.at>",
        "Subject": "[PATCH] UBI: Fix two typos in comments",
        "Date": "Thu, 31 Aug 2017 21:31:57 +0200",
        "Message-Id": "<20170831193157.22014-1-u.kleine-koenig@pengutronix.de>",
        "X-Mailer": "git-send-email 2.11.0",
        "MIME-Version": "1.0",
        "X-SA-Exim-Connect-IP": "2001:67c:670:100:1d::7",
        "X-SA-Exim-Mail-From": "ukl@pengutronix.de",
        "X-SA-Exim-Scanned": "No (on metis.ext.pengutronix.de);\n\tSAEximRunCond expanded to false",
        "X-PTX-Original-Recipient": "linux-mtd@lists.infradead.org",
        "X-CRM114-Version": "20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 ",
        "X-CRM114-CacheID": "sfid-20170831_123225_447244_E002AD9E ",
        "X-CRM114-Status": "GOOD (  11.23  )",
        "X-Spam-Score": "-1.9 (-)",
        "X-Spam-Report": "SpamAssassin version 3.4.1 on bombadil.infradead.org summary:\n\tContent analysis details:   (-1.9 points)\n\tpts rule name              description\n\t---- ----------------------\n\t--------------------------------------------------\n\t-0.0 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]",
        "X-BeenThere": "linux-mtd@lists.infradead.org",
        "X-Mailman-Version": "2.1.21",
        "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": "linux-mtd@lists.infradead.org, kernel@pengutronix.de",
        "Content-Type": "text/plain; charset=\"utf-8\"",
        "Content-Transfer-Encoding": "base64",
        "Sender": "\"linux-mtd\" <linux-mtd-bounces@lists.infradead.org>",
        "Errors-To": "linux-mtd-bounces+incoming=patchwork.ozlabs.org@lists.infradead.org"
    },
    "content": "Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>\n---\n drivers/mtd/ubi/ubi-media.h | 4 ++--\n 1 file changed, 2 insertions(+), 2 deletions(-)",
    "diff": "diff --git a/drivers/mtd/ubi/ubi-media.h b/drivers/mtd/ubi/ubi-media.h\nindex 22ed3f627506..bfceae5a890e 100644\n--- a/drivers/mtd/ubi/ubi-media.h\n+++ b/drivers/mtd/ubi/ubi-media.h\n@@ -229,7 +229,7 @@ struct ubi_ec_hdr {\n  * copy. UBI also calculates data CRC when the data is moved and stores it at\n  * the @data_crc field of the copy (P1). So when UBI needs to pick one physical\n  * eraseblock of two (P or P1), the @copy_flag of the newer one (P1) is\n- * examined. If it is cleared, the situation* is simple and the newer one is\n+ * examined. If it is cleared, the situation is simple and the newer one is\n  * picked. If it is set, the data CRC of the copy (P1) is examined. If the CRC\n  * checksum is correct, this physical eraseblock is selected (P1). Otherwise\n  * the older one (P) is selected.\n@@ -389,7 +389,7 @@ struct ubi_vtbl_record {\n #define UBI_FM_POOL_MAGIC\t0x67AF4D08\n #define UBI_FM_EBA_MAGIC\t0xf0c040a8\n \n-/* A fastmap supber block can be located between PEB 0 and\n+/* A fastmap super block can be located between PEB 0 and\n  * UBI_FM_MAX_START */\n #define UBI_FM_MAX_START\t64\n \n",
    "prefixes": []
}