Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/62309/?format=api
http://patches.dpdk.org/api/patches/62309/?format=api", "web_url": "http://patches.dpdk.org/project/dpdk/patch/bdec1ffacb6caa5565338262716c4abe3f518fb2.1572613507.git.cloud.wangxiaoyun@huawei.com/", "project": { "id": 1, "url": "http://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": "<bdec1ffacb6caa5565338262716c4abe3f518fb2.1572613507.git.cloud.wangxiaoyun@huawei.com>", "list_archive_url": "https://inbox.dpdk.org/dev/bdec1ffacb6caa5565338262716c4abe3f518fb2.1572613507.git.cloud.wangxiaoyun@huawei.com", "date": "2019-11-01T13:36:42", "name": "[v5,1/5] net/hinic/base: fix code style check issue", "commit_ref": null, "pull_url": null, "state": "accepted", "archived": true, "hash": "31eeb8fee4bac04956e6981a90dddc6df84ab6aa", "submitter": { "id": 1446, "url": "http://patches.dpdk.org/api/people/1446/?format=api", "name": "Wangxiaoyun (Cloud)", "email": "cloud.wangxiaoyun@huawei.com" }, "delegate": { "id": 319, "url": "http://patches.dpdk.org/api/users/319/?format=api", "username": "fyigit", "first_name": "Ferruh", "last_name": "Yigit", "email": "ferruh.yigit@amd.com" }, "mbox": "http://patches.dpdk.org/project/dpdk/patch/bdec1ffacb6caa5565338262716c4abe3f518fb2.1572613507.git.cloud.wangxiaoyun@huawei.com/mbox/", "series": [ { "id": 7196, "url": "http://patches.dpdk.org/api/series/7196/?format=api", "web_url": "http://patches.dpdk.org/project/dpdk/list/?series=7196", "date": "2019-11-01T13:36:41", "name": "Some fixes for hinic PMD driver", "version": 5, "mbox": "http://patches.dpdk.org/series/7196/mbox/" } ], "comments": "http://patches.dpdk.org/api/patches/62309/comments/", "check": "fail", "checks": "http://patches.dpdk.org/api/patches/62309/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 dpdk.org (dpdk.org [92.243.14.124])\n\tby inbox.dpdk.org (Postfix) with ESMTP id E4C6FA00BE;\n\tFri, 1 Nov 2019 14:21:10 +0100 (CET)", "from [92.243.14.124] (localhost [127.0.0.1])\n\tby dpdk.org (Postfix) with ESMTP id BB2381C1B7;\n\tFri, 1 Nov 2019 14:21:10 +0100 (CET)", "from huawei.com (szxga04-in.huawei.com [45.249.212.190])\n by dpdk.org (Postfix) with ESMTP id B92A21C1AC\n for <dev@dpdk.org>; Fri, 1 Nov 2019 14:21:09 +0100 (CET)", "from DGGEMS406-HUB.china.huawei.com (unknown [172.30.72.59])\n by Forcepoint Email with ESMTP id 823DAB37478B5BFBD474\n for <dev@dpdk.org>; Fri, 1 Nov 2019 21:21:03 +0800 (CST)", "from tester.localdomain (10.175.119.39) by\n DGGEMS406-HUB.china.huawei.com (10.3.19.206) with Microsoft SMTP Server id\n 14.3.439.0; Fri, 1 Nov 2019 21:20:53 +0800" ], "From": "Xiaoyun wang <cloud.wangxiaoyun@huawei.com>", "To": "<dev@dpdk.org>", "CC": "<ferruh.yigit@intel.com>, <zhouguoyang@huawei.com>, <wulike1@huawei.com>,\n <luoxianjun@huawei.com>, <shahar.belkar@huawei.com>,\n <tanya.brokhman@huawei.com>, <xuanziyang2@huawei.com>, Xiaoyun wang\n <cloud.wangxiaoyun@huawei.com>", "Date": "Fri, 1 Nov 2019 21:36:42 +0800", "Message-ID": "\n <bdec1ffacb6caa5565338262716c4abe3f518fb2.1572613507.git.cloud.wangxiaoyun@huawei.com>", "X-Mailer": "git-send-email 1.8.3.1", "In-Reply-To": "<cover.1572613507.git.cloud.wangxiaoyun@huawei.com>", "References": "<cover.1572613507.git.cloud.wangxiaoyun@huawei.com>", "MIME-Version": "1.0", "Content-Type": "text/plain", "X-Originating-IP": "[10.175.119.39]", "X-CFilter-Loop": "Reflected", "Subject": "[dpdk-dev] [PATCH v5 1/5] net/hinic/base: fix code style check issue", "X-BeenThere": "dev@dpdk.org", "X-Mailman-Version": "2.1.15", "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": "This patch fixs the code style check issue for MACRO_ARG_REUSE.\n\nFixes: b8582d051af1 (\"net/hinic/base: add HW interfaces for SR-IOV\")\nSigned-off-by: Xiaoyun wang <cloud.wangxiaoyun@huawei.com>\n---\n drivers/net/hinic/base/hinic_pmd_mbox.c | 7 +++----\n 1 file changed, 3 insertions(+), 4 deletions(-)", "diff": "diff --git a/drivers/net/hinic/base/hinic_pmd_mbox.c b/drivers/net/hinic/base/hinic_pmd_mbox.c\nindex bdb94e9..3d3c1bc 100644\n--- a/drivers/net/hinic/base/hinic_pmd_mbox.c\n+++ b/drivers/net/hinic/base/hinic_pmd_mbox.c\n@@ -131,11 +131,9 @@ enum hinic_mbox_tx_status {\n #define MBOX_RESPONSE_ERROR\t\t0x1\n #define MBOX_MSG_ID_MASK\t\t0xFF\n #define MBOX_MSG_ID(func_to_func)\t((func_to_func)->send_msg_id)\n-#define MBOX_MSG_ID_INC(func_to_func)\t(MBOX_MSG_ID(func_to_func) =\t\\\n-\t\t\t(MBOX_MSG_ID(func_to_func) + 1) & MBOX_MSG_ID_MASK)\n \n enum hinic_hwif_direction_type {\n-\t/* driver send msg to up or up send msg to drier*/\n+\t/* driver send msg to up or up send msg to driver*/\n \tHINIC_HWIF_DIRECT_SEND = 0,\n \t/* after driver/up send msg to each other, then up/driver ack the msg */\n \tHINIC_HWIF_RESPONSE,\n@@ -690,7 +688,8 @@ static int hinic_mbox_to_func(struct hinic_mbox_func_to_func *func_to_func,\n \tif (err)\n \t\treturn err;\n \n-\tmsg_info.msg_id = MBOX_MSG_ID_INC(func_to_func);\n+\tmsg_info.msg_id = (MBOX_MSG_ID(func_to_func) + 1) & MBOX_MSG_ID_MASK;\n+\tMBOX_MSG_ID(func_to_func) = msg_info.msg_id;\n \n \tset_mbox_to_func_event(func_to_func, EVENT_START);\n \n", "prefixes": [ "v5", "1/5" ] }{ "id": 62309, "url": "