100915c0a5
dev_info->max_event_ports is uint8_t. dpaa_event_dev_info_get assigns DPAA_EVENT_MAX_EVENT_PORT (which is RTE_MAX_LCORE, upto 256 in ppc64le) into this variable, which breaks compile in ppc64le. drivers/event/dpaa/dpaa_eventdev.c: In function ‘dpaa_event_dev_info_get’: rte_config.h:23:23: error: large integer implicitly truncated to unsigned type [-Werror=overflow] #define RTE_MAX_LCORE 256 Fixes: 9caac5dd1e ("event/dpaa: introduce PMD") Cc: stable@dpdk.org Signed-off-by: Gowrishankar Muthukrishnan <gowrishankar.m@linux.vnet.ibm.com> Acked-by: Sunil Kumar Kori <sunil.kori@nxp.com>