Re: [dpdk-dev] [PATCH v2] eal: fix dereference after null check

2020-10-22 Thread David Marchand
On Thu, Oct 15, 2020 at 10:43 AM wangyunjian wrote: > > From: Yunjian Wang > > This patch fixes (dereference after null check) coverity issue. > For this reason, we should add null check at the beginning of the > function and return error directly if the 'intr_handle' is null. > > Coverity issue:

[dpdk-dev] [PATCH v2] eal: fix dereference after null check

2020-10-15 Thread wangyunjian
From: Yunjian Wang This patch fixes (dereference after null check) coverity issue. For this reason, we should add null check at the beginning of the function and return error directly if the 'intr_handle' is null. Coverity issue: 357695, 357751 Fixes: 05c4105738d8 ("trace: add interrupt tracepoi