> -----Original Message----- > From: Ali Alnubani <alia...@nvidia.com> > Sent: Tuesday, November 1, 2022 3:39 PM > To: Xing, Beilei <beilei.x...@intel.com>; Wu, Jingjing <jingjing...@intel.com> > Cc: dev@dpdk.org > Subject: RE: [PATCH v2] net/idpf: fix compiling error in CentOS 7 > > > -----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>
Applied to dpdk-next-net-intel. Thanks Qi