numam-dpdk/app/proc-info
Ferruh Yigit 59b981c6f6 app/procinfo: fix check on xstats-ids
'parse_xstats_ids()' return 'int'. The return value is assigned to
'nb_xstats_ids' unsigned value, later negative check on this variable is
wrong.

Adding interim 'int' variable for negative check.

Fixes: 7ac16a3660 ("app/proc-info: support xstats by ID and by name")
Cc: stable@dpdk.org

Signed-off-by: Ferruh Yigit <ferruh.yigit@intel.com>
Reviewed-by: David Marchand <david.marchand@redhat.com>
2021-01-11 10:45:34 +01:00
..
main.c app/procinfo: fix check on xstats-ids 2021-01-11 10:45:34 +01:00
meson.build eal: promote some experimental functions as stable 2019-04-21 19:11:37 +02:00