Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-10.3 required=3.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER,MAILING_LIST_MULTI, NICE_REPLY_A,SPF_HELO_NONE,SPF_PASS,USER_AGENT_SANE_1 autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 5B91FC433B4 for ; Sat, 8 May 2021 00:47:55 +0000 (UTC) Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by mail.kernel.org (Postfix) with ESMTP id A8CF46145E for ; Sat, 8 May 2021 00:47:54 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org A8CF46145E Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=huawei.com Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=dev-bounces@dpdk.org Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 85E7540140; Sat, 8 May 2021 02:47:53 +0200 (CEST) Received: from szxga04-in.huawei.com (szxga04-in.huawei.com [45.249.212.190]) by mails.dpdk.org (Postfix) with ESMTP id 4EAD84013F for ; Sat, 8 May 2021 02:47:51 +0200 (CEST) Received: from DGGEMS411-HUB.china.huawei.com (unknown [172.30.72.59]) by szxga04-in.huawei.com (SkyGuard) with ESMTP id 4FcT9D0nGBzmfwx; Sat, 8 May 2021 08:44:32 +0800 (CST) Received: from [10.67.103.128] (10.67.103.128) by DGGEMS411-HUB.china.huawei.com (10.3.19.211) with Microsoft SMTP Server id 14.3.498.0; Sat, 8 May 2021 08:47:41 +0800 To: David Marchand , Thomas Monjalon CC: dev , "Yigit, Ferruh" , Yisen Zhuang , Lijun Ou References: <5c39e9bc-24ae-0c78-6860-cf5cef10ce58@intel.com> <20210507122004.683239-1-thomas@monjalon.net> From: "Min Hu (Connor)" Message-ID: Date: Sat, 8 May 2021 08:47:41 +0800 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:68.0) Gecko/20100101 Thunderbird/68.3.1 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset="utf-8"; format=flowed Content-Transfer-Encoding: 8bit X-Originating-IP: [10.67.103.128] X-CFilter-Loop: Reflected Subject: Re: [dpdk-dev] [PATCH] net/hns3: fix debug build X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" 在 2021/5/7 20:25, David Marchand 写道: > On Fri, May 7, 2021 at 2:20 PM Thomas Monjalon wrote: >> >> The variable "dev" is not used in hns3_get_tx_prep_needed() >> in the case of RTE_LIBRTE_ETHDEV_DEBUG: >> drivers/net/hns3/hns3_rxtx.c:4213:45: error: unused parameter ‘dev’ > > Fixes: d7ec2c076579 ("net/hns3: select Tx prepare based on Tx offload") > Well, sorry for late reply, thanks Thomas and David. >> >> Reported-by: David Marchand >> Signed-off-by: Thomas Monjalon > > Acked-by: David Marchand > >