get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 1125975,
    "url": "http://patchwork.ozlabs.org/api/patches/1125975/?format=api",
    "web_url": "http://patchwork.ozlabs.org/project/intel-wired-lan/patch/20190702062021.41524-1-yuehaibing@huawei.com/",
    "project": {
        "id": 46,
        "url": "http://patchwork.ozlabs.org/api/projects/46/?format=api",
        "name": "Intel Wired Ethernet development",
        "link_name": "intel-wired-lan",
        "list_id": "intel-wired-lan.osuosl.org",
        "list_email": "intel-wired-lan@osuosl.org",
        "web_url": "",
        "scm_url": "",
        "webscm_url": "",
        "list_archive_url": "",
        "list_archive_url_format": "",
        "commit_url_format": ""
    },
    "msgid": "<20190702062021.41524-1-yuehaibing@huawei.com>",
    "list_archive_url": null,
    "date": "2019-07-02T06:20:21",
    "name": "[net-next] iavf: remove unused debug function iavf_debug_d",
    "commit_ref": null,
    "pull_url": null,
    "state": "accepted",
    "archived": false,
    "hash": "a93e58e0da64ea0daf329cfc140a0dd377d37730",
    "submitter": {
        "id": 70610,
        "url": "http://patchwork.ozlabs.org/api/people/70610/?format=api",
        "name": "Yue Haibing",
        "email": "yuehaibing@huawei.com"
    },
    "delegate": {
        "id": 68,
        "url": "http://patchwork.ozlabs.org/api/users/68/?format=api",
        "username": "jtkirshe",
        "first_name": "Jeff",
        "last_name": "Kirsher",
        "email": "jeffrey.t.kirsher@intel.com"
    },
    "mbox": "http://patchwork.ozlabs.org/project/intel-wired-lan/patch/20190702062021.41524-1-yuehaibing@huawei.com/mbox/",
    "series": [
        {
            "id": 117223,
            "url": "http://patchwork.ozlabs.org/api/series/117223/?format=api",
            "web_url": "http://patchwork.ozlabs.org/project/intel-wired-lan/list/?series=117223",
            "date": "2019-07-02T06:20:21",
            "name": "[net-next] iavf: remove unused debug function iavf_debug_d",
            "version": 1,
            "mbox": "http://patchwork.ozlabs.org/series/117223/mbox/"
        }
    ],
    "comments": "http://patchwork.ozlabs.org/api/patches/1125975/comments/",
    "check": "pending",
    "checks": "http://patchwork.ozlabs.org/api/patches/1125975/checks/",
    "tags": {},
    "related": [],
    "headers": {
        "Return-Path": "<intel-wired-lan-bounces@osuosl.org>",
        "X-Original-To": [
            "incoming@patchwork.ozlabs.org",
            "intel-wired-lan@lists.osuosl.org"
        ],
        "Delivered-To": [
            "patchwork-incoming@bilbo.ozlabs.org",
            "intel-wired-lan@lists.osuosl.org"
        ],
        "Authentication-Results": [
            "ozlabs.org;\n\tspf=pass (mailfrom) smtp.mailfrom=osuosl.org\n\t(client-ip=140.211.166.133; helo=hemlock.osuosl.org;\n\tenvelope-from=intel-wired-lan-bounces@osuosl.org;\n\treceiver=<UNKNOWN>)",
            "ozlabs.org;\n\tdmarc=none (p=none dis=none) header.from=huawei.com"
        ],
        "Received": [
            "from hemlock.osuosl.org (smtp2.osuosl.org [140.211.166.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 45dDdP24tjz9sNC\n\tfor <incoming@patchwork.ozlabs.org>;\n\tTue,  2 Jul 2019 16:20:56 +1000 (AEST)",
            "from localhost (localhost [127.0.0.1])\n\tby hemlock.osuosl.org (Postfix) with ESMTP id 3B4118789C;\n\tTue,  2 Jul 2019 06:20:55 +0000 (UTC)",
            "from hemlock.osuosl.org ([127.0.0.1])\n\tby localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024)\n\twith ESMTP id osoZQW06eDjU; Tue,  2 Jul 2019 06:20:53 +0000 (UTC)",
            "from ash.osuosl.org (ash.osuosl.org [140.211.166.34])\n\tby hemlock.osuosl.org (Postfix) with ESMTP id F0B05877AE;\n\tTue,  2 Jul 2019 06:20:52 +0000 (UTC)",
            "from silver.osuosl.org (smtp3.osuosl.org [140.211.166.136])\n\tby ash.osuosl.org (Postfix) with ESMTP id 98FD61BF35D\n\tfor <intel-wired-lan@lists.osuosl.org>;\n\tTue,  2 Jul 2019 06:20:51 +0000 (UTC)",
            "from localhost (localhost [127.0.0.1])\n\tby silver.osuosl.org (Postfix) with ESMTP id 9553120417\n\tfor <intel-wired-lan@lists.osuosl.org>;\n\tTue,  2 Jul 2019 06:20:51 +0000 (UTC)",
            "from silver.osuosl.org ([127.0.0.1])\n\tby localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024)\n\twith ESMTP id HSyHlXvQdHhN for <intel-wired-lan@lists.osuosl.org>;\n\tTue,  2 Jul 2019 06:20:50 +0000 (UTC)",
            "from huawei.com (szxga07-in.huawei.com [45.249.212.35])\n\tby silver.osuosl.org (Postfix) with ESMTPS id 6CDB520412\n\tfor <intel-wired-lan@lists.osuosl.org>;\n\tTue,  2 Jul 2019 06:20:50 +0000 (UTC)",
            "from DGGEMS401-HUB.china.huawei.com (unknown [172.30.72.58])\n\tby Forcepoint Email with ESMTP id D31A995C6CEF97FA6E31;\n\tTue,  2 Jul 2019 14:20:45 +0800 (CST)",
            "from localhost (10.133.213.239) by DGGEMS401-HUB.china.huawei.com\n\t(10.3.19.201) with Microsoft SMTP Server id 14.3.439.0;\n\tTue, 2 Jul 2019 14:20:38 +0800"
        ],
        "X-Virus-Scanned": [
            "amavisd-new at osuosl.org",
            "amavisd-new at osuosl.org"
        ],
        "X-Greylist": "domain auto-whitelisted by SQLgrey-1.7.6",
        "From": "YueHaibing <yuehaibing@huawei.com>",
        "To": "<jeffrey.t.kirsher@intel.com>, <davem@davemloft.net>,\n\t<intel-wired-lan@lists.osuosl.org>",
        "Date": "Tue, 2 Jul 2019 14:20:21 +0800",
        "Message-ID": "<20190702062021.41524-1-yuehaibing@huawei.com>",
        "X-Mailer": "git-send-email 2.10.2.windows.1",
        "MIME-Version": "1.0",
        "X-Originating-IP": "[10.133.213.239]",
        "X-CFilter-Loop": "Reflected",
        "Subject": "[Intel-wired-lan] [PATCH net-next] iavf: remove unused debug\n\tfunction iavf_debug_d",
        "X-BeenThere": "intel-wired-lan@osuosl.org",
        "X-Mailman-Version": "2.1.29",
        "Precedence": "list",
        "List-Id": "Intel Wired Ethernet Linux Kernel Driver Development\n\t<intel-wired-lan.osuosl.org>",
        "List-Unsubscribe": "<https://lists.osuosl.org/mailman/options/intel-wired-lan>, \n\t<mailto:intel-wired-lan-request@osuosl.org?subject=unsubscribe>",
        "List-Archive": "<http://lists.osuosl.org/pipermail/intel-wired-lan/>",
        "List-Post": "<mailto:intel-wired-lan@osuosl.org>",
        "List-Help": "<mailto:intel-wired-lan-request@osuosl.org?subject=help>",
        "List-Subscribe": "<https://lists.osuosl.org/mailman/listinfo/intel-wired-lan>, \n\t<mailto:intel-wired-lan-request@osuosl.org?subject=subscribe>",
        "Cc": "netdev@vger.kernel.org, YueHaibing <yuehaibing@huawei.com>,\n\tlinux-kernel@vger.kernel.org",
        "Content-Type": "text/plain; charset=\"us-ascii\"",
        "Content-Transfer-Encoding": "7bit",
        "Errors-To": "intel-wired-lan-bounces@osuosl.org",
        "Sender": "\"Intel-wired-lan\" <intel-wired-lan-bounces@osuosl.org>"
    },
    "content": "There is no caller of function iavf_debug_d() in tree since\ncommit 75051ce4c5d8 (\"iavf: Fix up debug print macro\"),\nso it can be removed.\n\nReported-by: Hulk Robot <hulkci@huawei.com>\nSigned-off-by: YueHaibing <yuehaibing@huawei.com>\n---\n drivers/net/ethernet/intel/iavf/iavf_main.c | 22 ----------------------\n 1 file changed, 22 deletions(-)",
    "diff": "diff --git a/drivers/net/ethernet/intel/iavf/iavf_main.c b/drivers/net/ethernet/intel/iavf/iavf_main.c\nindex 881561b..327dda8 100644\n--- a/drivers/net/ethernet/intel/iavf/iavf_main.c\n+++ b/drivers/net/ethernet/intel/iavf/iavf_main.c\n@@ -143,28 +143,6 @@ enum iavf_status iavf_free_virt_mem_d(struct iavf_hw *hw,\n }\n \n /**\n- * iavf_debug_d - OS dependent version of debug printing\n- * @hw:  pointer to the HW structure\n- * @mask: debug level mask\n- * @fmt_str: printf-type format description\n- **/\n-void iavf_debug_d(void *hw, u32 mask, char *fmt_str, ...)\n-{\n-\tchar buf[512];\n-\tva_list argptr;\n-\n-\tif (!(mask & ((struct iavf_hw *)hw)->debug_mask))\n-\t\treturn;\n-\n-\tva_start(argptr, fmt_str);\n-\tvsnprintf(buf, sizeof(buf), fmt_str, argptr);\n-\tva_end(argptr);\n-\n-\t/* the debug string is already formatted with a newline */\n-\tpr_info(\"%s\", buf);\n-}\n-\n-/**\n  * iavf_schedule_reset - Set the flags and schedule a reset event\n  * @adapter: board private structure\n  **/\n",
    "prefixes": [
        "net-next"
    ]
}