[PATCH] vhost: fix up trailing whitespace

Michael S. Tsirkin posted 1 patch 3 years, 6 months ago
Test checkpatch passed
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/qemu tags/patchew/20201102101301.1101378-1-mst@redhat.com
Maintainers: "Michael S. Tsirkin" <mst@redhat.com>
hw/virtio/vhost.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
[PATCH] vhost: fix up trailing whitespace
Posted by Michael S. Tsirkin 3 years, 6 months ago
Drop trailing whitespace in vhost.c

Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
---
 hw/virtio/vhost.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/hw/virtio/vhost.c b/hw/virtio/vhost.c
index f2482378c6..2e904bbd62 100644
--- a/hw/virtio/vhost.c
+++ b/hw/virtio/vhost.c
@@ -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");
-- 
MST


Re: [PATCH] vhost: fix up trailing whitespace
Posted by Philippe Mathieu-Daudé 3 years, 6 months ago
On 11/2/20 11:13 AM, Michael S. Tsirkin wrote:
> Drop trailing whitespace in vhost.c
> 
> Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
> ---
>  hw/virtio/vhost.c | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)

Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>


RE: [PATCH] vhost: fix up trailing whitespace
Posted by Chenqun (kuhn) 3 years, 6 months ago
> -----Original Message-----
> From: Qemu-devel
> [mailto:qemu-devel-bounces+kuhn.chenqun=huawei.com@nongnu.org] On
> Behalf Of Michael S. Tsirkin
> Sent: Monday, November 2, 2020 6:13 PM
> To: qemu-devel@nongnu.org
> Subject: [PATCH] vhost: fix up trailing whitespace
> 
> Drop trailing whitespace in vhost.c
> 
> Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
> ---
>  hw/virtio/vhost.c | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)
> 
> diff --git a/hw/virtio/vhost.c b/hw/virtio/vhost.c index
> f2482378c6..2e904bbd62 100644
> --- a/hw/virtio/vhost.c
> +++ b/hw/virtio/vhost.c
> @@ -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");
> --
> MST
> 
Reviewed-by: Chen Qun <kuhn.chenqun@huawei.com>