Skip to contentSkip to conversation

vhost: fix up trailing whitespace

PATCH In review Michael S. Tsirkin 3 participants 3 messages Nov 2, 2020

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 vhost: fix up trailing whitespace

Drop trailing whitespace in vhost.c

---
 hw/virtio/vhost.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
hw/virtio/vhost.c +2 -2
index f2482378c6..2e904bbd62 100644
@@ -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
Reviewed-by on v1 1/1
#2 lore raw
In reply to Michael S. Tsirkin
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 whitespace

Drop trailing whitespace in vhost.c

---
 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..2e904bbd62 100644

hw/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