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

2018-04-16 Thread Thomas Monjalon
> > From: Gowrishankar Muthukrishnan 
> > 
> > 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: sta...@dpdk.org
 
> > Signed-off-by: Gowrishankar Muthukrishnan
> > 
> > 
> 
> Acked-by: Sunil Kumar Kori 

Applied, thanks






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

2018-04-12 Thread Sunil Kumar Kori
> -Original Message-
> From: Gowrishankar [mailto:gowrishanka...@linux.vnet.ibm.com]
> Sent: Friday, April 13, 2018 10:37 AM
> To: Sunil Kumar Kori ; Shreyansh Jain
> 
> Cc: Anatoly Burakov ; dev@dpdk.org; Thomas
> Monjalon ; Gowrishankar Muthukrishnan
> 
> Subject: [PATCH] event/dpaa: fix integer overflow on max_event_ports at
> compile time
> 
> From: Gowrishankar Muthukrishnan 
> 
> 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")
> 
> Signed-off-by: Gowrishankar Muthukrishnan
> 
> 

Acked-by: Sunil Kumar Kori