vhost: fix up trailing whitespace
PATCH 1/1 vhost: fix up trailing whitespace
Drop trailing whitespace in vhost.c
Signed-off-by Michael S. Tsirkin <[email protected]>
--- hw/virtio/vhost.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
hw/virtio/vhost.c +2 -2
@@ -1648,12 +1648,12 @@ int vhost_dev_load_inflight(struct vhost_inflight *inflight, QEMUFile *f)int vhost_dev_prepare_inflight (struct vhost_dev *hdev) {int r; - +if (hdev->vhost_ops->vhost_get_inflight_fd ==NULL || hdev->vhost_ops->vhost_set_inflight_fd ==NULL ) {return 0 ; } - + r =vhost_dev_set_features (hdev, hdev->log_enabled);if (r <0 ) {VHOST_OPS_DEBUG ("vhost_dev_prepare_inflight failed" );
Signature · 1 line
MST
Quoted 6 lines · Michael S. Tsirkin
Drop trailing whitespace in
vhost.cSigned-off-by Michael S. Tsirkin <[email protected]>--- hw/virtio/vhost.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
Reviewed-by Philippe Mathieu-Daudé <[email protected]>
Quoted 35 lines
-----Original Message-----
From: Qemu-devel [mailto:[email protected]] On Behalf Of Michael S. Tsirkin
Sent: Monday, November 2, 2020 6:13 PM
To: [email protected]
Subject: [PATCH] vhost: fix up trailing whitespaceDrop trailing whitespace in
vhost.cSigned-off-by Michael S. Tsirkin <[email protected]>--- hw/virtio/vhost.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)hw/virtio/vhost.c index renamed from hw/virtio/vhost.c +0
-0
f2482378c6..2e904bbd62100644hw/virtio/vhost.c +2
-3@@ -1648,12 +1648,12 @@ int vhost_dev_load_inflight(struct vhost_inflight *inflight, QEMUFile *f) int vhost_dev_prepare_inflight(struct vhost_dev *hdev) {int r; - +if (hdev->vhost_ops->vhost_get_inflight_fd ==NULL || hdev->vhost_ops->vhost_set_inflight_fd ==NULL ) {return 0 ; } - + r =vhost_dev_set_features (hdev, hdev->log_enabled);if (r <0 ) {VHOST_OPS_DEBUG ("vhost_dev_prepare_inflight failed" ); --
Quoted 2 lines
MST
Reviewed-by Chen Qun <[email protected]>