get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 809944,
    "url": "http://patchwork.ozlabs.org/api/patches/809944/?format=api",
    "web_url": "http://patchwork.ozlabs.org/project/skiboot/patch/20170905055202.8216-10-joel@jms.id.au/",
    "project": {
        "id": 44,
        "url": "http://patchwork.ozlabs.org/api/projects/44/?format=api",
        "name": "skiboot firmware development",
        "link_name": "skiboot",
        "list_id": "skiboot.lists.ozlabs.org",
        "list_email": "skiboot@lists.ozlabs.org",
        "web_url": "http://github.com/open-power/skiboot",
        "scm_url": "http://github.com/open-power/skiboot",
        "webscm_url": "",
        "list_archive_url": "",
        "list_archive_url_format": "",
        "commit_url_format": ""
    },
    "msgid": "<20170905055202.8216-10-joel@jms.id.au>",
    "list_archive_url": null,
    "date": "2017-09-05T05:51:46",
    "name": "[09/25] hw/chiptod: have a space between while and open paren",
    "commit_ref": null,
    "pull_url": null,
    "state": "accepted",
    "archived": false,
    "hash": "15d30e938faa5aa663b75c76c7a0cac8ad5034e7",
    "submitter": {
        "id": 48628,
        "url": "http://patchwork.ozlabs.org/api/people/48628/?format=api",
        "name": "Joel Stanley",
        "email": "joel@jms.id.au"
    },
    "delegate": null,
    "mbox": "http://patchwork.ozlabs.org/project/skiboot/patch/20170905055202.8216-10-joel@jms.id.au/mbox/",
    "series": [
        {
            "id": 1492,
            "url": "http://patchwork.ozlabs.org/api/series/1492/?format=api",
            "web_url": "http://patchwork.ozlabs.org/project/skiboot/list/?series=1492",
            "date": "2017-09-05T05:51:37",
            "name": "Checkpatch fixes",
            "version": 1,
            "mbox": "http://patchwork.ozlabs.org/series/1492/mbox/"
        }
    ],
    "comments": "http://patchwork.ozlabs.org/api/patches/809944/comments/",
    "check": "pending",
    "checks": "http://patchwork.ozlabs.org/api/patches/809944/checks/",
    "tags": {},
    "related": [],
    "headers": {
        "Return-Path": "<skiboot-bounces+incoming=patchwork.ozlabs.org@lists.ozlabs.org>",
        "X-Original-To": [
            "incoming@patchwork.ozlabs.org",
            "skiboot@lists.ozlabs.org"
        ],
        "Delivered-To": [
            "patchwork-incoming@bilbo.ozlabs.org",
            "skiboot@lists.ozlabs.org"
        ],
        "Received": [
            "from lists.ozlabs.org (lists.ozlabs.org [103.22.144.68])\n\t(using TLSv1.2 with cipher ADH-AES256-GCM-SHA384 (256/256 bits))\n\t(No client certificate requested)\n\tby ozlabs.org (Postfix) with ESMTPS id 3xmbWd26qKz9sP3\n\tfor <incoming@patchwork.ozlabs.org>;\n\tTue,  5 Sep 2017 15:54:21 +1000 (AEST)",
            "from lists.ozlabs.org (lists.ozlabs.org [IPv6:2401:3900:2:1::3])\n\tby lists.ozlabs.org (Postfix) with ESMTP id 3xmbWd0xCrzDrMg\n\tfor <incoming@patchwork.ozlabs.org>;\n\tTue,  5 Sep 2017 15:54:21 +1000 (AEST)",
            "from mail-pg0-x244.google.com (mail-pg0-x244.google.com\n\t[IPv6:2607:f8b0:400e:c05::244])\n\t(using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128\n\tbits)) (No client certificate requested)\n\tby lists.ozlabs.org (Postfix) with ESMTPS id 3xmbVR6Ls1zDrJ3\n\tfor <skiboot@lists.ozlabs.org>; Tue,  5 Sep 2017 15:53:19 +1000 (AEST)",
            "by mail-pg0-x244.google.com with SMTP id j6so1384278pgc.4\n\tfor <skiboot@lists.ozlabs.org>; Mon, 04 Sep 2017 22:53:19 -0700 (PDT)",
            "from aurora.jms.id.au ([122.99.82.10])\n\tby smtp.gmail.com with ESMTPSA id\n\te4sm13429721pfc.38.2017.09.04.22.53.14\n\tfor <skiboot@lists.ozlabs.org>\n\t(version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256);\n\tMon, 04 Sep 2017 22:53:16 -0700 (PDT)",
            "by aurora.jms.id.au (sSMTP sendmail emulation);\n\tTue, 05 Sep 2017 15:53:11 +1000"
        ],
        "Authentication-Results": [
            "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=\"SeEQ0L0j\"; dkim-atps=neutral",
            "lists.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=\"SeEQ0L0j\"; dkim-atps=neutral",
            "ozlabs.org;\n\tspf=pass (mailfrom) smtp.mailfrom=gmail.com\n\t(client-ip=2607:f8b0:400e:c05::244; helo=mail-pg0-x244.google.com;\n\tenvelope-from=joel.stan@gmail.com; receiver=<UNKNOWN>)",
            "lists.ozlabs.org; dkim=pass (2048-bit key;\n\tunprotected) header.d=gmail.com header.i=@gmail.com\n\theader.b=\"SeEQ0L0j\"; dkim-atps=neutral"
        ],
        "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025;\n\th=sender:from:to:subject:date:message-id:in-reply-to:references;\n\tbh=AeGQ96bxsRNoUpRoITKN2T5k+R709uAlvwPOXoTYm9c=;\n\tb=SeEQ0L0jIhqDTpHWHZUJw5Mpe7e9RjaIG5M1ZFt8qsQSjYVOCP5CiTIRKcIskGamze\n\tGyoUJCpGDkJci0woHnWBOf9c0CC+gmqUn9BTOq+UXTwAsKnp07WFs7X5bO+uaXMQWkrg\n\tcu/Uv2kz0LxW8ObnHefokdlJFqw9DAvniS1fxy4jskJ6RNhs3ulsy5FuNmxCiOVoSatF\n\t2wmOdZYCRIIK67n+B9sQCmdAJv4i8/ygpdH6B0I8Lx8WIPmKyvcsj3dNo3NLRmBECXqk\n\tkI5EXsyMPtoYRkdkvD0KNL89UkFJHwd/smqg2TAVPoN19D0Vd2kLj/0DZdKGjiSqa7bQ\n\t5iNQ==",
        "X-Google-DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n\td=1e100.net; s=20161025;\n\th=x-gm-message-state:sender:from:to:subject:date:message-id\n\t:in-reply-to:references;\n\tbh=AeGQ96bxsRNoUpRoITKN2T5k+R709uAlvwPOXoTYm9c=;\n\tb=VMOQsn9hjbcFU8Fdz9P59lYInvj0Gszadtgq7/bp5O0Yvl6EnkuZlAp+i0HB6XIaF9\n\t8Xw6pnIS0yliTfT6CSYzE4YaAmZchqTr4j5mE+sdPOs/2vRRrXWuYmr1xtjxbaKfOI9y\n\tNlPDonUs5O5RN6VwRlpTaWTwgOsBTY1ptqkmSN74xQlIkdRF/HAlawhupkKPkqJfxe0A\n\truffzHoKdcRNSjhj6g/LuvgW2/FjmzyaELQenmpp9ZzlyoGA/pYIM8yQoA9xHNOB4+AH\n\tXU9oiOr8Lqlo//QRp7NMoVFtG65lEDxbI0BfJ4605LwMtM1+2xM64fYAFxlembAUzvdq\n\tp8Og==",
        "X-Gm-Message-State": "AHPjjUjYtn9BqcT1gYAuqCvQpKKgbEAWoVjEZ/kmYI3M0dodmJUACHPT\n\t0N7NyFztntaBldx5xXc=",
        "X-Google-Smtp-Source": "ADKCNb7xWUQidOTgGKsBh70Pi59xMyh14em87yxpFEgSyii0mlVfrpPsHPupW8TrU2f2Sltmog4Rtw==",
        "X-Received": "by 10.99.111.206 with SMTP id k197mr2773550pgc.73.1504590797620; \n\tMon, 04 Sep 2017 22:53:17 -0700 (PDT)",
        "From": "Joel Stanley <joel@jms.id.au>",
        "To": "skiboot@lists.ozlabs.org",
        "Date": "Tue,  5 Sep 2017 15:51:46 +1000",
        "Message-Id": "<20170905055202.8216-10-joel@jms.id.au>",
        "X-Mailer": "git-send-email 2.14.1",
        "In-Reply-To": "<20170905055202.8216-1-joel@jms.id.au>",
        "References": "<20170905055202.8216-1-joel@jms.id.au>",
        "Subject": "[Skiboot] [PATCH 09/25] hw/chiptod: have a space between while and\n\topen paren",
        "X-BeenThere": "skiboot@lists.ozlabs.org",
        "X-Mailman-Version": "2.1.23",
        "Precedence": "list",
        "List-Id": "Mailing list for skiboot development <skiboot.lists.ozlabs.org>",
        "List-Unsubscribe": "<https://lists.ozlabs.org/options/skiboot>,\n\t<mailto:skiboot-request@lists.ozlabs.org?subject=unsubscribe>",
        "List-Archive": "<http://lists.ozlabs.org/pipermail/skiboot/>",
        "List-Post": "<mailto:skiboot@lists.ozlabs.org>",
        "List-Help": "<mailto:skiboot-request@lists.ozlabs.org?subject=help>",
        "List-Subscribe": "<https://lists.ozlabs.org/listinfo/skiboot>,\n\t<mailto:skiboot-request@lists.ozlabs.org?subject=subscribe>",
        "MIME-Version": "1.0",
        "Content-Type": "text/plain; charset=\"utf-8\"",
        "Content-Transfer-Encoding": "base64",
        "Errors-To": "skiboot-bounces+incoming=patchwork.ozlabs.org@lists.ozlabs.org",
        "Sender": "\"Skiboot\"\n\t<skiboot-bounces+incoming=patchwork.ozlabs.org@lists.ozlabs.org>"
    },
    "content": "Signed-off-by: Joel Stanley <joel@jms.id.au>\n---\n hw/chiptod.c | 12 ++++++------\n 1 file changed, 6 insertions(+), 6 deletions(-)",
    "diff": "diff --git a/hw/chiptod.c b/hw/chiptod.c\nindex 1ade6f66b925..e157f0636ec4 100644\n--- a/hw/chiptod.c\n+++ b/hw/chiptod.c\n@@ -548,7 +548,7 @@ static bool chiptod_mod_tb(void)\n \t\t\tprerror(\"TB \\\"Not Set\\\" TOD in error state\\n\");\n \t\t\treturn false;\n \t\t}\n-\t} while(tfmr & SPR_TFMR_LOAD_TOD_MOD);\n+\t} while (tfmr & SPR_TFMR_LOAD_TOD_MOD);\n \n \treturn true;\n }\n@@ -568,7 +568,7 @@ static bool chiptod_interrupt_check(void)\n \t\t\tprerror(\"Interrupt check TFMR corrupt !\\n\");\n \t\t\treturn false;\n \t\t}\n-\t} while(tfmr & SPR_TFMR_CHIP_TOD_INTERRUPT);\n+\t} while (tfmr & SPR_TFMR_CHIP_TOD_INTERRUPT);\n \n \treturn true;\n }\n@@ -602,7 +602,7 @@ static bool chiptod_poll_running(void)\n \t\t\tprerror(\"XSCOM error polling run\\n\");\n \t\t\treturn false;\n \t\t}\n-\t} while(!(tval & 0x0800000000000000UL));\n+\t} while (!(tval & 0x0800000000000000UL));\n \n \treturn true;\n }\n@@ -664,7 +664,7 @@ static bool chiptod_to_tb(void)\n \t\t\tprerror(\"MoveToTB: corrupt TFMR !\\n\");\n \t\t\treturn false;\n \t\t}\n-\t} while(tfmr & SPR_TFMR_MOVE_CHIP_TOD_TO_TB);\n+\t} while (tfmr & SPR_TFMR_MOVE_CHIP_TOD_TO_TB);\n \n \treturn true;\n }\n@@ -691,7 +691,7 @@ static bool chiptod_check_tb_running(void)\n \t\t\t\treturn false;\n \t\t\t}\n \t\t\ttfmr = mfspr(SPR_TFMR);\n-\t\t} while(!(tfmr & SPR_TFMR_TB_SYNC_OCCURED));\n+\t\t} while (!(tfmr & SPR_TFMR_TB_SYNC_OCCURED));\n \t}\n #else\n \tuint64_t tfmr = mfspr(SPR_TFMR);\n@@ -733,7 +733,7 @@ static bool chiptod_reset_tb_errors(void)\n \t\t\tprerror(\"TB error reset: corrupt TFMR !\\n\");\n \t\t\treturn false;\n \t\t}\n-\t} while(tfmr & SPR_TFMR_CLEAR_TB_ERRORS);\n+\t} while (tfmr & SPR_TFMR_CLEAR_TB_ERRORS);\n \treturn true;\n }\n \n",
    "prefixes": [
        "09/25"
    ]
}