[dpdk-stable] [dpdk-dev] [PATCH v2] acl: fix build issue with some arm64 compiler

Aaron Conole aconole at redhat.com
Tue Jun 11 16:53:09 CEST 2019


<jerinj at marvell.com> writes:

> From: Jerin Jacob <jerinj at marvell.com>
>
> Some compilers reporting the following error, though the existing
> code doesn't have any uninitialized variable case.
> Just to make compiler happy, initialize the int32x4_t variable
> one shot using vdupq_n_s32.
>
> ../lib/librte_acl/acl_run_neon.h: In function 'search_neon_4'
> ../lib/librte_acl/acl_run_neon.h:230:12: error: 'input' may be
> used uninitialized in this function [-Werror=maybe-uninitialized]
>   int32x4_t input;
>
> Fixes: 34fa6c27c156 ("acl: add NEON optimization for ARMv8")
> Cc: stable at dpdk.org
>
> Suggested-by: Honnappa Nagarahalli <honnappa.nagarahalli at arm.com>
> Signed-off-by: Jerin Jacob <jerinj at marvell.com>
> ---

LGTM

Acked-by: Aaron Conole <aconole at redhat.com>


More information about the stable mailing list