[dpdk-dev] [PATCH 2/6] eal/linux: remove useless casts

2015-07-09 Thread Thomas Monjalon
David, there is a 32-bit failure. See below 2015-07-07 11:00, David Marchand: > Rather than cast the huge pages number returned by get_num_hugepages, rework > this function so that it returns 0 when something goes wrong. > And no need for casts in log. > --- a/lib/librte_eal/linuxapp/eal/eal_huge

[dpdk-dev] [PATCH 2/6] eal/linux: remove useless casts

2015-07-07 Thread David Marchand
Rather than cast the huge pages number returned by get_num_hugepages, rework this function so that it returns 0 when something goes wrong. And no need for casts in log. Signed-off-by: David Marchand --- lib/librte_eal/linuxapp/eal/eal_hugepage_info.c | 21 - 1 file changed,