[PATCH] net/dpaa2: fix build with musl
Thomas Monjalon
thomas at monjalon.net
Tue Feb 1 12:03:20 CET 2022
> > 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")
> >
> > Reported-by: David Marchand <david.marchand at redhat.com>
> > Signed-off-by: Thomas Monjalon <thomas at monjalon.net>
> Acked-by: Nipun Gupta <nipun.gupta at nxp.com>
Applied
More information about the dev
mailing list