From: Chen Jing D(Mark) Date: Tue, 24 Jun 2014 05:22:57 +0000 (+0800) Subject: i40e/base: ignore warning X-Git-Tag: spdx-start~10601 X-Git-Url: http://git.droids-corp.org/?a=commitdiff_plain;h=445d8db425de039968344743a0b47daeb95b063a;p=dpdk.git i40e/base: ignore warning 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 Acked-by: Bruce Richardson --- diff --git a/lib/librte_pmd_i40e/Makefile b/lib/librte_pmd_i40e/Makefile index 618fb8a9ce..14bce71458 100644 --- a/lib/librte_pmd_i40e/Makefile +++ b/lib/librte_pmd_i40e/Makefile @@ -56,6 +56,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)))