get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 809940,
    "url": "http://patchwork.ozlabs.org/api/patches/809940/?format=api",
    "web_url": "http://patchwork.ozlabs.org/project/skiboot/patch/20170905055202.8216-6-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-6-joel@jms.id.au>",
    "list_archive_url": null,
    "date": "2017-09-05T05:51:42",
    "name": "[05/25] hw/centaur: Fix whitespace around comment",
    "commit_ref": null,
    "pull_url": null,
    "state": "accepted",
    "archived": false,
    "hash": "8ab744c518c9b2846b11960775c58ed76f5042da",
    "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-6-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/809940/comments/",
    "check": "pending",
    "checks": "http://patchwork.ozlabs.org/api/patches/809940/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 [IPv6:2401:3900:2:1::3])\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 3xmbVg2Pw8z9sNq\n\tfor <incoming@patchwork.ozlabs.org>;\n\tTue,  5 Sep 2017 15:53:31 +1000 (AEST)",
            "from lists.ozlabs.org (lists.ozlabs.org [IPv6:2401:3900:2:1::3])\n\tby lists.ozlabs.org (Postfix) with ESMTP id 3xmbVg0X54zDrFT\n\tfor <incoming@patchwork.ozlabs.org>;\n\tTue,  5 Sep 2017 15:53:31 +1000 (AEST)",
            "from mail-pf0-x242.google.com (mail-pf0-x242.google.com\n\t[IPv6:2607:f8b0:400e:c00::242])\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 3xmbV44FFzzDrJq\n\tfor <skiboot@lists.ozlabs.org>; Tue,  5 Sep 2017 15:53:00 +1000 (AEST)",
            "by mail-pf0-x242.google.com with SMTP id m1so1216567pfk.0\n\tfor <skiboot@lists.ozlabs.org>; Mon, 04 Sep 2017 22:53:00 -0700 (PDT)",
            "from aurora.jms.id.au ([122.99.82.10])\n\tby smtp.gmail.com with ESMTPSA id\n\tp5sm12992209pgn.91.2017.09.04.22.52.49\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:52:51 -0700 (PDT)",
            "by aurora.jms.id.au (sSMTP sendmail emulation);\n\tTue, 05 Sep 2017 15:52:47 +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=\"K5k4OQ9k\"; 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=\"K5k4OQ9k\"; dkim-atps=neutral",
            "ozlabs.org;\n\tspf=pass (mailfrom) smtp.mailfrom=gmail.com\n\t(client-ip=2607:f8b0:400e:c00::242; helo=mail-pf0-x242.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=\"K5k4OQ9k\"; 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=kstBWc/9xla0LlEb/J95eSUAf14pSx4g/Bi01EMb8qE=;\n\tb=K5k4OQ9kKU/FT2+LgpO3re1iWp7cA86qNj+shNUss4B4JLcX5AODN3w8BEON0+7KPx\n\tC4Nvm57gkrloYkWlmwwib0Kvaub8lVvFYGK6At0g+z9bZoEOeBTSaigjJ4Dlbw/VaxKI\n\tElrWrhPS19aOBLgGjnUJQtVCbH7GrGpl8VT7AAmWCRqiQ3HL9Umq5X04VJff9NNAAcvL\n\t2wxMCsElVUe3OMBX2juPD4iLtrbnj14kf7lQiN9qlgkrgf/UoMHB9PbcM+htmIN3aNLW\n\ttBwWkBPs4EHi3/Tn/BknkoECkEzcypDUY0RYrB5oAvv/4y4APbAVXxJHnR1jC7/8qMID\n\tcTnQ==",
        "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=kstBWc/9xla0LlEb/J95eSUAf14pSx4g/Bi01EMb8qE=;\n\tb=agb57j4n9RxRfhBozMDgSNF7bPYlCobvti+W3HkH6vlrHAyswSydNSXLDwPCcORwk8\n\tfz8s+PFoY5yNoJzAP4EwDV7x4uxAf6q5dPQF2OkvG1XJmg+fgnEw+Gqbp/tdJe1GZvZe\n\t94ynG9PTalwGtkltZ0HCOfw9B5IBjAV7pNT1OFQnNow32hLF9/G5ye4cX0Zirb0ByFB2\n\tPiB87UhQd1wwXeQME7KgxusdxMl52GBYxkUfRVrRGdqjRHKJah/XQ1jWOGemvmZiPfVh\n\tCeAkfcTZyCEUt9T0p+PAfZQiHv4h/ejT+lKnmGNcQ+fQz81pd3GIh8e/bkqssRE4zaUF\n\tduCQ==",
        "X-Gm-Message-State": "AHPjjUhZATjefgRBhQ/qAIqB4RpInTKig8zTjp3FCBOeo//klqagoYwe\n\t52eCj6p/Ubgje9MGedw=",
        "X-Google-Smtp-Source": "ADKCNb4jLC3b069APJb+OIsLNKlbHdN5iRKPZJ+ll0M6obv7S1Z8i/WLXshu4GrhA21JhBp18LH48w==",
        "X-Received": "by 10.84.231.202 with SMTP id g10mr3026089pln.407.1504590773032; \n\tMon, 04 Sep 2017 22:52:53 -0700 (PDT)",
        "From": "Joel Stanley <joel@jms.id.au>",
        "To": "skiboot@lists.ozlabs.org",
        "Date": "Tue,  5 Sep 2017 15:51:42 +1000",
        "Message-Id": "<20170905055202.8216-6-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 05/25] hw/centaur: Fix whitespace around comment",
        "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/centaur.c | 10 +++++-----\n 1 file changed, 5 insertions(+), 5 deletions(-)",
    "diff": "diff --git a/hw/centaur.c b/hw/centaur.c\nindex 7dec358cb51c..f673745eec97 100644\n--- a/hw/centaur.c\n+++ b/hw/centaur.c\n@@ -99,11 +99,11 @@ static int64_t centaur_fsiscom_complete(struct centaur_chip *centaur)\n \n \t/* Recovery sequence from HostBoot fsiscom.C\n \t *  if SCOM fails and FSI Master displays \"MasterTimeOut\"\n-         *     then 7,6  <covered by FSI driver>\n-         *  else if SCOM fails and FSI2PIB Status shows PIB abort\n-         *     then just perform unit reset (6) and wait 1 ms\n-         *  else (PIB_abort='0' but PIB error is unequal 0)\n-         *     then just perform unit reset (6) (wait not needed).\n+\t *     then 7,6  <covered by FSI driver>\n+\t *  else if SCOM fails and FSI2PIB Status shows PIB abort\n+\t *     then just perform unit reset (6) and wait 1 ms\n+\t *  else (PIB_abort='0' but PIB error is unequal 0)\n+\t *     then just perform unit reset (6) (wait not needed).\n \t *\n \t * Note: Waiting 1ms inside OPAL is a BIG NO NO !!! We have\n \t * no choice but doing it at the moment but that will have\n",
    "prefixes": [
        "05/25"
    ]
}