qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] vhost: fix up trailing whitespace
@ 2020-11-02 10:13 Michael S. Tsirkin
  2020-11-02 10:26 ` Philippe Mathieu-Daudé
  2020-11-02 13:28 ` Chenqun (kuhn)
  0 siblings, 2 replies; 3+ messages in thread
From: Michael S. Tsirkin @ 2020-11-02 10:13 UTC (permalink / raw)
  To: qemu-devel

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



^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [PATCH] vhost: fix up trailing whitespace
  2020-11-02 10:13 [PATCH] vhost: fix up trailing whitespace Michael S. Tsirkin
@ 2020-11-02 10:26 ` Philippe Mathieu-Daudé
  2020-11-02 13:28 ` Chenqun (kuhn)
  1 sibling, 0 replies; 3+ messages in thread
From: Philippe Mathieu-Daudé @ 2020-11-02 10:26 UTC (permalink / raw)
  To: Michael S. Tsirkin, qemu-devel; +Cc: QEMU Trivial

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>



^ permalink raw reply	[flat|nested] 3+ messages in thread

* RE: [PATCH] vhost: fix up trailing whitespace
  2020-11-02 10:13 [PATCH] vhost: fix up trailing whitespace Michael S. Tsirkin
  2020-11-02 10:26 ` Philippe Mathieu-Daudé
@ 2020-11-02 13:28 ` Chenqun (kuhn)
  1 sibling, 0 replies; 3+ messages in thread
From: Chenqun (kuhn) @ 2020-11-02 13:28 UTC (permalink / raw)
  To: Michael S. Tsirkin, qemu-devel@nongnu.org

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


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2020-11-02 13:30 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-11-02 10:13 [PATCH] vhost: fix up trailing whitespace Michael S. Tsirkin
2020-11-02 10:26 ` Philippe Mathieu-Daudé
2020-11-02 13:28 ` Chenqun (kuhn)

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).