[dpdk-dev] [PATCH] igb_uio: remove compilation warning on arm64 kernel

Thomas Monjalon thomas at monjalon.net
Sun Oct 8 17:19:43 CEST 2017


08/10/2017 12:59, santosh:
> 
> 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 ‘igbuio_pci_irqcontrol’:
> > igb_uio.c:115:25: error: implicit declaration of function
> > ‘irq_get_irq_dat ’ [-Werror=implicit-function-declaration]
> >   struct irq_data *irq = irq_get_irq_data(udev->info.irq);
> >                          ^
> > igb_uio.c:115:25: error: initialization makes pointer from integer without
> > a cast [-Werror=int-conversion]
> >
> > Fixes: d196343a258e ("igb_uio: use kernel functions for masking MSI-X")
> > Cc: stable at dpdk.org
> >
> > Signed-off-by: Hemant Agrawal <hemant.agrawal at nxp.com>
> > ---
> 
> Breaks thunderx too.
> 
> Reviewed-by: Santosh Shukla <santosh.shukla at caviumnetworks.com>
> and
> Tested-by: Santosh Shukla <santosh.shukla at caviumnetworks.com>

Applied, thanks


More information about the dev mailing list