[PATCH v2] virtio-rng: Avoid repeated init of completion

2019-01-18 Thread David Tolnay
From: David Tolnay Date: Mon, 7 Jan 2019 14:36:11 -0800 Subject: [PATCH v2] virtio-rng: Avoid repeated init of completion The virtio-rng driver uses a completion called have_data to wait for a virtio read to be fulfilled by the hypervisor. The completion is reset before placing a buffer on the

[PATCH] virtio-rng: Avoid repeated init of completion

2019-01-07 Thread David Tolnay
From: David Tolnay Date: Mon, 7 Jan 2019 14:36:11 -0800 Subject: [PATCH] virtio-rng: Avoid repeated init of completion The virtio-rng driver uses a completion called have_data to wait for a virtio read to be fulfilled by the hypervisor. The completion is reset before placing a buffer on the