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

2019-11-19 Thread Marc-André Lureau
On Tue, Nov 19, 2019 at 11:58 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 infl

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

2019-11-19 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