> -----Original Message----- > From: beilei.x...@intel.com <beilei.x...@intel.com> > Sent: Tuesday, November 1, 2022 4:44 AM > To: jingjing...@intel.com > Cc: dev@dpdk.org; Beilei Xing <beilei.x...@intel.com> > Subject: [PATCH v2] net/idpf: fix compiling error in CentOS 7 > > From: Beilei Xing <beilei.x...@intel.com> > > There's build error with clang 3.4.2 in CentOS 7: > > drivers/net/idpf/idpf_vchnl.c:141:13: error: comparison of constant > 522 with expression of type 'enum virtchnl_ops' is always false > [-Werror,-Wtautological-constant-out-of-range-compare] > > Fixed the compiling error in the patch. > > Fixes: 549343c25db8 ("net/idpf: support device initialization") > > Signed-off-by: Beilei Xing <beilei.x...@intel.com> > --- >
Verified compilation now passes, thanks Beilei. Tested-by: Ali Alnubani <alia...@nvidia.com>