[dpdk-dev] [PATCH] eventdev: fix signed comparison

David Marchand david.marchand at redhat.com
Wed Apr 14 08:26:16 CEST 2021


On Wed, Apr 14, 2021 at 12:16 AM <pbhagavatula at marvell.com> wrote:
>
> From: Pavan Nikhilesh <pbhagavatula at marvell.com>
>
> Since queue identifier is passed as signed integer, a compilation error
> is generated:
> rte_event_eth_rx_adapter.c:1810:57: error: signed and unsigned type
> in conditional expression [-Werror=sign-compare]
> Make queue identifier as unsigned when adding it to vector data.
>

Bugzilla ID: 672

> Fixes: d7c428e557ba ("eventdev: support Rx adapter event vector")
>
> Signed-off-by: Pavan Nikhilesh <pbhagavatula at marvell.com>

LGTM and fixes compilation for RHEL7.

Acked-by: David Marchand <david.marchand at redhat.com>

Jerin, do you mind if I take it directly in main?


-- 
David Marchand



More information about the dev mailing list