Re: [PATCH] vhost/vsock: initialize vhost_vsock->hash

2019-04-05 Thread Stefan Hajnoczi
On Thu, Mar 28, 2019 at 01:10:57PM -0400, Vitaly Mayatskikh wrote: > There's no current valid use case when uninitialized hash can be read > before being written, however let's keep every vhost_vsock field > initialized just for clarity. > > Signed-off-by: Vitaly Mayatskikh > --- > drivers/vhost

[PATCH] vhost/vsock: initialize vhost_vsock->hash

2019-03-28 Thread Vitaly Mayatskikh
There's no current valid use case when uninitialized hash can be read before being written, however let's keep every vhost_vsock field initialized just for clarity. Signed-off-by: Vitaly Mayatskikh --- drivers/vhost/vsock.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/vhost/vsock.