Re: [dpdk-dev] [PATCH] app/testpmd: fix unchecked return value

2021-03-16 Thread Kalesh Anakkur Purayil
rg > > Cc: Li, Xiaoyun ; Yigit, Ferruh < > ferruh.yi...@intel.com> > > Subject: [dpdk-dev] [PATCH] app/testpmd: fix unchecked return value > > > > From: Kalesh AP > > > > CID 353629 (#1 of 1): Unchecked return value (CHECKED_RETURN) > > check_ret

Re: [dpdk-dev] [PATCH] app/testpmd: fix unchecked return value

2021-03-16 Thread Ferruh Yigit
On 3/16/2021 7:27 AM, Andrew Rybchenko wrote: On 3/16/21 9:34 AM, Li, Xiaoyun wrote: -Original Message- From: Kalesh A P Sent: Tuesday, March 16, 2021 14:52 To: dev@dpdk.org Cc: Li, Xiaoyun ; Yigit, Ferruh Subject: [dpdk-dev] [PATCH] app/testpmd: fix unchecked return value From

Re: [dpdk-dev] [PATCH] app/testpmd: fix unchecked return value

2021-03-16 Thread Andrew Rybchenko
On 3/16/21 9:34 AM, Li, Xiaoyun wrote: >> -Original Message- >> From: Kalesh A P >> Sent: Tuesday, March 16, 2021 14:52 >> To: dev@dpdk.org >> Cc: Li, Xiaoyun ; Yigit, Ferruh >> >> Subject: [dpdk-dev] [PATCH] app/testpmd: fix unchecked retu

Re: [dpdk-dev] [PATCH] app/testpmd: fix unchecked return value

2021-03-15 Thread Li, Xiaoyun
> -Original Message- > From: Kalesh A P > Sent: Tuesday, March 16, 2021 14:52 > To: dev@dpdk.org > Cc: Li, Xiaoyun ; Yigit, Ferruh > Subject: [dpdk-dev] [PATCH] app/testpmd: fix unchecked return value > > From: Kalesh AP > > This patch checks return value

[dpdk-dev] [PATCH] app/testpmd: fix unchecked return value

2021-03-15 Thread Kalesh A P
From: Kalesh AP This patch checks return value for rte_eth_dev_info_get() in show_macs(). Coverity issue: 353629 Fixes: e1d44d0ad623 ("app/testpmd: show MAC addresses added to a port") Cc: sta...@dpdk.org Signed-off-by: Kalesh AP --- app/test-pmd/config.c | 3 ++- 1 file changed, 2 insertions

Re: [dpdk-dev] [PATCH] app/testpmd: fix unchecked return value

2021-03-15 Thread Li, Xiaoyun
Hi > -Original Message- > From: Kalesh A P > Sent: Tuesday, March 16, 2021 12:55 > To: dev@dpdk.org > Cc: Li, Xiaoyun ; Yigit, Ferruh > Subject: [dpdk-dev] [PATCH] app/testpmd: fix unchecked return value > > From: Kalesh AP > > CID 353629 (#1

[dpdk-dev] [PATCH] app/testpmd: fix unchecked return value

2021-03-15 Thread Kalesh A P
From: Kalesh AP CID 353629 (#1 of 1): Unchecked return value (CHECKED_RETURN) check_return: Calling rte_eth_dev_info_get without checking return value (as is done elsewhere 110 out of 117 times). Coverity issue: 353629 Fixes: e1d44d0ad623 ("app/testpmd: show MAC addresses added to a port") Cc: