[dpdk-stable] [PATCH] crypto/octeontx: fix global variable multiple definitions
Akhil Goyal
akhil.goyal at nxp.com
Wed Oct 9 11:49:57 CEST 2019
>
> 'cpt_logtype' & 'otx_cryptodev_driver_id' global variables are defined
> in a header file which was causing multiple definitions of the
> variables. Fixed it by moving the required vars to the .c file and
> introducing a new macro so the CPT_LOG macros in common/cpt would use
> the associated PMD log var.
>
> Issue has been detected by '-fno-common' gcc flag.
>
> Fixes: bfe2ae495ee2 ("crypto/octeontx: add PMD skeleton")
> Cc: stable at dpdk.org
>
> Signed-off-by: Anoob Joseph <anoobj at marvell.com>
> Reported-by: Ferruh Yigit <ferruh.yigit at intel.com>
> ---
Applied to dpdk-next-crypto
Thanks.
More information about the stable
mailing list