> -----Original Message----- > From: Maxime Coquelin <maxime.coque...@redhat.com> > Sent: Friday, July 1, 2022 10:00 PM > To: Hu, Jiayu <jiayu...@intel.com>; dev@dpdk.org > Cc: Xia, Chenbo <chenbo....@intel.com>; sta...@dpdk.org > Subject: Re: [PATCH v2] vhost: fix unchecked return value > > > > On 6/29/22 11:07, Jiayu Hu wrote: > > This patch checks the return value of rte_dma_info_get() called in > > rte_vhost_async_dma_configure(). > > > > Coverity issue: 379066 > > Fixes: 53d3f4778c1d ("vhost: integrate dmadev in asynchronous > > data-path") > > Cc: sta...@dpdk.org > > > > Signed-off-by: Jiayu Hu <jiayu...@intel.com> > > Reviewed-by: Chenbo Xia <chenbo....@intel.com> > > --- > > v2: > > - add cc stable tag > > --- > > lib/vhost/vhost.c | 6 +++++- > > 1 file changed, 5 insertions(+), 1 deletion(-) > > > > > Applied to dpdk-next-virtio/main. > > Please propose something to protect DMA channels registration & also > consider introducing a function to unregister.
Thanks Maxime. Will do. Regards, Jiayu > > Thanks, > Maxime