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

Eads, Gage gage.eads at intel.com
Tue Jun 18 17:43:24 CEST 2019


> 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")
> 
> 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>

Thanks,
Gage


More information about the dev mailing list