From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id 55DFCA04DD for ; Tue, 10 Nov 2020 19:07:57 +0100 (CET) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 3369C5928; Tue, 10 Nov 2020 19:07:56 +0100 (CET) Received: from mail-wr1-f66.google.com (mail-wr1-f66.google.com [209.85.221.66]) by dpdk.org (Postfix) with ESMTP id 8FA39F90; Tue, 10 Nov 2020 19:07:51 +0100 (CET) Received: by mail-wr1-f66.google.com with SMTP id l1so9332364wrb.9; Tue, 10 Nov 2020 10:07:51 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:message-id:subject:from:to:cc:date:in-reply-to :references:content-transfer-encoding:user-agent:mime-version; bh=4eIBTmlrarCRCpIE8Dzsb1INwE+sQC9bfCr23nWqyiY=; b=LG5jcnnHgGTIzr92/E7MeDKwj+gGwf11M2oUK+aJnJcPNAiq0bE+DiKPtZM4CeyLFC lYM0aPMfteNExa3RG2uBBGEXmEgXcNQ0YAZr55/aR/wmNWcRL5IIIBq+pFh7pTPcbfrY mKjmRO0TXyO15w04VwcGx1RYAaZ2mX7e/SP8uxFSUP8cTJ+3K/Dckt6c5J7Jq2NRNpdj CLTOHvlD5Nu70SjlvbwXv/9eWlU5FEyUoAjkrUSDpduqtSoVGIQAw66zEUVduzke4D0k lQudbvyx+9ZrKz35pQDw7laKQ5sidfrxGcXhT1NZoQOA9VZ47cZqjBFNWdvCsXc6vTiO 5iPA== X-Gm-Message-State: AOAM532E6mqdK1dr1DOfUo7ExqdcGbFUrMcsXD0yqsgWrcB/Bw7ao7lU VUkA42ovYSwA/cC0Dtdp2Zw= X-Google-Smtp-Source: ABdhPJzr6FBZwL/j0EWf2TbDmMQ2Qb7j0nRbujWbh77WAFVKFuDgcjTDV3xHsscG+l8tYLceUpddDw== X-Received: by 2002:adf:e789:: with SMTP id n9mr15808462wrm.211.1605031671339; Tue, 10 Nov 2020 10:07:51 -0800 (PST) Received: from localhost ([2a01:4b00:f419:6f00:7a8e:ed70:5c52:ea3]) by smtp.gmail.com with ESMTPSA id n6sm18137863wrj.60.2020.11.10.10.07.50 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 10 Nov 2020 10:07:50 -0800 (PST) Message-ID: <73c2ebdcae5cb9e7aa1eba3c86359c8e993935be.camel@debian.org> From: Luca Boccassi To: Ferruh Yigit , Beilei Xing , Jeff Guo , Helin Zhang , Jingjing Wu , Remy Horton , Jijiang Liu , Jing Chen , Heqing Zhu Cc: dev@dpdk.org, stable@dpdk.org, David Marchand Date: Tue, 10 Nov 2020 18:07:49 +0000 In-Reply-To: <20201110175457.734922-1-ferruh.yigit@intel.com> References: <20201110134852.3959367-1-ferruh.yigit@intel.com> <20201110175457.734922-1-ferruh.yigit@intel.com> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable User-Agent: Evolution 3.30.5-1.1 MIME-Version: 1.0 Subject: Re: [dpdk-stable] [dpdk-dev] [PATCH v2] net/i40e: fix build for log format specifier X-BeenThere: stable@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches for DPDK stable branches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: stable-bounces@dpdk.org Sender: "stable" On Tue, 2020-11-10 at 17:54 +0000, Ferruh Yigit wrote: > Build error: > i40e_common.c: In function "i40e_parse_discover_capabilities": > ../drivers/net/i40e/base/../i40e_logs.h:43:50: > error: format "%llX" expects argument of type "long long unsigned > int", but argument 7 has type "u64" {aka "long unsigned int" > [-Werror=3Dformat=3D] > 43 | rte_log(RTE_LOG_ ## level, i40e_logtype_driver, "%s(): " fmt, \ > | ^~~~~~~~ > .../i40e_osdep.h:87:3: note: in expansion of macro "PMD_DRV_LOG_RAW" > 87 | PMD_DRV_LOG_RAW(DEBUG, "i40e %02x.%x " s, \ > | ^~~~~~~~~~~~~~~ > .../base/i40e_common.c:4100:4: note: in expansion of macro "i40e_debug" > 4100 | i40e_debug(hw, I40E_DEBUG_INIT, > | ^~~~~~~~~~ >=20 > There are multiple build error because of same reason, all fixed. >=20 > Using 'PRIX64' to fix the build error. >=20 > Fixes: 889bc9f0cd3a ("i40e/base: unify the capability function") > Fixes: 9b1041574cd4 ("i40e/base: enhance polling of NVM semaphore") > Fixes: 8db9e2a1b232 ("i40e: base driver") > Fixes: 3b7271f3958a ("i40e/base: catch NVM write semaphore timeout and re= try") > Cc: stable@dpdk.org >=20 > Signed-off-by: Ferruh Yigit > --- > Cc: helin.zhang@intel.com > Cc: Luca Boccassi > Cc: David Marchand >=20 > v2: > * Fix more build error from same reason > --- > drivers/net/i40e/base/i40e_common.c | 4 +++- > drivers/net/i40e/base/i40e_nvm.c | 8 +++++--- > 2 files changed, 8 insertions(+), 4 deletions(-) Acked-by: Luca Boccassi Thanks for the quick fix! --=20 Kind regards, Luca Boccassi