get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 858334,
    "url": "http://patchwork.ozlabs.org/api/patches/858334/?format=api",
    "web_url": "http://patchwork.ozlabs.org/project/intel-wired-lan/patch/1515568431-190497-1-git-send-email-weiyongjun1@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": "<1515568431-190497-1-git-send-email-weiyongjun1@huawei.com>",
    "list_archive_url": null,
    "date": "2018-01-10T07:13:51",
    "name": "[net-next] i40e: Make local function i40e_get_link_speed static",
    "commit_ref": null,
    "pull_url": null,
    "state": "accepted",
    "archived": false,
    "hash": "90bd32f0bf721e37511a8d29ac9f716d964cefc4",
    "submitter": {
        "id": 69830,
        "url": "http://patchwork.ozlabs.org/api/people/69830/?format=api",
        "name": "Wei Yongjun",
        "email": "weiyongjun1@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/1515568431-190497-1-git-send-email-weiyongjun1@huawei.com/mbox/",
    "series": [
        {
            "id": 22452,
            "url": "http://patchwork.ozlabs.org/api/series/22452/?format=api",
            "web_url": "http://patchwork.ozlabs.org/project/intel-wired-lan/list/?series=22452",
            "date": "2018-01-10T07:13:51",
            "name": "[net-next] i40e: Make local function i40e_get_link_speed static",
            "version": 1,
            "mbox": "http://patchwork.ozlabs.org/series/22452/mbox/"
        }
    ],
    "comments": "http://patchwork.ozlabs.org/api/patches/858334/comments/",
    "check": "pending",
    "checks": "http://patchwork.ozlabs.org/api/patches/858334/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.138; helo=whitealder.osuosl.org;\n\tenvelope-from=intel-wired-lan-bounces@osuosl.org;\n\treceiver=<UNKNOWN>)",
        "Received": [
            "from whitealder.osuosl.org (smtp1.osuosl.org [140.211.166.138])\n\t(using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits))\n\t(No client certificate requested)\n\tby ozlabs.org (Postfix) with ESMTPS id 3zGssf2R4Mz9s4s\n\tfor <incoming@patchwork.ozlabs.org>;\n\tThu, 11 Jan 2018 02:11:16 +1100 (AEDT)",
            "from localhost (localhost [127.0.0.1])\n\tby whitealder.osuosl.org (Postfix) with ESMTP id 40FE389811;\n\tWed, 10 Jan 2018 15:11:15 +0000 (UTC)",
            "from whitealder.osuosl.org ([127.0.0.1])\n\tby localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024)\n\twith ESMTP id nxENR+T8JIxx; Wed, 10 Jan 2018 15:11:14 +0000 (UTC)",
            "from ash.osuosl.org (ash.osuosl.org [140.211.166.34])\n\tby whitealder.osuosl.org (Postfix) with ESMTP id 28B5B8980A;\n\tWed, 10 Jan 2018 15:11:14 +0000 (UTC)",
            "from whitealder.osuosl.org (smtp1.osuosl.org [140.211.166.138])\n\tby ash.osuosl.org (Postfix) with ESMTP id 331371C2504\n\tfor <intel-wired-lan@lists.osuosl.org>;\n\tWed, 10 Jan 2018 07:07:50 +0000 (UTC)",
            "from localhost (localhost [127.0.0.1])\n\tby whitealder.osuosl.org (Postfix) with ESMTP id 2C0468974F\n\tfor <intel-wired-lan@lists.osuosl.org>;\n\tWed, 10 Jan 2018 07:07:50 +0000 (UTC)",
            "from whitealder.osuosl.org ([127.0.0.1])\n\tby localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024)\n\twith ESMTP id AI6++TRJPgsR for <intel-wired-lan@lists.osuosl.org>;\n\tWed, 10 Jan 2018 07:07:49 +0000 (UTC)",
            "from huawei.com (szxga05-in.huawei.com [45.249.212.191])\n\tby whitealder.osuosl.org (Postfix) with ESMTPS id D10B38974B\n\tfor <intel-wired-lan@lists.osuosl.org>;\n\tWed, 10 Jan 2018 07:07:48 +0000 (UTC)",
            "from DGGEMS405-HUB.china.huawei.com (unknown [172.30.72.60])\n\tby Forcepoint Email with ESMTP id 145EDBAEC7206;\n\tWed, 10 Jan 2018 15:07:30 +0800 (CST)",
            "from localhost.localdomain.localdomain (10.175.113.25) by\n\tDGGEMS405-HUB.china.huawei.com (10.3.19.205) with Microsoft SMTP\n\tServer id 14.3.361.1; Wed, 10 Jan 2018 15:07:21 +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": "Wei Yongjun <weiyongjun1@huawei.com>",
        "To": "Jeff Kirsher <jeffrey.t.kirsher@intel.com>",
        "Date": "Wed, 10 Jan 2018 07:13:51 +0000",
        "Message-ID": "<1515568431-190497-1-git-send-email-weiyongjun1@huawei.com>",
        "X-Mailer": "git-send-email 1.8.3.1",
        "MIME-Version": "1.0",
        "X-Originating-IP": "[10.175.113.25]",
        "X-CFilter-Loop": "Reflected",
        "X-Mailman-Approved-At": "Wed, 10 Jan 2018 15:11:13 +0000",
        "Subject": "[Intel-wired-lan] [PATCH net-next] i40e: Make local function\n\ti40e_get_link_speed static",
        "X-BeenThere": "intel-wired-lan@osuosl.org",
        "X-Mailman-Version": "2.1.24",
        "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": "intel-wired-lan@lists.osuosl.org, Wei Yongjun <weiyongjun1@huawei.com>, \n\tnetdev@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": "Fixes the following sparse warning:\n\ndrivers/net/ethernet/intel/i40e/i40e_main.c:5440:5: warning:\n symbol 'i40e_get_link_speed' was not declared. Should it be static?\n\nSigned-off-by: Wei Yongjun <weiyongjun1@huawei.com>\n---\n drivers/net/ethernet/intel/i40e/i40e_main.c | 2 +-\n 1 file changed, 1 insertion(+), 1 deletion(-)",
    "diff": "diff --git a/drivers/net/ethernet/intel/i40e/i40e_main.c b/drivers/net/ethernet/intel/i40e/i40e_main.c\nindex 42dcaef..0d4a7c69 100644\n--- a/drivers/net/ethernet/intel/i40e/i40e_main.c\n+++ b/drivers/net/ethernet/intel/i40e/i40e_main.c\n@@ -5437,7 +5437,7 @@ static int i40e_vsi_config_tc(struct i40e_vsi *vsi, u8 enabled_tc)\n  * @vsi: VSI to be configured\n  *\n  **/\n-int i40e_get_link_speed(struct i40e_vsi *vsi)\n+static int i40e_get_link_speed(struct i40e_vsi *vsi)\n {\n \tstruct i40e_pf *pf = vsi->back;\n\n",
    "prefixes": [
        "net-next"
    ]
}