> -----Original Message----- > From: Nicolas Chautru <nicolas.chau...@intel.com> > Sent: Monday, October 10, 2022 8:04 PM > To: NBU-Contact-Thomas Monjalon (EXTERNAL) <tho...@monjalon.net>; > dev@dpdk.org; gak...@marvell.com > Cc: Nicolas Chautru <nicolas.chau...@intel.com> > Subject: [PATCH v1] bbdev: prevent clang 3.4.2 compilation error > > 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 <nicolas.chau...@intel.com> > ---
Verified that the build passes with this patch. Thanks Nicolas. Tested-by: Ali Alnubani <alia...@nvidia.com>