> -----Original Message----- > From: Ali Alnubani <[email protected]> > Sent: Tuesday, November 1, 2022 3:39 PM > To: Xing, Beilei <[email protected]>; Wu, Jingjing <[email protected]> > Cc: [email protected] > Subject: RE: [PATCH v2] net/idpf: fix compiling error in CentOS 7 > > > -----Original Message----- > > From: [email protected] <[email protected]> > > Sent: Tuesday, November 1, 2022 4:44 AM > > To: [email protected] > > Cc: [email protected]; Beilei Xing <[email protected]> > > Subject: [PATCH v2] net/idpf: fix compiling error in CentOS 7 > > > > From: Beilei Xing <[email protected]> > > > > 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 <[email protected]> > > --- > > > > Verified compilation now passes, thanks Beilei. > > Tested-by: Ali Alnubani <[email protected]>
Applied to dpdk-next-net-intel. Thanks Qi

