[dpdk-dev] [PATCH] nfp: fix non-x86 build

Bruce Richardson bruce.richardson at intel.com
Wed Mar 2 22:10:38 CET 2016


On Mon, Feb 08, 2016 at 02:27:59PM +0000, Alejandro Lucero wrote:
> On Sat, Feb 6, 2016 at 9:51 PM, Thomas Monjalon <thomas.monjalon at 6wind.com>
> wrote:
> 
> > The file sys/io.h was included but it can be unavailable in some
> > non-x86 toolchains.
> > As others system includes in the file nfp_net.c, it seems useless,
> > so the easy fix is to remove them.
> >
> > Signed-off-by: Thomas Monjalon <thomas.monjalon at 6wind.com>
> > ---
> >  drivers/net/nfp/nfp_net.c | 11 -----------
> >  1 file changed, 11 deletions(-)
> >
> > diff --git a/drivers/net/nfp/nfp_net.c b/drivers/net/nfp/nfp_net.c
> > index bc2089f..283269e 100644
> > --- a/drivers/net/nfp/nfp_net.c
> > +++ b/drivers/net/nfp/nfp_net.c
> > @@ -39,18 +39,7 @@
> >   * Netronome vNIC DPDK Poll-Mode Driver: Main entry point
> >   */
> >
> > -#include <stdio.h>
> > -#include <stdlib.h>
> > -#include <stdint.h>
> > -#include <unistd.h>
> > -#include <string.h>
> > -#include <sys/mman.h>
> > -#include <sys/socket.h>
> > -#include <sys/io.h>
> > -#include <assert.h>
> > -#include <time.h>
> >  #include <math.h>
> > -#include <inttypes.h>
> >
> >  #include <rte_byteorder.h>
> >  #include <rte_common.h>
> > --
> > 2.7.0
> >
> >
> This is fine for me.
> 
> Thanks

Applied to dpdk-next-net/rel_16_04 with Alejandro's ack

/Bruce


More information about the dev mailing list