get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 806671,
    "url": "http://patchwork.ozlabs.org/api/patches/806671/?format=api",
    "web_url": "http://patchwork.ozlabs.org/project/linux-pci/patch/1503940184-29423-1-git-send-email-tbaicar@codeaurora.org/",
    "project": {
        "id": 28,
        "url": "http://patchwork.ozlabs.org/api/projects/28/?format=api",
        "name": "Linux PCI development",
        "link_name": "linux-pci",
        "list_id": "linux-pci.vger.kernel.org",
        "list_email": "linux-pci@vger.kernel.org",
        "web_url": null,
        "scm_url": null,
        "webscm_url": null,
        "list_archive_url": "",
        "list_archive_url_format": "",
        "commit_url_format": ""
    },
    "msgid": "<1503940184-29423-1-git-send-email-tbaicar@codeaurora.org>",
    "list_archive_url": null,
    "date": "2017-08-28T17:09:44",
    "name": "PCI/AER: don't call recovery process for correctable errors",
    "commit_ref": null,
    "pull_url": null,
    "state": "changes-requested",
    "archived": false,
    "hash": "1fa07b46f61622f6aeab3712e1b894e222deecee",
    "submitter": {
        "id": 69885,
        "url": "http://patchwork.ozlabs.org/api/people/69885/?format=api",
        "name": "Tyler Baicar",
        "email": "tbaicar@codeaurora.org"
    },
    "delegate": null,
    "mbox": "http://patchwork.ozlabs.org/project/linux-pci/patch/1503940184-29423-1-git-send-email-tbaicar@codeaurora.org/mbox/",
    "series": [
        {
            "id": 220,
            "url": "http://patchwork.ozlabs.org/api/series/220/?format=api",
            "web_url": "http://patchwork.ozlabs.org/project/linux-pci/list/?series=220",
            "date": "2017-08-28T17:09:44",
            "name": "PCI/AER: don't call recovery process for correctable errors",
            "version": 1,
            "mbox": "http://patchwork.ozlabs.org/series/220/mbox/"
        }
    ],
    "comments": "http://patchwork.ozlabs.org/api/patches/806671/comments/",
    "check": "pending",
    "checks": "http://patchwork.ozlabs.org/api/patches/806671/checks/",
    "tags": {},
    "related": [],
    "headers": {
        "Return-Path": "<linux-pci-owner@vger.kernel.org>",
        "X-Original-To": "incoming@patchwork.ozlabs.org",
        "Delivered-To": "patchwork-incoming@bilbo.ozlabs.org",
        "Authentication-Results": [
            "ozlabs.org;\n\tspf=none (mailfrom) smtp.mailfrom=vger.kernel.org\n\t(client-ip=209.132.180.67; helo=vger.kernel.org;\n\tenvelope-from=linux-pci-owner@vger.kernel.org;\n\treceiver=<UNKNOWN>)",
            "ozlabs.org; dkim=pass (1024-bit key;\n\tunprotected) header.d=codeaurora.org header.i=@codeaurora.org\n\theader.b=\"X9pVO1sm\"; \n\tdkim=pass (1024-bit key) header.d=codeaurora.org\n\theader.i=@codeaurora.org header.b=\"X9pVO1sm\"; \n\tdkim-atps=neutral",
            "pdx-caf-mail.web.codeaurora.org;\n\tdmarc=none (p=none dis=none)\n\theader.from=codeaurora.org",
            "pdx-caf-mail.web.codeaurora.org;\n\tspf=none smtp.mailfrom=tbaicar@codeaurora.org"
        ],
        "Received": [
            "from vger.kernel.org (vger.kernel.org [209.132.180.67])\n\tby ozlabs.org (Postfix) with ESMTP id 3xgytk6Q0Gz9sNn\n\tfor <incoming@patchwork.ozlabs.org>;\n\tTue, 29 Aug 2017 03:09:50 +1000 (AEST)",
            "(majordomo@vger.kernel.org) by vger.kernel.org via listexpand\n\tid S1751232AbdH1RJt (ORCPT <rfc822;incoming@patchwork.ozlabs.org>);\n\tMon, 28 Aug 2017 13:09:49 -0400",
            "from smtp.codeaurora.org ([198.145.29.96]:50034 \"EHLO\n\tsmtp.codeaurora.org\" rhost-flags-OK-OK-OK-OK) by vger.kernel.org\n\twith ESMTP id S1750866AbdH1RJs (ORCPT\n\t<rfc822; linux-pci@vger.kernel.org>); Mon, 28 Aug 2017 13:09:48 -0400",
            "by smtp.codeaurora.org (Postfix, from userid 1000)\n\tid DA72B6072E; Mon, 28 Aug 2017 17:09:47 +0000 (UTC)",
            "from tbaicar-lnx.qualcomm.com (i-global254.qualcomm.com\n\t[199.106.103.254])\n\t(using TLSv1.2 with cipher ECDHE-RSA-AES128-SHA256 (128/128 bits))\n\t(No client certificate requested)\n\t(Authenticated sender: tbaicar@smtp.codeaurora.org)\n\tby smtp.codeaurora.org (Postfix) with ESMTPSA id DEAF3606B7;\n\tMon, 28 Aug 2017 17:09:46 +0000 (UTC)"
        ],
        "DKIM-Signature": [
            "v=1; a=rsa-sha256; c=relaxed/simple; d=codeaurora.org;\n\ts=default; t=1503940187;\n\tbh=ymvNBwDZnaDaONCUNMIh/BOzyYcGHGWW8TCZx/tZGV8=;\n\th=From:To:Cc:Subject:Date:From;\n\tb=X9pVO1smg0h6IO+C6OUkITY0FPT3doke8yhrpPD7DEwOgDLwZSSmxZvDx3mBdi+A2\n\tVryJYU0yl8V9xlm56rnqAQwZ2e6piJ87qOkOTII/mQDF/lbeVhXouK7PCrk0hbei1v\n\t5KUocEeDqC/5Z2FiA/yTvEVCFx19ZSnDB44yyvEI=",
            "v=1; a=rsa-sha256; c=relaxed/simple; d=codeaurora.org;\n\ts=default; t=1503940187;\n\tbh=ymvNBwDZnaDaONCUNMIh/BOzyYcGHGWW8TCZx/tZGV8=;\n\th=From:To:Cc:Subject:Date:From;\n\tb=X9pVO1smg0h6IO+C6OUkITY0FPT3doke8yhrpPD7DEwOgDLwZSSmxZvDx3mBdi+A2\n\tVryJYU0yl8V9xlm56rnqAQwZ2e6piJ87qOkOTII/mQDF/lbeVhXouK7PCrk0hbei1v\n\t5KUocEeDqC/5Z2FiA/yTvEVCFx19ZSnDB44yyvEI="
        ],
        "X-Spam-Checker-Version": "SpamAssassin 3.4.0 (2014-02-07) on\n\tpdx-caf-mail.web.codeaurora.org",
        "X-Spam-Level": "",
        "X-Spam-Status": "No, score=-2.8 required=2.0 tests=ALL_TRUSTED,BAYES_00,\n\tDKIM_SIGNED,\n\tT_DKIM_INVALID autolearn=no autolearn_force=no version=3.4.0",
        "DMARC-Filter": "OpenDMARC Filter v1.3.2 smtp.codeaurora.org DEAF3606B7",
        "From": "Tyler Baicar <tbaicar@codeaurora.org>",
        "To": "bhelgaas@google.com, jonathan.derrick@intel.com,\n\tkeith.busch@intel.com, linux-pci@vger.kernel.org,\n\tlinux-kernel@vger.kernel.org",
        "Cc": "Tyler Baicar <tbaicar@codeaurora.org>",
        "Subject": "[PATCH] PCI/AER: don't call recovery process for correctable errors",
        "Date": "Mon, 28 Aug 2017 11:09:44 -0600",
        "Message-Id": "<1503940184-29423-1-git-send-email-tbaicar@codeaurora.org>",
        "X-Mailer": "git-send-email 1.9.1",
        "Sender": "linux-pci-owner@vger.kernel.org",
        "Precedence": "bulk",
        "List-ID": "<linux-pci.vger.kernel.org>",
        "X-Mailing-List": "linux-pci@vger.kernel.org"
    },
    "content": "Correctable errors do not need any software intervention, so\navoid calling into the software recovery process for correctable\nerrors.\n\nSigned-off-by: Tyler Baicar <tbaicar@codeaurora.org>\n---\n drivers/pci/pcie/aer/aerdrv_core.c | 3 ++-\n 1 file changed, 2 insertions(+), 1 deletion(-)",
    "diff": "diff --git a/drivers/pci/pcie/aer/aerdrv_core.c b/drivers/pci/pcie/aer/aerdrv_core.c\nindex b1303b3..4765c11 100644\n--- a/drivers/pci/pcie/aer/aerdrv_core.c\n+++ b/drivers/pci/pcie/aer/aerdrv_core.c\n@@ -626,7 +626,8 @@ static void aer_recover_work_func(struct work_struct *work)\n \t\t\tcontinue;\n \t\t}\n \t\tcper_print_aer(pdev, entry.severity, entry.regs);\n-\t\tdo_recovery(pdev, entry.severity);\n+\t\tif (entry.severity != AER_CORRECTABLE)\n+\t\t\tdo_recovery(pdev, entry.severity);\n \t\tpci_dev_put(pdev);\n \t}\n }\n",
    "prefixes": []
}