RE: [PATCH v2] net/idpf: fix compiling error in CentOS 7

2022-11-02 Thread Zhang, Qi Z
> -Original Message- > From: Ali Alnubani > Sent: Tuesday, November 1, 2022 3:39 PM > To: Xing, Beilei ; Wu, Jingjing > Cc: dev@dpdk.org > Subject: RE: [PATCH v2] net/idpf: fix compiling error in CentOS 7 > > > -Original Message- > > From

RE: [PATCH v2] net/idpf: fix compiling error in CentOS 7

2022-11-01 Thread Ali Alnubani
> -Original Message- > From: beilei.x...@intel.com > Sent: Tuesday, November 1, 2022 4:44 AM > To: jingjing...@intel.com > Cc: dev@dpdk.org; Beilei Xing > Subject: [PATCH v2] net/idpf: fix compiling error in CentOS 7 > > From: Beilei Xing > > There

[PATCH v2] net/idpf: fix compiling error in CentOS 7

2022-10-31 Thread beilei . xing
From: Beilei Xing 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.

[PATCH v2] net/idpf: fix compiling error in CentOS 7

2022-10-31 Thread beilei . xing
From: Beilei Xing 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.