From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-we0-f179.google.com (mail-we0-f179.google.com [74.125.82.179]) by dpdk.org (Postfix) with ESMTP id DEAA7AFDD for ; Wed, 25 Jun 2014 14:22:33 +0200 (CEST) Received: by mail-we0-f179.google.com with SMTP id w62so1958115wes.38 for ; Wed, 25 Jun 2014 05:22:52 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-type:content-transfer-encoding; bh=KjPbfPHJMBmsyYM/2bNGoVICNl0Ak5XTF5SYQHGCPGc=; b=FCcWSKDiMv58JbrT3lRvN9wDps1yn4Xvs5AU8yu2BXF2PZR/Zm4YcvTbS9gtGu2UFu xuVP6IBQkxEXyjUh8M7GP0qriZs0pt35SfCf2ewupl8GrlsIPYBCXYlQGKfv3yRlkhER +lU+iLp6TAXpPuRFeu3EfjuMk+iOEYe32ZdJ8ygvJjO12PfCfaWn+iOkPtMgx96UTI9U yx3jlgW9/CCZnrFOQmy/LtsPA5dAyiBJwhwROP3cE1VUbvhpPbMflR6qA61jF78IXHkJ U8wJUN27YXC4MuqLnnndF32F/7hLM5qA+Mbw5t3WjwNQiHrpIiECYJ0WWqoSL7Z3cvMa 3qgA== X-Gm-Message-State: ALoCoQlg19KH4cTtZqHX9Xmh+UZ96Mwf6JdJlh0KnMeWITlAZw5awiuYkR2y+koUkFb4g51gkwGU X-Received: by 10.194.104.200 with SMTP id gg8mr9363729wjb.93.1403698972011; Wed, 25 Jun 2014 05:22:52 -0700 (PDT) Received: from localhost.localdomain (136-92-190-109.dsl.ovh.fr. [109.190.92.136]) by mx.google.com with ESMTPSA id w5sm53250748wif.3.2014.06.25.05.22.50 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Wed, 25 Jun 2014 05:22:51 -0700 (PDT) From: Thomas Monjalon To: dev@dpdk.org Date: Wed, 25 Jun 2014 14:22:16 +0200 Message-Id: <1403698937-30407-3-git-send-email-thomas.monjalon@6wind.com> X-Mailer: git-send-email 2.0.0 In-Reply-To: <1403698937-30407-1-git-send-email-thomas.monjalon@6wind.com> References: <1403698937-30407-1-git-send-email-thomas.monjalon@6wind.com> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Subject: [dpdk-dev] [PATCH 2/3] i40e/base: ignore warning X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 25 Jun 2014 12:22:34 -0000 From: "Chen Jing D(Mark)" There is a warning in base driver (shared code) on 32-bits RHEL6.3/6.5: lib/librte_pmd_i40e/i40e/i40e_lan_hmc.c:917: error: integer constant is too large for ‘long’ type As we don't modify base driver, this warning must be ignored. Signed-off-by: Chen Jing D(Mark) Acked-by: Konstantin Ananyev Acked-by: Helin Zhang --- lib/librte_pmd_i40e/Makefile | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/librte_pmd_i40e/Makefile b/lib/librte_pmd_i40e/Makefile index 77d08fb..9dbf69b 100644 --- a/lib/librte_pmd_i40e/Makefile +++ b/lib/librte_pmd_i40e/Makefile @@ -55,6 +55,7 @@ CFLAGS_BASE_DRIVER += -Wno-missing-field-initializers CFLAGS_BASE_DRIVER += -Wno-pointer-to-int-cast CFLAGS_BASE_DRIVER += -Wno-format-nonliteral CFLAGS_BASE_DRIVER += -Wno-format-security +CFLAGS_i40e_lan_hmc.o += -Wno-error endif OBJS_BASE_DRIVER=$(patsubst %.c,%.o,$(notdir $(wildcard $(RTE_SDK)/lib/librte_pmd_i40e/i40e/*.c))) $(foreach obj, $(OBJS_BASE_DRIVER), $(eval CFLAGS_$(obj)+=$(CFLAGS_BASE_DRIVER))) -- 2.0.0