From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 8B155A034F; Fri, 7 May 2021 14:25:58 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 106214013F; Fri, 7 May 2021 14:25:58 +0200 (CEST) Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) by mails.dpdk.org (Postfix) with ESMTP id 8D17140040 for ; Fri, 7 May 2021 14:25:56 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1620390356; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=XLMqXPWjaQ4ePJ6sLw/IcrWWUm86KlocwVdUScmEOjI=; b=KClyPFyIOWF/sU3xZQ5P2il27glykA/BebQ1y1fOuEGi8L2feh4Jz8pHEsu1f2FRoIyHEW 63FBqQiKg2pkCCbwWLA4abf1S4N7LMOX2A2gS/5d05c49m3Z4uST7qnk7t9PbMWIg8RwTT JXXyRxn1gOM4bTSqnsfsmF3z6wyuK5k= Received: from mail-vs1-f72.google.com (mail-vs1-f72.google.com [209.85.217.72]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-106-e9voI2BXM6SUlizciEE2_w-1; Fri, 07 May 2021 08:25:54 -0400 X-MC-Unique: e9voI2BXM6SUlizciEE2_w-1 Received: by mail-vs1-f72.google.com with SMTP id d10-20020a67e10a0000b029022857e9d007so3495802vsl.14 for ; Fri, 07 May 2021 05:25:54 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc:content-transfer-encoding; bh=XLMqXPWjaQ4ePJ6sLw/IcrWWUm86KlocwVdUScmEOjI=; b=fSBUdUxkrQeK4ojVI9xHnlNl45Bvx4CYhAfWwUO9tWFi04aTEaC6i0z3dceSxbFsp5 8APW1S9JCCdcapNe94E6xX1T5g+fHwpzPo0Pr2UFXbShVUZc0iUFFheu9kiKIGT4EVKT Gx8NMesE79Swh/oGLm+2TBrU3wct7usKOljimazjzibGXmOXNclOCWrXLfUzs4hfZ7e7 DTeTT8yRCA1QSqagG6hoZEPnta3rPmSG6Q7brZzFrzxR9WBUPfFN1qxFqN3eiU2KFUKq YAYMTAlFhPYxNbyctmu/1GGHItZU8s7OvleGvO5XmfFPYxTCFkfTJ/PUWlCi/lqb+QsR t2SA== X-Gm-Message-State: AOAM532DXPcZVyEqslLR1c5HqWYosga0i8FgEV9/OMXl9mmcKsN9EKzv D44OGPKmiIHm7J732ggpWH1CbF81G9V6D4843gXyU2nlThEatAMPrKrI/J35IqaqPAKAjf8bbWW pXcU+3YDVJ6i4Ny/VxQA= X-Received: by 2002:a1f:3285:: with SMTP id y127mr7209293vky.17.1620390354071; Fri, 07 May 2021 05:25:54 -0700 (PDT) X-Google-Smtp-Source: ABdhPJy048fJUHTmzaQZ6LlfKhhv3tlT+DEzVyXUecvs+ohPeuz4jXZ6ayF8sWsLMI2g3zTV6vSF+DabFuhxu1bv0UA= X-Received: by 2002:a1f:3285:: with SMTP id y127mr7209270vky.17.1620390353853; Fri, 07 May 2021 05:25:53 -0700 (PDT) MIME-Version: 1.0 References: <5c39e9bc-24ae-0c78-6860-cf5cef10ce58@intel.com> <20210507122004.683239-1-thomas@monjalon.net> In-Reply-To: <20210507122004.683239-1-thomas@monjalon.net> From: David Marchand Date: Fri, 7 May 2021 14:25:42 +0200 Message-ID: To: Thomas Monjalon Cc: dev , "Yigit, Ferruh" , "Min Hu (Connor)" , Yisen Zhuang , Lijun Ou Authentication-Results: relay.mimecast.com; auth=pass smtp.auth=CUSA124A263 smtp.mailfrom=dmarchan@redhat.com X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable 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" 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 =E2=80=98de= v=E2=80=99 Fixes: d7ec2c076579 ("net/hns3: select Tx prepare based on Tx offload") > > Reported-by: David Marchand > Signed-off-by: Thomas Monjalon Acked-by: David Marchand --=20 David Marchand