get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 1220012,
    "url": "http://patchwork.ozlabs.org/api/patches/1220012/?format=api",
    "web_url": "http://patchwork.ozlabs.org/project/intel-wired-lan/patch/20200108133959.93035-1-chenzhou10@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": "<20200108133959.93035-1-chenzhou10@huawei.com>",
    "list_archive_url": null,
    "date": "2020-01-08T13:39:59",
    "name": "[next] igc: make non-global functions static",
    "commit_ref": null,
    "pull_url": null,
    "state": "accepted",
    "archived": false,
    "hash": "f1945f94e5cac6b7d8d987a3ec251d9d6175ec3c",
    "submitter": {
        "id": 76326,
        "url": "http://patchwork.ozlabs.org/api/people/76326/?format=api",
        "name": "chenzhou",
        "email": "chenzhou10@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/20200108133959.93035-1-chenzhou10@huawei.com/mbox/",
    "series": [
        {
            "id": 152020,
            "url": "http://patchwork.ozlabs.org/api/series/152020/?format=api",
            "web_url": "http://patchwork.ozlabs.org/project/intel-wired-lan/list/?series=152020",
            "date": "2020-01-08T13:39:59",
            "name": "[next] igc: make non-global functions static",
            "version": 1,
            "mbox": "http://patchwork.ozlabs.org/series/152020/mbox/"
        }
    ],
    "comments": "http://patchwork.ozlabs.org/api/patches/1220012/comments/",
    "check": "pending",
    "checks": "http://patchwork.ozlabs.org/api/patches/1220012/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; spf=pass (sender SPF authorized)\n\tsmtp.mailfrom=osuosl.org (client-ip=140.211.166.136;\n\thelo=silver.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 silver.osuosl.org (smtp3.osuosl.org [140.211.166.136])\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 47tNzX67jTz9sRW\n\tfor <incoming@patchwork.ozlabs.org>;\n\tThu,  9 Jan 2020 09:22:48 +1100 (AEDT)",
            "from localhost (localhost [127.0.0.1])\n\tby silver.osuosl.org (Postfix) with ESMTP id 075AF2047E;\n\tWed,  8 Jan 2020 22:22:47 +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 AwYZHt7+zT16; Wed,  8 Jan 2020 22:22:45 +0000 (UTC)",
            "from ash.osuosl.org (ash.osuosl.org [140.211.166.34])\n\tby silver.osuosl.org (Postfix) with ESMTP id C62C520484;\n\tWed,  8 Jan 2020 22:22:45 +0000 (UTC)",
            "from hemlock.osuosl.org (smtp2.osuosl.org [140.211.166.133])\n\tby ash.osuosl.org (Postfix) with ESMTP id 1C5E51BF28F\n\tfor <intel-wired-lan@lists.osuosl.org>;\n\tWed,  8 Jan 2020 13:44:24 +0000 (UTC)",
            "from localhost (localhost [127.0.0.1])\n\tby hemlock.osuosl.org (Postfix) with ESMTP id 1824D87CFB\n\tfor <intel-wired-lan@lists.osuosl.org>;\n\tWed,  8 Jan 2020 13:44:24 +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 LHKFEK4x-MoX for <intel-wired-lan@lists.osuosl.org>;\n\tWed,  8 Jan 2020 13:44:22 +0000 (UTC)",
            "from huawei.com (szxga06-in.huawei.com [45.249.212.32])\n\tby hemlock.osuosl.org (Postfix) with ESMTPS id 3062D87C88\n\tfor <intel-wired-lan@lists.osuosl.org>;\n\tWed,  8 Jan 2020 13:44:22 +0000 (UTC)",
            "from DGGEMS407-HUB.china.huawei.com (unknown [172.30.72.59])\n\tby Forcepoint Email with ESMTP id DAEC7D65DF3EF50D2D83;\n\tWed,  8 Jan 2020 21:44:15 +0800 (CST)",
            "from localhost.localdomain.localdomain (10.175.113.25) by\n\tDGGEMS407-HUB.china.huawei.com (10.3.19.207) with Microsoft SMTP\n\tServer id 14.3.439.0; Wed, 8 Jan 2020 21:44:09 +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": "Chen Zhou <chenzhou10@huawei.com>",
        "To": "<jeffrey.t.kirsher@intel.com>, <davem@davemloft.net>",
        "Date": "Wed, 8 Jan 2020 21:39:59 +0800",
        "Message-ID": "<20200108133959.93035-1-chenzhou10@huawei.com>",
        "X-Mailer": "git-send-email 2.20.1",
        "MIME-Version": "1.0",
        "X-Originating-IP": "[10.175.113.25]",
        "X-CFilter-Loop": "Reflected",
        "X-Mailman-Approved-At": "Wed, 08 Jan 2020 22:22:44 +0000",
        "Subject": "[Intel-wired-lan] [PATCH next] igc: make non-global functions static",
        "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": "chenzhou10@huawei.com, netdev@vger.kernel.org,\n\tintel-wired-lan@lists.osuosl.org, linux-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": "Fix sparse warning:\ndrivers/net/ethernet/intel/igc/igc_ptp.c:512:6:\n\twarning: symbol 'igc_ptp_tx_work' was not declared. Should it be static?\ndrivers/net/ethernet/intel/igc/igc_ptp.c:644:6:\n\twarning: symbol 'igc_ptp_suspend' was not declared. Should it be static?\n\nReported-by: Hulk Robot <hulkci@huawei.com>\nSigned-off-by: Chen Zhou <chenzhou10@huawei.com>\n---\n drivers/net/ethernet/intel/igc/igc_ptp.c | 4 ++--\n 1 file changed, 2 insertions(+), 2 deletions(-)",
    "diff": "diff --git a/drivers/net/ethernet/intel/igc/igc_ptp.c b/drivers/net/ethernet/intel/igc/igc_ptp.c\nindex 6935065..389a969 100644\n--- a/drivers/net/ethernet/intel/igc/igc_ptp.c\n+++ b/drivers/net/ethernet/intel/igc/igc_ptp.c\n@@ -509,7 +509,7 @@ static void igc_ptp_tx_hwtstamp(struct igc_adapter *adapter)\n  * This work function polls the TSYNCTXCTL valid bit to determine when a\n  * timestamp has been taken for the current stored skb.\n  */\n-void igc_ptp_tx_work(struct work_struct *work)\n+static void igc_ptp_tx_work(struct work_struct *work)\n {\n \tstruct igc_adapter *adapter = container_of(work, struct igc_adapter,\n \t\t\t\t\t\t   ptp_tx_work);\n@@ -641,7 +641,7 @@ void igc_ptp_init(struct igc_adapter *adapter)\n  * This function stops the overflow check work and PTP Tx timestamp work, and\n  * will prepare the device for OS suspend.\n  */\n-void igc_ptp_suspend(struct igc_adapter *adapter)\n+static void igc_ptp_suspend(struct igc_adapter *adapter)\n {\n \tif (!(adapter->ptp_flags & IGC_PTP_ENABLED))\n \t\treturn;\n",
    "prefixes": [
        "next"
    ]
}