[dpdk-dev] [PATCH] event/dpaa: fix integer overflow on max_event_ports at compile time

Thomas Monjalon thomas at monjalon.net
Mon Apr 16 16:45:47 CEST 2018


> > From: Gowrishankar Muthukrishnan <gowrishankar.m at linux.vnet.ibm.com>
> > 
> > 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.
> > 
> > Fixes: 9caac5dd1e ("event/dpaa: introduce PMD")

Cc: stable at dpdk.org
 
> > Signed-off-by: Gowrishankar Muthukrishnan
> > <gowrishankar.m at linux.vnet.ibm.com>
> > 
> 
> Acked-by: Sunil Kumar Kori <sunil.kori at nxp.com>

Applied, thanks






More information about the dev mailing list