[dpdk-stable] [PATCH v1] eal: use correct data type for slab operations

Luca Boccassi bluca at debian.org
Tue Sep 25 14:38:09 CEST 2018


On Mon, 2018-09-24 at 21:08 +0530, Vivek Sharma wrote:
> Currently, slab operations use unsigned long data type for 64-bit
> slab
> related operations. On target 'i686-native-linuxapp-gcc', unsigned
> long
> is 32-bit and thus, slab operations breaks on this target. Changing
> slab
> operations to use unsigned long long for correct functioning on all
> targets.
> 
> Fixes: de3cfa2c9823 ("sched: initial import")
> Fixes: 693f715da45c ("remove extra parentheses in return statement")
> CC: stable at dpdk.org
> 
> Signed-off-by: Vivek Sharma <vivek.sharma at caviumnetworks.com>
> ---
>  lib/librte_eal/common/include/rte_bitmap.h | 14 +++++++-------
>  test/test/test_bitmap.c                    | 18 ++++++++++++++++++
>  2 files changed, 25 insertions(+), 7 deletions(-)

Hi,

Is this patch only for stable releases? If so, which one? Or was dev@
absent by mistake?

Thanks

-- 
Kind regards,
Luca Boccassi


More information about the stable mailing list