From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thomas Monjalon Subject: Re: [PATCH] i40e: fix shared code compile warning Date: Tue, 24 Jun 2014 10:46:50 +0200 Message-ID: <2859281.xMAtdAgJn8@xps13> References: <1403587377-10287-1-git-send-email-jing.d.chen@intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Cc: dev-VfR2kkLFssw@public.gmane.org To: "Chen Jing D(Mark)" Return-path: In-Reply-To: <1403587377-10287-1-git-send-email-jing.d.chen-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org> List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces-VfR2kkLFssw@public.gmane.org Sender: "dev" Hi, 2014-06-24 13:22, Chen Jing D: > Fix a compile warning in shared code on 32-bits RHEL6.3/6.5. >=20 > Signed-off-by: Chen Jing D(Mark) In such case you should show the error message in the log. =09lib/librte_pmd_i40e/i40e/i40e_lan_hmc.c:917: =09error: integer constant is too large for =E2=80=98long=E2=80=99 type= > --- a/lib/librte_pmd_i40e/Makefile > +++ b/lib/librte_pmd_i40e/Makefile > @@ -52,6 +52,7 @@ CFLAGS_SHARED_DRIVERS +=3D -Wno-missing-field-initi= alizers > CFLAGS_SHARED_DRIVERS +=3D -Wno-pointer-to-int-cast > CFLAGS_SHARED_DRIVERS +=3D -Wno-format-nonliteral > CFLAGS_SHARED_DRIVERS +=3D -Wno-format-security > +CFLAGS_i40e_lan_hmc.o +=3D -Wno-error I know we shouldn't modify base drivers. But this one seems to be an im= portant=20 error. In such case, we already modified base driver. Recently: =09http://dpdk.org/ml/archives/dev/2014-June/003498.html --=20 Thomas