[dpdk-dev] [PATCH v2] Fix rte_is_power_of_2

Ravi Kerur rkerur at gmail.com
Sat Dec 27 16:28:35 CET 2014


Changes in v2
Make this a separate patch. 

rte_is_power_of_2 returns true for 0, fix by checking for n.

Ravi Kerur (1):
  Fix rte_is_power_of_2

 lib/librte_eal/common/include/rte_common.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

-- 
1.9.1



More information about the dev mailing list