From: David Marchand <david.marchand@redhat.com>
To: David Marchand <david.marchand@redhat.com>
Cc: dev@dpdk.org, stable@dpdk.org,
Abhinandan Gujjar <abhinandan.gujjar@intel.com>,
Jerin Jacob <jerinj@marvell.com>,
Akhil Goyal <gakhil@marvell.com>,
Volodymyr Fialko <vfialko@marvell.com>,
Naga Harish K S V <s.v.naga.harish.k@intel.com>
Subject: Re: [PATCH] eventdev: fix build with clang 21
Date: Wed, 5 Nov 2025 08:16:17 +0100 [thread overview]
Message-ID: <CAJFAV8xYP2oibRu-fpQQgHFY-MpgWmQGWs+szxkBtEyatPiyFg@mail.gmail.com> (raw)
In-Reply-To: <20251104130820.2692144-1-david.marchand@redhat.com>
On Tue, 4 Nov 2025 at 14:08, David Marchand <david.marchand@redhat.com> wrote:
>
> Fix 16-bits formatting issues reported by clang 21 on Fedora 43:
>
> ../lib/eventdev/rte_event_crypto_adapter.c:1461:4: error:
> format specifies type 'unsigned char' but the argument has type
> 'uint16_t' (aka 'unsigned short') [-Werror,-Wformat]
> 1459 | RTE_EDEV_LOG_ERR("Failed to get adapter caps dev %" PRIu8
> | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> 1460 | " cdev %" PRIu8, adapter->eventdev_id,
> | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> 1461 | adapter->next_cdev_id);
> | ^~~~~~~~~~~~~~~~~~~~~~
>
> ../lib/eventdev/rte_event_crypto_adapter.c:1592:46: error:
> format specifies type 'unsigned char' but the argument has type
> 'uint16_t' (aka 'unsigned short') [-Werror,-Wformat]
> 1592 | RTE_EDEV_LOG_ERR("Invalid dev_id=%" PRIu8, cdev_id);
> | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~
>
> ../lib/eventdev/rte_event_crypto_adapter.c:1613:45: error:
> format specifies type 'unsigned char' but the argument has type
> 'uint16_t' (aka 'unsigned short') [-Werror,-Wformat]
> 1612 | RTE_EDEV_LOG_ERR("Event vectorization is not supported,"
> | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> 1613 | "dev %" PRIu8 " cdev %" PRIu8, dev_id, cdev_id);
> | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~
>
> Fixes: c1749bc5ee10 ("eventdev: introduce event cryptodev vector type")
> Fixes: 04ed18cd41f1 ("eventdev/crypto: support runtime set/get parameters")
> Cc: stable@dpdk.org
>
> Signed-off-by: David Marchand <david.marchand@redhat.com>
Applied, thanks.
--
David Marchand
prev parent reply other threads:[~2025-11-05 7:16 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-11-04 13:08 David Marchand
2025-11-04 14:23 ` Gujjar, Abhinandan S
2025-11-05 7:16 ` David Marchand [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=CAJFAV8xYP2oibRu-fpQQgHFY-MpgWmQGWs+szxkBtEyatPiyFg@mail.gmail.com \
--to=david.marchand@redhat.com \
--cc=abhinandan.gujjar@intel.com \
--cc=dev@dpdk.org \
--cc=gakhil@marvell.com \
--cc=jerinj@marvell.com \
--cc=s.v.naga.harish.k@intel.com \
--cc=stable@dpdk.org \
--cc=vfialko@marvell.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).