Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/1.2/patches/833304/?format=api
{ "id": 833304, "url": "http://patchwork.ozlabs.org/api/1.2/patches/833304/?format=api", "web_url": "http://patchwork.ozlabs.org/project/netdev/patch/1509621288-152345-1-git-send-email-weiyongjun1@huawei.com/", "project": { "id": 7, "url": "http://patchwork.ozlabs.org/api/1.2/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": "<1509621288-152345-1-git-send-email-weiyongjun1@huawei.com>", "list_archive_url": null, "date": "2017-11-02T11:14:48", "name": "[net-next] phylink: make local function phylink_phy_change() static", "commit_ref": null, "pull_url": null, "state": "accepted", "archived": true, "hash": "e98f5727276b1537780a257cbe660aa3d043ad41", "submitter": { "id": 69830, "url": "http://patchwork.ozlabs.org/api/1.2/people/69830/?format=api", "name": "Wei Yongjun", "email": "weiyongjun1@huawei.com" }, "delegate": { "id": 34, "url": "http://patchwork.ozlabs.org/api/1.2/users/34/?format=api", "username": "davem", "first_name": "David", "last_name": "Miller", "email": "davem@davemloft.net" }, "mbox": "http://patchwork.ozlabs.org/project/netdev/patch/1509621288-152345-1-git-send-email-weiyongjun1@huawei.com/mbox/", "series": [ { "id": 11479, "url": "http://patchwork.ozlabs.org/api/1.2/series/11479/?format=api", "web_url": "http://patchwork.ozlabs.org/project/netdev/list/?series=11479", "date": "2017-11-02T11:14:48", "name": "[net-next] phylink: make local function phylink_phy_change() static", "version": 1, "mbox": "http://patchwork.ozlabs.org/series/11479/mbox/" } ], "comments": "http://patchwork.ozlabs.org/api/patches/833304/comments/", "check": "pending", "checks": "http://patchwork.ozlabs.org/api/patches/833304/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>)", "Received": [ "from vger.kernel.org (vger.kernel.org [209.132.180.67])\n\tby ozlabs.org (Postfix) with ESMTP id 3ySMqB210Hz9s9Y\n\tfor <patchwork-incoming@ozlabs.org>;\n\tThu, 2 Nov 2017 22:11:50 +1100 (AEDT)", "(majordomo@vger.kernel.org) by vger.kernel.org via listexpand\n\tid S1755582AbdKBLLr (ORCPT <rfc822;patchwork-incoming@ozlabs.org>);\n\tThu, 2 Nov 2017 07:11:47 -0400", "from szxga06-in.huawei.com ([45.249.212.32]:57570 \"EHLO huawei.com\"\n\trhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP\n\tid S1754844AbdKBLLq (ORCPT <rfc822;netdev@vger.kernel.org>);\n\tThu, 2 Nov 2017 07:11:46 -0400", "from DGGEMS410-HUB.china.huawei.com (unknown [172.30.72.60])\n\tby Forcepoint Email with ESMTP id BEB6D59FBE01A;\n\tThu, 2 Nov 2017 19:11:31 +0800 (CST)", "from localhost.localdomain.localdomain (10.175.113.25) by\n\tDGGEMS410-HUB.china.huawei.com (10.3.19.210) with Microsoft SMTP\n\tServer id 14.3.361.1; Thu, 2 Nov 2017 19:11:18 +0800" ], "From": "Wei Yongjun <weiyongjun1@huawei.com>", "To": "Andrew Lunn <andrew@lunn.ch>, Florian Fainelli <f.fainelli@gmail.com>", "CC": "Wei Yongjun <weiyongjun1@huawei.com>, <netdev@vger.kernel.org>", "Subject": "[PATCH net-next] phylink: make local function phylink_phy_change()\n\tstatic", "Date": "Thu, 2 Nov 2017 11:14:48 +0000", "Message-ID": "<1509621288-152345-1-git-send-email-weiyongjun1@huawei.com>", "X-Mailer": "git-send-email 1.8.3.1", "Content-Type": "text/plain; charset=\"ISO-8859-1\"", "Content-Transfer-Encoding": "7bit", "MIME-Version": "1.0", "X-Originating-IP": "[10.175.113.25]", "X-CFilter-Loop": "Reflected", "Sender": "netdev-owner@vger.kernel.org", "Precedence": "bulk", "List-ID": "<netdev.vger.kernel.org>", "X-Mailing-List": "netdev@vger.kernel.org" }, "content": "Fixes the following sparse warnings:\n\ndrivers/net/phy/phylink.c:570:6: warning:\n symbol 'phylink_phy_change' was not declared. Should it be static?\n\nSigned-off-by: Wei Yongjun <weiyongjun1@huawei.com>\n---\n drivers/net/phy/phylink.c | 3 ++-\n 1 file changed, 2 insertions(+), 1 deletion(-)", "diff": "diff --git a/drivers/net/phy/phylink.c b/drivers/net/phy/phylink.c\nindex 05c8f1c..e3bbc70 100644\n--- a/drivers/net/phy/phylink.c\n+++ b/drivers/net/phy/phylink.c\n@@ -567,7 +567,8 @@ void phylink_destroy(struct phylink *pl)\n }\n EXPORT_SYMBOL_GPL(phylink_destroy);\n \n-void phylink_phy_change(struct phy_device *phydev, bool up, bool do_carrier)\n+static void phylink_phy_change(struct phy_device *phydev, bool up,\n+\t\t\t bool do_carrier)\n {\n \tstruct phylink *pl = phydev->phylink;\n \n", "prefixes": [ "net-next" ] }