DPDK patches and discussions
 help / color / mirror / Atom feed
From: Ali Alnubani <alialnu@nvidia.com>
To: "beilei.xing@intel.com" <beilei.xing@intel.com>,
	"jingjing.wu@intel.com" <jingjing.wu@intel.com>
Cc: "dev@dpdk.org" <dev@dpdk.org>
Subject: RE: [PATCH v2] net/idpf: fix compiling error in CentOS 7
Date: Tue, 1 Nov 2022 07:38:54 +0000	[thread overview]
Message-ID: <DM4PR12MB5167288F7B7D3016DB9183B4DA369@DM4PR12MB5167.namprd12.prod.outlook.com> (raw)
In-Reply-To: <20221101024350.105241-1-beilei.xing@intel.com>

> -----Original Message-----
> From: beilei.xing@intel.com <beilei.xing@intel.com>
> Sent: Tuesday, November 1, 2022 4:44 AM
> To: jingjing.wu@intel.com
> Cc: dev@dpdk.org; Beilei Xing <beilei.xing@intel.com>
> Subject: [PATCH v2] net/idpf: fix compiling error in CentOS 7
> 
> From: Beilei Xing <beilei.xing@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.xing@intel.com>
> ---
> 

Verified compilation now passes, thanks Beilei.

Tested-by: Ali Alnubani <alialnu@nvidia.com>

  reply	other threads:[~2022-11-01  7:38 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-11-01  1:54 [PATCH] " beilei.xing
2022-11-01  2:43 ` [PATCH v2] " beilei.xing
2022-11-01  7:38   ` Ali Alnubani [this message]
2022-11-02 12:48     ` Zhang, Qi Z
2022-11-01  2:22 beilei.xing

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=DM4PR12MB5167288F7B7D3016DB9183B4DA369@DM4PR12MB5167.namprd12.prod.outlook.com \
    --to=alialnu@nvidia.com \
    --cc=beilei.xing@intel.com \
    --cc=dev@dpdk.org \
    --cc=jingjing.wu@intel.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).