patches for DPDK stable branches
 help / color / mirror / Atom feed
From: Bruce Richardson <bruce.richardson@intel.com>
To: Zhichao Zeng <zhichaox.zeng@intel.com>,
	Jaroslaw Ilgiewicz <jaroslaw.ilgiewicz@intel.com>
Cc: <dev@dpdk.org>, <stable@dpdk.org>,
	Zhichao Zeng <zhichaox.zeng@intel.com>,
	 Ian Stokes <ian.stokes@intel.com>,
	Anatoly Burakov <anatoly.burakov@intel.com>
Subject: Re: [PATCH v2] net/i40e/base: fix the debug print format
Date: Tue, 21 Jan 2025 09:05:34 +0000	[thread overview]
Message-ID: <Z49jXqposhs1Znqo@bricha3-mobl1.ger.corp.intel.com> (raw)
In-Reply-To: <20250115074417.396909-1-jaroslaw.ilgiewicz@intel.com>

On Wed, Jan 15, 2025 at 03:44:17PM +0800, Jaroslaw Ilgiewicz wrote:
> This patch modifies format specifier in debug prints to match to the
> change of time variables from 64 bit to 32 bit.
> 
> Fixes: d980a401b137 ("net/i40e/base: add NVM acquire with custom timeout")
> Cc: stable@dpdk.org
> 
> Signed-off-by: Zhichao Zeng <zhichaox.zeng@intel.com>
> Signed-off-by: Jaroslaw Ilgiewicz <jaroslaw.ilgiewicz@intel.com>
> ---
>  drivers/net/i40e/base/README     |  2 +-
>  drivers/net/i40e/base/i40e_nvm.c | 10 ++++------
>  2 files changed, 5 insertions(+), 7 deletions(-)
> 
> diff --git a/drivers/net/i40e/base/README b/drivers/net/i40e/base/README
> index c5305ffae0..188633dde3 100644
> --- a/drivers/net/i40e/base/README
> +++ b/drivers/net/i40e/base/README
> @@ -6,7 +6,7 @@ Intel® I40E driver
>  ==================
>  
>  This directory contains source code of i40e base driver generated on
> -2024-08-30 released by the team which develops
> +2025-01-15 released by the team which develops
>  basic drivers for any i40e NIC. The directory of base/ contains the
>  original source package.
>  This driver is valid for the product(s) listed below
> diff --git a/drivers/net/i40e/base/i40e_nvm.c b/drivers/net/i40e/base/i40e_nvm.c
> index 3e16a0d997..890c1dfc8a 100644
> --- a/drivers/net/i40e/base/i40e_nvm.c
> +++ b/drivers/net/i40e/base/i40e_nvm.c
> @@ -145,9 +145,8 @@ enum i40e_status_code i40e_acquire_nvm_ex(struct i40e_hw *hw,
>  
>  	if (ret_code)
>  		i40e_debug(hw, I40E_DEBUG_NVM,
> -			   "NVM acquire type %d failed time_left=%llu ret=%d aq_err=%d\n",
> -			   access, (unsigned long long)time_left, ret_code,
> -			   hw->aq.asq_last_status);
> +			   "NVM acquire type %d failed time_left=%" PRIu32 " ret=%d aq_err=%d\n",
> +			   access, time_left, ret_code, hw->aq.asq_last_status);
>  

Since this is not actually fixing a bug, but just aligning the DPDK code
with the internal base code, I think we can defer this patch. Let's look at
it again, if it's worth aligning these simple fmt strings, when we next have
a base code update with some more significant changes in it.

Thanks,
/Bruce

      reply	other threads:[~2025-01-21  9:05 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-01-14 10:00 [PATCH] " Zhichao Zeng
2025-01-14 13:14 ` David Marchand
2025-01-15  2:26   ` Zeng, ZhichaoX
2025-01-15  7:44 ` [PATCH v2] " Jaroslaw Ilgiewicz
2025-01-21  9:05   ` Bruce Richardson [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=Z49jXqposhs1Znqo@bricha3-mobl1.ger.corp.intel.com \
    --to=bruce.richardson@intel.com \
    --cc=anatoly.burakov@intel.com \
    --cc=dev@dpdk.org \
    --cc=ian.stokes@intel.com \
    --cc=jaroslaw.ilgiewicz@intel.com \
    --cc=stable@dpdk.org \
    --cc=zhichaox.zeng@intel.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).