Re: [PATCH v1] bbdev: prevent clang 3.4.2 compilation error

2022-10-10 Thread Thomas Monjalon
> > Casting explicitly from enum to uint8_t to avoid compilation > > warning with clang 3.4.2 -Wtautological-constant-out-of-range-compare > > > > Signed-off-by: Nicolas Chautru > > Verified that the build passes with this patch. Thanks Nicolas. > > Tested-by: Ali Alnubani Applied with more c

RE: [PATCH v1] bbdev: prevent clang 3.4.2 compilation error

2022-10-10 Thread Ali Alnubani
> -Original Message- > From: Nicolas Chautru > Sent: Monday, October 10, 2022 8:04 PM > To: NBU-Contact-Thomas Monjalon (EXTERNAL) ; > dev@dpdk.org; gak...@marvell.com > Cc: Nicolas Chautru > Subject: [PATCH v1] bbdev: prevent clang 3.4.2 compilation error > &

[PATCH v1] bbdev: prevent clang 3.4.2 compilation error

2022-10-10 Thread Nicolas Chautru
Casting explicitly from enum to uint8_t to avoid compilation warning with clang 3.4.2 -Wtautological-constant-out-of-range-compare Signed-off-by: Nicolas Chautru --- lib/bbdev/rte_bbdev.c | 6 -- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/lib/bbdev/rte_bbdev.c b/lib/bbdev/