[dpdk-dev] [PATCH] telemetry: fix build
Laatz, Kevin
kevin.laatz at intel.com
Fri Jun 28 10:46:07 CEST 2019
On 27/06/2019 20:51, Ferruh Yigit wrote:
> Build error:
> ../lib/librte_telemetry/rte_telemetry.c:558:28:
> error: comparison of unsigned expression < 0 is always false
> [-Werror,-Wtautological-compare]
>
> Build error not observed in default make build because telemetry library
> disabled by default but easier to reproduce via meson.
>
> Fixing by converting unsigned variables to signed.
>
> Fixes: 0fe3a37924d4 ("telemetry: format json response when sending stats")
> Fixes: 4080e46c8078 ("telemetry: support global metrics")
> Cc: stable at dpdk.org
>
> Signed-off-by: Ferruh Yigit <ferruh.yigit at intel.com>
> ---
> Cc: Reshma Pattan <reshma.pattan at intel.com>
> Cc: Flavia Musatescu <flavia.musatescu at intel.com>
> ---
> lib/librte_telemetry/rte_telemetry.c | 12 ++++++------
> lib/librte_telemetry/rte_telemetry_internal.h | 6 +++---
> 2 files changed, 9 insertions(+), 9 deletions(-)
Acked-by: Kevin Laatz <kevin.laatz at intel.com>
More information about the dev
mailing list