Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/94151/?format=api
https://patches.dpdk.org/api/patches/94151/?format=api", "web_url": "https://patches.dpdk.org/project/dpdk/patch/1623551516-49635-7-git-send-email-humin29@huawei.com/", "project": { "id": 1, "url": "https://patches.dpdk.org/api/projects/1/?format=api", "name": "DPDK", "link_name": "dpdk", "list_id": "dev.dpdk.org", "list_email": "dev@dpdk.org", "web_url": "http://core.dpdk.org", "scm_url": "git://dpdk.org/dpdk", "webscm_url": "http://git.dpdk.org/dpdk", "list_archive_url": "https://inbox.dpdk.org/dev", "list_archive_url_format": "https://inbox.dpdk.org/dev/{}", "commit_url_format": "" }, "msgid": "<1623551516-49635-7-git-send-email-humin29@huawei.com>", "list_archive_url": "https://inbox.dpdk.org/dev/1623551516-49635-7-git-send-email-humin29@huawei.com", "date": "2021-06-13T02:31:56", "name": "[6/6] net/hns3: delete redundant blank lines", "commit_ref": null, "pull_url": null, "state": "accepted", "archived": true, "hash": "9277745153fbc892e48de67b92580e6ac523f737", "submitter": { "id": 1944, "url": "https://patches.dpdk.org/api/people/1944/?format=api", "name": "humin (Q)", "email": "humin29@huawei.com" }, "delegate": { "id": 3961, "url": "https://patches.dpdk.org/api/users/3961/?format=api", "username": "arybchenko", "first_name": "Andrew", "last_name": "Rybchenko", "email": "andrew.rybchenko@oktetlabs.ru" }, "mbox": "https://patches.dpdk.org/project/dpdk/patch/1623551516-49635-7-git-send-email-humin29@huawei.com/mbox/", "series": [ { "id": 17308, "url": "https://patches.dpdk.org/api/series/17308/?format=api", "web_url": "https://patches.dpdk.org/project/dpdk/list/?series=17308", "date": "2021-06-13T02:31:54", "name": "bugfixes for hns3 PMD", "version": 1, "mbox": "https://patches.dpdk.org/series/17308/mbox/" } ], "comments": "https://patches.dpdk.org/api/patches/94151/comments/", "check": "fail", "checks": "https://patches.dpdk.org/api/patches/94151/checks/", "tags": {}, "related": [], "headers": { "Return-Path": "<dev-bounces@dpdk.org>", "X-Original-To": "patchwork@inbox.dpdk.org", "Delivered-To": "patchwork@inbox.dpdk.org", "Received": [ "from mails.dpdk.org (mails.dpdk.org [217.70.189.124])\n\tby inbox.dpdk.org (Postfix) with ESMTP id 00C10A0C47;\n\tSun, 13 Jun 2021 04:32:55 +0200 (CEST)", "from [217.70.189.124] (localhost [127.0.0.1])\n\tby mails.dpdk.org (Postfix) with ESMTP id 7EB8441122;\n\tSun, 13 Jun 2021 04:32:30 +0200 (CEST)", "from szxga02-in.huawei.com (szxga02-in.huawei.com [45.249.212.188])\n by mails.dpdk.org (Postfix) with ESMTP id 9D19540E32\n for <dev@dpdk.org>; Sun, 13 Jun 2021 04:32:23 +0200 (CEST)", "from dggeme756-chm.china.huawei.com (unknown [172.30.72.54])\n by szxga02-in.huawei.com (SkyGuard) with ESMTP id 4G2dnQ25XTz6xkT\n for <dev@dpdk.org>; Sun, 13 Jun 2021 10:29:14 +0800 (CST)", "from localhost.localdomain (10.69.192.56) by\n dggeme756-chm.china.huawei.com (10.3.19.102) with Microsoft SMTP Server\n (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id\n 15.1.2176.2; Sun, 13 Jun 2021 10:32:21 +0800" ], "From": "\"Min Hu (Connor)\" <humin29@huawei.com>", "To": "<dev@dpdk.org>", "CC": "<ferruh.yigit@intel.com>", "Date": "Sun, 13 Jun 2021 10:31:56 +0800", "Message-ID": "<1623551516-49635-7-git-send-email-humin29@huawei.com>", "X-Mailer": "git-send-email 2.7.4", "In-Reply-To": "<1623551516-49635-1-git-send-email-humin29@huawei.com>", "References": "<1623551516-49635-1-git-send-email-humin29@huawei.com>", "MIME-Version": "1.0", "Content-Type": "text/plain", "X-Originating-IP": "[10.69.192.56]", "X-ClientProxiedBy": "dggems701-chm.china.huawei.com (10.3.19.178) To\n dggeme756-chm.china.huawei.com (10.3.19.102)", "X-CFilter-Loop": "Reflected", "Subject": "[dpdk-dev] [PATCH 6/6] net/hns3: delete redundant blank lines", "X-BeenThere": "dev@dpdk.org", "X-Mailman-Version": "2.1.29", "Precedence": "list", "List-Id": "DPDK patches and discussions <dev.dpdk.org>", "List-Unsubscribe": "<https://mails.dpdk.org/options/dev>,\n <mailto:dev-request@dpdk.org?subject=unsubscribe>", "List-Archive": "<http://mails.dpdk.org/archives/dev/>", "List-Post": "<mailto:dev@dpdk.org>", "List-Help": "<mailto:dev-request@dpdk.org?subject=help>", "List-Subscribe": "<https://mails.dpdk.org/listinfo/dev>,\n <mailto:dev-request@dpdk.org?subject=subscribe>", "Errors-To": "dev-bounces@dpdk.org", "Sender": "\"dev\" <dev-bounces@dpdk.org>" }, "content": "From: HongBo Zheng <zhenghongbo3@huawei.com>\n\nDelete redundant blank lines to make:\n1.Return value judgment follow the function call.\n2.No blank lines at the end of a code block defined by braces.\n\nSigned-off-by: HongBo Zheng <zhenghongbo3@huawei.com>\nSigned-off-by: Min Hu (Connor) <humin29@huawei.com>\n---\n drivers/net/hns3/hns3_ethdev.c | 6 +-----\n 1 file changed, 1 insertion(+), 5 deletions(-)", "diff": "diff --git a/drivers/net/hns3/hns3_ethdev.c b/drivers/net/hns3/hns3_ethdev.c\nindex 5f6daa9..e515125 100644\n--- a/drivers/net/hns3/hns3_ethdev.c\n+++ b/drivers/net/hns3/hns3_ethdev.c\n@@ -253,8 +253,8 @@ static void\n hns3_clear_all_event_cause(struct hns3_hw *hw)\n {\n \tuint32_t vector0_int_stats;\n-\tvector0_int_stats = hns3_read_dev(hw, HNS3_VECTOR0_OTHER_INT_STS_REG);\n \n+\tvector0_int_stats = hns3_read_dev(hw, HNS3_VECTOR0_OTHER_INT_STS_REG);\n \tif (BIT(HNS3_VECTOR0_IMPRESET_INT_B) & vector0_int_stats)\n \t\thns3_warn(hw, \"Probe during IMP reset interrupt\");\n \n@@ -3127,7 +3127,6 @@ hns3_parse_cfg(struct hns3_cfg *cfg, struct hns3_cmd_desc *desc)\n \text_rss_size_max = hns3_get_field(rte_le_to_cpu_32(req->param[2]),\n \t\t\t\t\t HNS3_CFG_EXT_RSS_SIZE_M,\n \t\t\t\t\t HNS3_CFG_EXT_RSS_SIZE_S);\n-\n \t/*\n \t * Field ext_rss_size_max obtained from firmware will be more flexible\n \t * for future changes and expansions, which is an exponent of 2, instead\n@@ -3846,7 +3845,6 @@ hns3_drop_nopfc_buf_till_fit(struct hns3_hw *hw,\n \tfor (i = HNS3_MAX_TC_NUM - 1; i >= 0; i--) {\n \t\tpriv = &buf_alloc->priv_buf[i];\n \t\tmask = BIT((uint8_t)i);\n-\n \t\tif (hw->hw_tc_map & mask &&\n \t\t !(hw->dcb_info.hw_pfc_map & mask)) {\n \t\t\t/* Clear the no pfc TC private buffer */\n@@ -3932,7 +3930,6 @@ hns3_only_alloc_priv_buff(struct hns3_hw *hw,\n \t\t\tCOMPENSATE_HALF_MPS_NUM * half_mps;\n \tmin_rx_priv = roundup(min_rx_priv, HNS3_BUF_SIZE_UNIT);\n \trx_priv = rounddown(rx_priv, HNS3_BUF_SIZE_UNIT);\n-\n \tif (rx_priv < min_rx_priv)\n \t\treturn false;\n \n@@ -6299,7 +6296,6 @@ hns3_is_reset_pending(struct hns3_adapter *hns)\n \n \thns3_check_event_cause(hns, NULL);\n \treset = hns3_get_reset_level(hns, &hw->reset.pending);\n-\n \tif (reset != HNS3_NONE_RESET && hw->reset.level != HNS3_NONE_RESET &&\n \t hw->reset.level < reset) {\n \t\thns3_warn(hw, \"High level reset %d is pending\", reset);\n", "prefixes": [ "6/6" ] }{ "id": 94151, "url": "