Re: [PATCH] libvhost-user: Zero memory allocated for VuVirtqInflightDesc

2019-11-18 Thread Marc-André Lureau
Hi On Tue, Nov 19, 2019 at 7:49 AM wrote: > > From: Xie Yongji > > Use a zero-initialized VuVirtqInflightDesc struct to avoid > that scan-build reports that vq->resubmit_list[0].counter may > be garbage value in vu_check_queue_inflights(). > > Fixes: 5f9ff1eff ("libvhost-user: Support tracking i

[PATCH] libvhost-user: Zero memory allocated for VuVirtqInflightDesc

2019-11-18 Thread elohimes
From: Xie Yongji Use a zero-initialized VuVirtqInflightDesc struct to avoid that scan-build reports that vq->resubmit_list[0].counter may be garbage value in vu_check_queue_inflights(). Fixes: 5f9ff1eff ("libvhost-user: Support tracking inflight I/O in shared memory") Reported-by: Marc-André Lur