[dpdk-dev] [PATCH v3 04/12] eal: allow empty compile time flags

Bruce Richardson bruce.richardson at intel.com
Mon Jul 6 17:33:36 CEST 2015


On Mon, Jul 06, 2015 at 04:51:29PM +0800, Zhigang Lu wrote:
> The rte_cpu_check_supported() code breaks with a "comparison is always
> false due to limited range of data type" when the compile_time_flags[]
> array is empty.  Assigning the array dimension to a local variable
> apparently solves this.
> 
> Change-Id: I0ae21f529cf7b6dd9cf0f4532dce9198f4bf4230
> Signed-off-by: Zhigang Lu <zlu at ezchip.com>
Acked-by: Bruce Richardson <bruce.richardson at intel.com>


More information about the dev mailing list