Re: [dpdk-dev] [PATCH] net/ifc: fix unchecked return value

2019-11-25 Thread Ye Xiaolong
On 11/26, Xiao Wang wrote: >It's possible that we fail to get the IOMMU group of ifcvf device, this >patch adds a check on the return value. > >Coverity issue: 349894 >Fixes: a3f8150eac6d ("net/ifcvf: add ifcvf vDPA driver") >Cc: sta...@dpdk.org > >Signed-off-by: Xiao Wang >--- > drivers/net/ifc/i

[dpdk-dev] [PATCH] net/ifc: fix unchecked return value

2019-11-25 Thread Xiao Wang
It's possible that we fail to get the IOMMU group of ifcvf device, this patch adds a check on the return value. Coverity issue: 349894 Fixes: a3f8150eac6d ("net/ifcvf: add ifcvf vDPA driver") Cc: sta...@dpdk.org Signed-off-by: Xiao Wang --- drivers/net/ifc/ifcvf_vdpa.c | 8 ++-- 1 file chan