[dpdk-dev] [PATCH v2] eal/stack: fix 'pointer-sign' warning

Thomas Monjalon thomas at monjalon.net
Thu Jun 27 18:04:28 CEST 2019


Title changed to "stack: fix sign of list length"
(it does not belong to EAL)

18/06/2019 17:43, Eads, Gage:
> > clang raise 'pointer-sign' warnings in __atomic_compare_exchange when
> > passing 'uint64_t *' to parameter of type 'int64_t *' converts between
> > pointers to integer types with different sign.
> > 
> > Fixes: 7e6e609939a8 ("stack: add C11 atomic implementation")

Cc: stable at dpdk.org

> > Suggested-by: Gage Eads <gage.eads at intel.com>
> > Signed-off-by: Phil Yang <phil.yang at arm.com>
> > Reviewed-by: Honnappa Nagarahalli <honnappa.nagarahalli at arm.com>
> > Reviewed-by: Gavin Hu <gavin.hu at arm.com>
> 
> Acked-By: Gage Eads <gage.eads at intel.com>

Applied, thanks





More information about the dev mailing list