Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/1284089/?format=api
{ "id": 1284089, "url": "http://patchwork.ozlabs.org/api/patches/1284089/?format=api", "web_url": "http://patchwork.ozlabs.org/project/intel-wired-lan/patch/20200506061835.19662-1-yanaijie@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": "<20200506061835.19662-1-yanaijie@huawei.com>", "list_archive_url": null, "date": "2020-05-06T06:18:35", "name": "[net-next] i40e: Make i40e_shutdown_adminq() return void", "commit_ref": null, "pull_url": null, "state": "accepted", "archived": false, "hash": "d515d3e44972c40b8ebe05437e73390397df1162", "submitter": { "id": 71145, "url": "http://patchwork.ozlabs.org/api/people/71145/?format=api", "name": "Jason Yan", "email": "yanaijie@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/20200506061835.19662-1-yanaijie@huawei.com/mbox/", "series": [ { "id": 174980, "url": "http://patchwork.ozlabs.org/api/series/174980/?format=api", "web_url": "http://patchwork.ozlabs.org/project/intel-wired-lan/list/?series=174980", "date": "2020-05-06T06:18:35", "name": "[net-next] i40e: Make i40e_shutdown_adminq() return void", "version": 1, "mbox": "http://patchwork.ozlabs.org/series/174980/mbox/" } ], "comments": "http://patchwork.ozlabs.org/api/patches/1284089/comments/", "check": "pending", "checks": "http://patchwork.ozlabs.org/api/patches/1284089/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 spf=pass (sender SPF authorized) smtp.mailfrom=osuosl.org\n (client-ip=140.211.166.137; helo=fraxinus.osuosl.org;\n envelope-from=intel-wired-lan-bounces@osuosl.org; receiver=<UNKNOWN>)", "ozlabs.org;\n dmarc=none (p=none dis=none) header.from=huawei.com" ], "Received": [ "from fraxinus.osuosl.org (smtp4.osuosl.org [140.211.166.137])\n\t(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))\n\t(No client certificate requested)\n\tby ozlabs.org (Postfix) with ESMTPS id 49H5zB6DXQz9sSy\n\tfor <incoming@patchwork.ozlabs.org>; Wed, 6 May 2020 16:19:34 +1000 (AEST)", "from localhost (localhost [127.0.0.1])\n\tby fraxinus.osuosl.org (Postfix) with ESMTP id E0B7385C5C;\n\tWed, 6 May 2020 06:19:32 +0000 (UTC)", "from fraxinus.osuosl.org ([127.0.0.1])\n\tby localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024)\n\twith ESMTP id AuaWuSOEr-VS; Wed, 6 May 2020 06:19:30 +0000 (UTC)", "from ash.osuosl.org (ash.osuosl.org [140.211.166.34])\n\tby fraxinus.osuosl.org (Postfix) with ESMTP id E90B784508;\n\tWed, 6 May 2020 06:19:30 +0000 (UTC)", "from hemlock.osuosl.org (smtp2.osuosl.org [140.211.166.133])\n by ash.osuosl.org (Postfix) with ESMTP id C8B421BF86D\n for <intel-wired-lan@lists.osuosl.org>; Wed, 6 May 2020 06:19:29 +0000 (UTC)", "from localhost (localhost [127.0.0.1])\n by hemlock.osuosl.org (Postfix) with ESMTP id C4064885B9\n for <intel-wired-lan@lists.osuosl.org>; Wed, 6 May 2020 06:19:29 +0000 (UTC)", "from hemlock.osuosl.org ([127.0.0.1])\n by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024)\n with ESMTP id 6IgPMmK68ZGw for <intel-wired-lan@lists.osuosl.org>;\n Wed, 6 May 2020 06:19:28 +0000 (UTC)", "from huawei.com (szxga04-in.huawei.com [45.249.212.190])\n by hemlock.osuosl.org (Postfix) with ESMTPS id BE77B885B6\n for <intel-wired-lan@lists.osuosl.org>; Wed, 6 May 2020 06:19:28 +0000 (UTC)", "from DGGEMS407-HUB.china.huawei.com (unknown [172.30.72.58])\n by Forcepoint Email with ESMTP id 6348CA83649E26CF3A34;\n Wed, 6 May 2020 14:19:23 +0800 (CST)", "from huawei.com (10.175.124.28) by DGGEMS407-HUB.china.huawei.com\n (10.3.19.207) with Microsoft SMTP Server id 14.3.487.0; Wed, 6 May 2020\n 14:19:13 +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": "Jason Yan <yanaijie@huawei.com>", "To": "<jeffrey.t.kirsher@intel.com>, <davem@davemloft.net>,\n <piotr.azarewicz@intel.com>, <intel-wired-lan@lists.osuosl.org>,\n <netdev@vger.kernel.org>, <linux-kernel@vger.kernel.org>", "Date": "Wed, 6 May 2020 14:18:35 +0800", "Message-ID": "<20200506061835.19662-1-yanaijie@huawei.com>", "X-Mailer": "git-send-email 2.21.1", "MIME-Version": "1.0", "X-Originating-IP": "[10.175.124.28]", "X-CFilter-Loop": "Reflected", "Subject": "[Intel-wired-lan] [PATCH net-next] i40e: Make\n i40e_shutdown_adminq() return void", "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 <intel-wired-lan.osuosl.org>", "List-Unsubscribe": "<https://lists.osuosl.org/mailman/options/intel-wired-lan>,\n <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 <mailto:intel-wired-lan-request@osuosl.org?subject=subscribe>", "Cc": "Jason Yan <yanaijie@huawei.com>", "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 the following coccicheck warning:\n\ndrivers/net/ethernet/intel/i40e/i40e_adminq.c:699:13-21: Unneeded\nvariable: \"ret_code\". Return \"0\" on line 710\n\nSigned-off-by: Jason Yan <yanaijie@huawei.com>\n---\n drivers/net/ethernet/intel/i40e/i40e_adminq.c | 6 +-----\n drivers/net/ethernet/intel/i40e/i40e_prototype.h | 2 +-\n 2 files changed, 2 insertions(+), 6 deletions(-)", "diff": "diff --git a/drivers/net/ethernet/intel/i40e/i40e_adminq.c b/drivers/net/ethernet/intel/i40e/i40e_adminq.c\nindex 37514a75f928..6a089848c857 100644\n--- a/drivers/net/ethernet/intel/i40e/i40e_adminq.c\n+++ b/drivers/net/ethernet/intel/i40e/i40e_adminq.c\n@@ -694,10 +694,8 @@ i40e_status i40e_init_adminq(struct i40e_hw *hw)\n * i40e_shutdown_adminq - shutdown routine for the Admin Queue\n * @hw: pointer to the hardware structure\n **/\n-i40e_status i40e_shutdown_adminq(struct i40e_hw *hw)\n+void i40e_shutdown_adminq(struct i40e_hw *hw)\n {\n-\ti40e_status ret_code = 0;\n-\n \tif (i40e_check_asq_alive(hw))\n \t\ti40e_aq_queue_shutdown(hw, true);\n \n@@ -706,8 +704,6 @@ i40e_status i40e_shutdown_adminq(struct i40e_hw *hw)\n \n \tif (hw->nvm_buff.va)\n \t\ti40e_free_virt_mem(hw, &hw->nvm_buff);\n-\n-\treturn ret_code;\n }\n \n /**\ndiff --git a/drivers/net/ethernet/intel/i40e/i40e_prototype.h b/drivers/net/ethernet/intel/i40e/i40e_prototype.h\nindex bbb478f09093..5c1378641b3b 100644\n--- a/drivers/net/ethernet/intel/i40e/i40e_prototype.h\n+++ b/drivers/net/ethernet/intel/i40e/i40e_prototype.h\n@@ -17,7 +17,7 @@\n \n /* adminq functions */\n i40e_status i40e_init_adminq(struct i40e_hw *hw);\n-i40e_status i40e_shutdown_adminq(struct i40e_hw *hw);\n+void i40e_shutdown_adminq(struct i40e_hw *hw);\n void i40e_adminq_init_ring_data(struct i40e_hw *hw);\n i40e_status i40e_clean_arq_element(struct i40e_hw *hw,\n \t\t\t\t\t struct i40e_arq_event_info *e,\n", "prefixes": [ "net-next" ] }