[dpdk-dev] [PATCH v2] Fix rte_is_power_of_2

Thomas Monjalon thomas.monjalon at 6wind.com
Thu Jan 15 14:12:11 CET 2015


> > rte_is_power_of_2 returns true for 0 and 0 is not power_of_2. Fix
> > by checking for n.
> > 
> > Signed-off-by: Ravi Kerur <rkerur at gmail.com>
> Acked-by: Neil Horman <nhorman at tuxdriver.com>

Applied

Thanks
-- 
Thomas


More information about the dev mailing list