Re: [Qemu-devel] [PATCH v2] virtio-crypto: fix uninitialized variables

2016-11-30 Thread Michael S. Tsirkin
On Thu, Dec 01, 2016 at 03:38:50AM +, Gonglei (Arei) wrote: > Hi Michael, > > Pls pick up this one for 2.8. > > Thanks, > -Gonglei > > > > -Original Message- > > From: Gonglei (Arei) > > Sent: Saturday, November 26, 2016 11:08 AM > > To: qemu-devel@nongnu.org > > Cc: m...@redhat.co

Re: [Qemu-devel] [PATCH v2] virtio-crypto: fix uninitialized variables

2016-11-30 Thread Gonglei (Arei)
Hi Michael, Pls pick up this one for 2.8. Thanks, -Gonglei > -Original Message- > From: Gonglei (Arei) > Sent: Saturday, November 26, 2016 11:08 AM > To: qemu-devel@nongnu.org > Cc: m...@redhat.com; Gonglei (Arei) > Subject: [PATCH v2] virtio-crypto: fix uninitialized variables > > Th

[Qemu-devel] [PATCH v2] virtio-crypto: fix uninitialized variables

2016-11-25 Thread Gonglei
Though crypto_cfg.reserve is an unused field, let me initialize the structure in order to make coverity happy. *** CID 1365923: Uninitialized variables (UNINIT) /hw/virtio/virtio-crypto.c: 851 in virtio_crypto_get_config() 845 stl_le_p(&crypto_cfg.mac_algo_h, c->conf.mac_algo_h); 846