Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/1.2/patches/833306/?format=api
{ "id": 833306, "url": "http://patchwork.ozlabs.org/api/1.2/patches/833306/?format=api", "web_url": "http://patchwork.ozlabs.org/project/netdev/patch/1509621328-152587-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": "<1509621328-152587-1-git-send-email-weiyongjun1@huawei.com>", "list_archive_url": null, "date": "2017-11-02T11:15:28", "name": "[net-next] net/ncsi: Make local function ncsi_get_filter() static", "commit_ref": null, "pull_url": null, "state": "accepted", "archived": true, "hash": "8b963b0a0144fe5619144486c1586a9f0d0d6fe0", "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/1509621328-152587-1-git-send-email-weiyongjun1@huawei.com/mbox/", "series": [ { "id": 11481, "url": "http://patchwork.ozlabs.org/api/1.2/series/11481/?format=api", "web_url": "http://patchwork.ozlabs.org/project/netdev/list/?series=11481", "date": "2017-11-02T11:15:28", "name": "[net-next] net/ncsi: Make local function ncsi_get_filter() static", "version": 1, "mbox": "http://patchwork.ozlabs.org/series/11481/mbox/" } ], "comments": "http://patchwork.ozlabs.org/api/patches/833306/comments/", "check": "pending", "checks": "http://patchwork.ozlabs.org/api/patches/833306/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 3ySMr351zbz9s9Y\n\tfor <patchwork-incoming@ozlabs.org>;\n\tThu, 2 Nov 2017 22:12:35 +1100 (AEDT)", "(majordomo@vger.kernel.org) by vger.kernel.org via listexpand\n\tid S1755818AbdKBLMd (ORCPT <rfc822;patchwork-incoming@ozlabs.org>);\n\tThu, 2 Nov 2017 07:12:33 -0400", "from szxga06-in.huawei.com ([45.249.212.32]:57892 \"EHLO huawei.com\"\n\trhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP\n\tid S1754844AbdKBLMc (ORCPT <rfc822;netdev@vger.kernel.org>);\n\tThu, 2 Nov 2017 07:12:32 -0400", "from DGGEMS401-HUB.china.huawei.com (unknown [172.30.72.58])\n\tby Forcepoint Email with ESMTP id ED145A7CD554F;\n\tThu, 2 Nov 2017 19:12:17 +0800 (CST)", "from localhost.localdomain.localdomain (10.175.113.25) by\n\tDGGEMS401-HUB.china.huawei.com (10.3.19.201) with Microsoft SMTP\n\tServer id 14.3.361.1; Thu, 2 Nov 2017 19:11:58 +0800" ], "From": "Wei Yongjun <weiyongjun1@huawei.com>", "To": "Samuel Mendoza-Jonas <sam@mendozajonas.com>,\n\tGavin Shan <gwshan@linux.vnet.ibm.com>, Arnd Bergmann <arnd@arndb.de>", "CC": "Wei Yongjun <weiyongjun1@huawei.com>, <netdev@vger.kernel.org>", "Subject": "[PATCH net-next] net/ncsi: Make local function ncsi_get_filter()\n\tstatic", "Date": "Thu, 2 Nov 2017 11:15:28 +0000", "Message-ID": "<1509621328-152587-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\nnet/ncsi/ncsi-manage.c:41:5: warning:\n symbol 'ncsi_get_filter' was not declared. Should it be static?\n\nSigned-off-by: Wei Yongjun <weiyongjun1@huawei.com>\n---\n net/ncsi/ncsi-manage.c | 2 +-\n 1 file changed, 1 insertion(+), 1 deletion(-)", "diff": "diff --git a/net/ncsi/ncsi-manage.c b/net/ncsi/ncsi-manage.c\nindex 28c42b2..47baf91 100644\n--- a/net/ncsi/ncsi-manage.c\n+++ b/net/ncsi/ncsi-manage.c\n@@ -38,7 +38,7 @@ static inline int ncsi_filter_size(int table)\n \treturn sizes[table];\n }\n \n-u32 *ncsi_get_filter(struct ncsi_channel *nc, int table, int index)\n+static u32 *ncsi_get_filter(struct ncsi_channel *nc, int table, int index)\n {\n \tstruct ncsi_channel_filter *ncf;\n \tint size;\n", "prefixes": [ "net-next" ] }