> -----Original Message----- > From: Raslan Darawsheh <rasl...@nvidia.com> > Sent: Wednesday, November 2, 2022 11:31 PM > To: Guo, Junfeng <junfeng....@intel.com>; Zhang, Qi Z > <qi.z.zh...@intel.com>; Wu, Jingjing <jingjing...@intel.com>; Xing, Beilei > <beilei.x...@intel.com> > Cc: dev@dpdk.org; Li, Xiaoyun <xiaoyun...@intel.com>; Wang, Xiao W > <xiao.w.w...@intel.com>; NBU-Contact-Thomas Monjalon (EXTERNAL) > <tho...@monjalon.net> > Subject: RE: [PATCH 03/13] net/idpf: support device initialization > > Hi, >
[snip] > > -- > > 2.25.1 > I'd like to report that this patch is causing a compilation failure over the > main > tree 22.11-rc2: > > this is the failure which I see: > ing-field-initializers -D_GNU_SOURCE -fPIC -march=native -mno-avx512f - > mno-avx512f -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API - > DRTE_LOG_DEFAULT_LOGTYPE=pmd.net.idpf -MD -MQ > drivers/libtmp_rte_net_idpf.a.p/net_idpf_idpf_vchnl.c.o -MF > drivers/libtmp_rte_net_idpf.a.p/net_idpf_idpf_vchnl.c.o.d -o > drivers/libtmp_rte_net_idpf.a.p/net_idpf_idpf_vchnl.c.o - > c ../../root/dpdk/drivers/net/idpf/idpf_vchnl.c > ../../root/dpdk/drivers/net/idpf/idpf_vchnl.c:142:13: error: comparison of > constant 522 with expression of type 'enum virtchnl_ops' is always false [- > Werror,-Wtautological-constant-out-of-range-compare] > if (opcode == VIRTCHNL2_OP_EVENT) { > ~~~~~~ ^ ~~~~~~~~~~~~~~~~~~ > 1 error generated. > [1424/2559] Generating eal.sym_chk with a meson_exe.py custom command > ninja: build stopped: subcommand failed. > > And it's happening with the CLANG compiler: > clang version 3.4.2 (tags/RELEASE_34/dot2-final) > > Kindest regards, > Raslan Darawsheh Thanks for reporting, it should be fixed with the fix patch https://patches.dpdk.org/project/dpdk/patch/20221101024350.105241-1-beilei.x...@intel.com/. BR, Beilei