From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thomas Monjalon Subject: Re: [PATCH] igb_uio: remove compilation warning on arm64 kernel Date: Sun, 08 Oct 2017 17:19:43 +0200 Message-ID: <4207002.sFuXJid24B@xps> References: <1507454252-13770-1-git-send-email-hemant.agrawal@nxp.com> <86245f32-2a14-87cd-297b-6a53e82fcec2@caviumnetworks.com> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Cc: dev@dpdk.org, santosh , ferruh.yigit@intel.com To: Hemant Agrawal Return-path: Received: from out1-smtp.messagingengine.com (out1-smtp.messagingengine.com [66.111.4.25]) by dpdk.org (Postfix) with ESMTP id B5ECA2B9A for ; Sun, 8 Oct 2017 17:19:46 +0200 (CEST) In-Reply-To: <86245f32-2a14-87cd-297b-6a53e82fcec2@caviumnetworks.com> List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" 08/10/2017 12:59, santosh: >=20 > On Sunday 08 October 2017 02:47 PM, Hemant Agrawal wrote: > > IGB_UIO compilation recently got enabled for ARM64 by default > > > > The igb_uio compilation against ARM64 based stock 4.x (e.g. 4.13) > > kernel is giving compilation warnings: > > > > igb_uio.c: In function =E2=80=98igbuio_pci_irqcontrol=E2=80=99: > > igb_uio.c:115:25: error: implicit declaration of function > > =E2=80=98irq_get_irq_dat =E2=80=99 [-Werror=3Dimplicit-function-declara= tion] > > struct irq_data *irq =3D irq_get_irq_data(udev->info.irq); > > ^ > > igb_uio.c:115:25: error: initialization makes pointer from integer with= out > > a cast [-Werror=3Dint-conversion] > > > > Fixes: d196343a258e ("igb_uio: use kernel functions for masking MSI-X") > > Cc: stable@dpdk.org > > > > Signed-off-by: Hemant Agrawal > > --- >=20 > Breaks thunderx too. >=20 > Reviewed-by: Santosh Shukla > and > Tested-by: Santosh Shukla Applied, thanks