]> git.droids-corp.org - dpdk.git/commit
net/dpaa2: fix build with musl
authorThomas Monjalon <thomas@monjalon.net>
Tue, 1 Feb 2022 09:46:37 +0000 (10:46 +0100)
committerThomas Monjalon <thomas@monjalon.net>
Tue, 1 Feb 2022 10:58:58 +0000 (11:58 +0100)
commitdad044030e750af38b8bc92fa7e4c3db1ad69b6e
tree685535c7e5f6a242089acd7e61f813bf1a17486c
parenta52c79642ab4296763189dd8efadbb679d32c9a0
net/dpaa2: fix build with musl

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@redhat.com>
Signed-off-by: Thomas Monjalon <thomas@monjalon.net>
Acked-by: Nipun Gupta <nipun.gupta@nxp.com>
drivers/net/dpaa2/dpaa2_recycle.c