Re: [dpdk-dev] [PATCH v3] app/testpmd: fix passing negative parameter to strerror

2020-06-08 Thread Ferruh Yigit
On 6/6/2020 4:46 AM, Wei Hu (Xavier) wrote: > Currently, there are coverity defect warnings those were found from the > public coverity. > https://scan.coverity.com/projects/dpdk-data-plane-development-kit > > Coverity issue: > In nic_stats_clear function: > CID 358450 (#1 of 1): Argument ca

[dpdk-dev] [PATCH v3] app/testpmd: fix passing negative parameter to strerror

2020-06-05 Thread Wei Hu (Xavier)
Currently, there are coverity defect warnings those were found from the public coverity. https://scan.coverity.com/projects/dpdk-data-plane-development-kit Coverity issue: In nic_stats_clear function: CID 358450 (#1 of 1): Argument cannot be negative (NEGATIVE_RETURNS) 5. negative_return