get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 807868,
    "url": "http://patchwork.ozlabs.org/api/patches/807868/?format=api",
    "web_url": "http://patchwork.ozlabs.org/project/netdev/patch/20170830194313.9659-2-Larry.Finger@lwfinger.net/",
    "project": {
        "id": 7,
        "url": "http://patchwork.ozlabs.org/api/projects/7/?format=api",
        "name": "Linux network development",
        "link_name": "netdev",
        "list_id": "netdev.vger.kernel.org",
        "list_email": "netdev@vger.kernel.org",
        "web_url": null,
        "scm_url": null,
        "webscm_url": null,
        "list_archive_url": "",
        "list_archive_url_format": "",
        "commit_url_format": ""
    },
    "msgid": "<20170830194313.9659-2-Larry.Finger@lwfinger.net>",
    "list_archive_url": null,
    "date": "2017-08-30T19:43:12",
    "name": "[1/2] staging: r8822be: Remove some dead code",
    "commit_ref": null,
    "pull_url": null,
    "state": "not-applicable",
    "archived": true,
    "hash": "3ceb018ff4de079b3595e341dab11f5d22b01081",
    "submitter": {
        "id": 190,
        "url": "http://patchwork.ozlabs.org/api/people/190/?format=api",
        "name": "Larry Finger",
        "email": "Larry.Finger@lwfinger.net"
    },
    "delegate": {
        "id": 34,
        "url": "http://patchwork.ozlabs.org/api/users/34/?format=api",
        "username": "davem",
        "first_name": "David",
        "last_name": "Miller",
        "email": "davem@davemloft.net"
    },
    "mbox": "http://patchwork.ozlabs.org/project/netdev/patch/20170830194313.9659-2-Larry.Finger@lwfinger.net/mbox/",
    "series": [
        {
            "id": 692,
            "url": "http://patchwork.ozlabs.org/api/series/692/?format=api",
            "web_url": "http://patchwork.ozlabs.org/project/netdev/list/?series=692",
            "date": "2017-08-30T19:43:11",
            "name": "staging: r8822be: Remove some left-over debug code",
            "version": 1,
            "mbox": "http://patchwork.ozlabs.org/series/692/mbox/"
        }
    ],
    "comments": "http://patchwork.ozlabs.org/api/patches/807868/comments/",
    "check": "pending",
    "checks": "http://patchwork.ozlabs.org/api/patches/807868/checks/",
    "tags": {},
    "related": [],
    "headers": {
        "Return-Path": "<netdev-owner@vger.kernel.org>",
        "X-Original-To": "patchwork-incoming@ozlabs.org",
        "Delivered-To": "patchwork-incoming@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=netdev-owner@vger.kernel.org;\n\treceiver=<UNKNOWN>)",
            "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=\"EUVDJmv1\"; dkim-atps=neutral"
        ],
        "Received": [
            "from vger.kernel.org (vger.kernel.org [209.132.180.67])\n\tby ozlabs.org (Postfix) with ESMTP id 3xjGC02dJYz9t16\n\tfor <patchwork-incoming@ozlabs.org>;\n\tThu, 31 Aug 2017 05:43:24 +1000 (AEST)",
            "(majordomo@vger.kernel.org) by vger.kernel.org via listexpand\n\tid S1751336AbdH3TnU (ORCPT <rfc822;patchwork-incoming@ozlabs.org>);\n\tWed, 30 Aug 2017 15:43:20 -0400",
            "from mail-oi0-f65.google.com ([209.85.218.65]:36782 \"EHLO\n\tmail-oi0-f65.google.com\" rhost-flags-OK-OK-OK-OK) by vger.kernel.org\n\twith ESMTP id S1751316AbdH3TnT (ORCPT\n\t<rfc822;netdev@vger.kernel.org>); Wed, 30 Aug 2017 15:43:19 -0400",
            "by mail-oi0-f65.google.com with SMTP id x184so6469086oia.3\n\tfor <netdev@vger.kernel.org>; Wed, 30 Aug 2017 12:43:18 -0700 (PDT)",
            "from linux-4v1g.suse (cpe-24-31-249-175.kc.res.rr.com.\n\t[24.31.249.175]) by smtp.gmail.com with ESMTPSA id\n\ty9sm4523219oia.22.2017.08.30.12.43.17\n\t(version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128);\n\tWed, 30 Aug 2017 12:43:18 -0700 (PDT)"
        ],
        "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n\td=gmail.com; s=20161025;\n\th=sender:from:to:cc:subject:date:message-id:in-reply-to:references;\n\tbh=tX1eenAkG8JWllMfDwwhGvB3JpdqP9MEMqWBygzQguQ=;\n\tb=EUVDJmv1PXesj1Qk6HPaQJYUMwEjowfHR0LeZTZgOZ3JdibYKKIq5UUpRMpEj0HaBl\n\tBA01ees+ttrc0kHOq+OZuIEWEbIyWlsjp4XDdRmtL7TF5PQ6H7YLiTavD0zYECCSoTSd\n\tD207i48xRe0UjDDN5SkL6B0x7OyeQe38jgBPiIAjiK2rjqBtIW+04mV+XW3qdlkhK+bR\n\tylhlnpYVoIc9tn7/hG70ix9RO2kFCk2kCbaMUPjTmRZIdABuFu+Q1GuVfzVClWIpYsWA\n\t1phf+fJVW1L3bi5dJ45OBX39hHP6014r49qMlq3StRe51FgviEba3eC1nuEgDWU7a2D0\n\tx1kQ==",
        "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:cc:subject:date:message-id\n\t:in-reply-to:references;\n\tbh=tX1eenAkG8JWllMfDwwhGvB3JpdqP9MEMqWBygzQguQ=;\n\tb=IGsNqhiuEmGM8nBlZbmq4mM4KD0VT6KtNyAqKzc9chWXK8btIbPTd6cImuszBomooA\n\tin3lkZ/XX/zUUfFfhAnmk2S3NZPy959kc6SFBKr+8/730PVVIM0S6ae05RLuBGwXkNTh\n\tgQy/Jm/OrOS4GFiJ5bT8EZ9t1p57tw2EEJZwofW99Xy6KhUFQ2htyBA3CD4AADZHIn4j\n\tlgov+2LRW4KbtQX0sGu6w162YHgwsodWMqq760POduJNgaTJz1goCByixaBlsxU3NlNd\n\tp1dzCEl3pt+NCf1DxYkOjlrEF4I/OpIbUrpkGeTiutasSdsHPr+iSNszZbYh+yQ6VygY\n\tLj1w==",
        "X-Gm-Message-State": "AHYfb5jWLr0PvQe5swC9XY7SrBJsxu8ksJGaL+wjTBbXpCFYd7IfWllB\n\tVgn7wkOpqeCWtQ==",
        "X-Received": "by 10.202.245.145 with SMTP id\n\tt139mr2866370oih.261.1504122198482; \n\tWed, 30 Aug 2017 12:43:18 -0700 (PDT)",
        "From": "Larry Finger <Larry.Finger@lwfinger.net>",
        "To": "gregkh@linuxfoundation.org",
        "Cc": "netdev@vger.kernel.org, devel@driverdev.osuosl.org,\n\tLarry Finger <Larry.Finger@lwfinger.net>,\n\tPing-Ke Shih <pkshih@realtek.com>,\n\tYan-Hsuan Chuang <yhchuang@realtek.com>,\n\tBirming Chiu <birming@realtek.com>,\n\tShaofu <shaofu@realtek.com>, Steven Ting <steventing@realtek.com>",
        "Subject": "[PATCH 1/2] staging: r8822be: Remove some dead code",
        "Date": "Wed, 30 Aug 2017 14:43:12 -0500",
        "Message-Id": "<20170830194313.9659-2-Larry.Finger@lwfinger.net>",
        "X-Mailer": "git-send-email 2.12.3",
        "In-Reply-To": "<20170830194313.9659-1-Larry.Finger@lwfinger.net>",
        "References": "<20170830194313.9659-1-Larry.Finger@lwfinger.net>",
        "Sender": "netdev-owner@vger.kernel.org",
        "Precedence": "bulk",
        "List-ID": "<netdev.vger.kernel.org>",
        "X-Mailing-List": "netdev@vger.kernel.org"
    },
    "content": "The code found inside an #ifdef CONFIG_RTL_DEBUG ... #endif section\nis left over from debugging of the original driver, and should be\ndeleted.\n\nReported by: Andreas Ziegler <andreas.ziegler@fau.de>\nSigned-off-by: Larry Finger <Larry.Finger@lwfinger.net>\nCc: Ping-Ke Shih <pkshih@realtek.com>\nCc: Yan-Hsuan Chuang <yhchuang@realtek.com>\nCc: Birming Chiu <birming@realtek.com>\nCc: Shaofu <shaofu@realtek.com>\nCc: Steven Ting <steventing@realtek.com>\n---\n drivers/staging/rtlwifi/halmac/rtl_halmac.c | 20 --------------------\n 1 file changed, 20 deletions(-)",
    "diff": "diff --git a/drivers/staging/rtlwifi/halmac/rtl_halmac.c b/drivers/staging/rtlwifi/halmac/rtl_halmac.c\nindex 031bf2c6078f..2b1c5fae64ef 100644\n--- a/drivers/staging/rtlwifi/halmac/rtl_halmac.c\n+++ b/drivers/staging/rtlwifi/halmac/rtl_halmac.c\n@@ -386,26 +386,6 @@ static void deinit_priv(struct rtl_halmac *halmac)\n \t\tu32 count, size;\n \n \t\tcount = HALMAC_FEATURE_ALL + 1;\n-#ifdef CONFIG_RTL_DEBUG\n-\t\t{\n-\t\t\tstruct submit_ctx *sctx;\n-\t\t\tu32 i;\n-\n-\t\t\tfor (i = 0; i < count; i++) {\n-\t\t\t\tif (!indicator[i].sctx)\n-\t\t\t\t\tcontinue;\n-\n-\t\t\t\tRT_TRACE(\n-\t\t\t\t\trtlpriv, COMP_HALMAC, DBG_LOUD,\n-\t\t\t\t\t\"%s: <WARN> %s id(%d) sctx still exist!!\\n\",\n-\t\t\t\t\t__func__, RTL_HALMAC_FEATURE_NAME[i],\n-\t\t\t\t\ti);\n-\t\t\t\tsctx = indicator[i].sctx;\n-\t\t\t\tindicator[i].sctx = NULL;\n-\t\t\t\trtl_mfree((u8 *)sctx, sizeof(*sctx));\n-\t\t\t}\n-\t\t}\n-#endif /* !CONFIG_RTL_DEBUG */\n \t\tsize = sizeof(*indicator) * count;\n \t\tkfree((u8 *)indicator);\n \t}\n",
    "prefixes": [
        "1/2"
    ]
}