Re: [PATCH] net/dpaa2: fix build with musl

2022-02-01 Thread Thomas Monjalon
> > PAGE_SIZE is already defined in musl libc: > > > > drivers/net/dpaa2/dpaa2_recycle.c:35: error: "PAGE_SIZE" redefined > > /usr/include/limits.h:97: note: > >this is the location of the previous definition > >97 | #define PAGE_SIZE PAGESIZE > > > > Fixes: f023d059769f ("net/dpaa2: supp

RE: [PATCH] net/dpaa2: fix build with musl

2022-02-01 Thread Nipun Gupta
Acked-by: Nipun Gupta > -Original Message- > From: Thomas Monjalon > Sent: 01 February 2022 15:24 > To: dev@dpdk.org > Cc: Jun Yang ; Nipun Gupta ; > Hemant Agrawal ; David Marchand > ; Sachin Saxena (OSS) > > Subject: [PATCH] net/dpaa2: fix build with mus

[PATCH] net/dpaa2: fix build with musl

2022-02-01 Thread Thomas Monjalon
PAGE_SIZE is already defined in musl libc: drivers/net/dpaa2/dpaa2_recycle.c:35: error: "PAGE_SIZE" redefined /usr/include/limits.h:97: note: this is the location of the previous definition 97 | #define PAGE_SIZE PAGESIZE Fixes: f023d059769f ("net/dpaa2: support recycle loopback port") Rep