patches for DPDK stable branches
 help / color / mirror / Atom feed
From: "Medvedkin, Vladimir" <vladimir.medvedkin@intel.com>
To: <jerinj@marvell.com>, Yiding Zhou <yidingx.zhou@intel.com>,
	Qi Zhang <qi.z.zhang@intel.com>
Cc: <dev@dpdk.org>, <thomas@monjalon.net>,
	<bruce.richardson@intel.com>, <david.marchand@redhat.com>,
	<stable@dpdk.org>
Subject: Re: [dpdk-dev] [PATCH v1 2/3] net/iavf: fix issues with clang 21.1.4
Date: Wed, 29 Oct 2025 10:01:22 +0000	[thread overview]
Message-ID: <f3a411f3-adae-4203-8ed6-26441ac379f3@intel.com> (raw)
In-Reply-To: <20251028172324.3149379-2-jerinj@marvell.com>

Acked-by: Vladimir Medvedkin <vladimir.medvedkin@intel.com>

On 10/28/2025 5:23 PM, jerinj@marvell.com wrote:
> From: Jerin Jacob <jerinj@marvell.com>
>
> Fix the following error seen with clang 21.1.4
>
> drivers/net/intel/iavf/iavf_vchnl.c:123:38: error: variable
> 'notify_byte' is uninitialized when passed as a const pointer
> argument here [-Werror,-Wuninitialized-const-pointer]
>
> Fixes: cb5c1b91f76f ("net/iavf: add thread for event callbacks")
> Cc: stable@dpdk.org
>
> Signed-off-by: Jerin Jacob <jerinj@marvell.com>
> ---
>   drivers/net/intel/iavf/iavf_vchnl.c | 2 +-
>   1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/net/intel/iavf/iavf_vchnl.c b/drivers/net/intel/iavf/iavf_vchnl.c
> index 460035d772..9ad39300c6 100644
> --- a/drivers/net/intel/iavf/iavf_vchnl.c
> +++ b/drivers/net/intel/iavf/iavf_vchnl.c
> @@ -102,7 +102,7 @@ iavf_dev_event_post(struct rte_eth_dev *dev,
>   		void *param, size_t param_alloc_size)
>   {
>   	struct iavf_event_handler *handler = &event_handler;
> -	char notify_byte;
> +	char notify_byte = 0;
>   	struct iavf_event_element *elem = rte_malloc(NULL, sizeof(*elem) + param_alloc_size, 0);
>   	if (!elem)
>   		return;

-- 
Regards,
Vladimir


  reply	other threads:[~2025-10-29 10:01 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-10-28 17:23 [dpdk-dev] [PATCH v1 1/3] app/test-eventdev: " jerinj
2025-10-28 17:23 ` [dpdk-dev] [PATCH v1 2/3] net/iavf: " jerinj
2025-10-29 10:01   ` Medvedkin, Vladimir [this message]
2025-10-29 13:13   ` David Marchand
2025-10-28 17:23 ` [dpdk-dev] [PATCH v1 3/3] app/test: " jerinj
2025-10-29  5:02   ` Amit Prakash Shukla
2025-10-29 13:19   ` David Marchand
2025-10-29  6:25 ` [dpdk-dev] [PATCH v1 1/3] app/test-eventdev: " Pavan Nikhilesh Bhagavatula
2025-10-29 13:11 ` David Marchand

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=f3a411f3-adae-4203-8ed6-26441ac379f3@intel.com \
    --to=vladimir.medvedkin@intel.com \
    --cc=bruce.richardson@intel.com \
    --cc=david.marchand@redhat.com \
    --cc=dev@dpdk.org \
    --cc=jerinj@marvell.com \
    --cc=qi.z.zhang@intel.com \
    --cc=stable@dpdk.org \
    --cc=thomas@monjalon.net \
    --cc=yidingx.zhou@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).