diff mbox series

[5/5] vhost: fix up vhost_work coding style

Message ID 20210525174733.6212-6-michael.christie@oracle.com
State New
Headers show
Series None | expand

Commit Message

Mike Christie May 25, 2021, 5:47 p.m. UTC
Switch from a mix of tabs and spaces to just tabs.

Signed-off-by: Mike Christie <michael.christie@oracle.com>
---
 drivers/vhost/vhost.h | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

Comments

Stefano Garzarella May 27, 2021, 1:23 p.m. UTC | #1
On Tue, May 25, 2021 at 12:47:33PM -0500, Mike Christie wrote:
>Switch from a mix of tabs and spaces to just tabs.

>

>Signed-off-by: Mike Christie <michael.christie@oracle.com>

>---

> drivers/vhost/vhost.h | 6 +++---

> 1 file changed, 3 insertions(+), 3 deletions(-)

>

>diff --git a/drivers/vhost/vhost.h b/drivers/vhost/vhost.h

>index 575c8180caad..7d5306d1229d 100644

>--- a/drivers/vhost/vhost.h

>+++ b/drivers/vhost/vhost.h

>@@ -20,9 +20,9 @@ typedef void (*vhost_work_fn_t)(struct vhost_work *work);

>

> #define VHOST_WORK_QUEUED 1

> struct vhost_work {

>-	struct llist_node	  node;

>-	vhost_work_fn_t		  fn;

>-	unsigned long		  flags;

>+	struct llist_node	node;

>+	vhost_work_fn_t		fn;

>+	unsigned long		flags;

> };

>

> /* Poll a file (eventfd or socket) */

>-- 

>2.25.1

>


Reviewed-by: Stefano Garzarella <sgarzare@redhat.com>
diff mbox series

Patch

diff --git a/drivers/vhost/vhost.h b/drivers/vhost/vhost.h
index 575c8180caad..7d5306d1229d 100644
--- a/drivers/vhost/vhost.h
+++ b/drivers/vhost/vhost.h
@@ -20,9 +20,9 @@  typedef void (*vhost_work_fn_t)(struct vhost_work *work);
 
 #define VHOST_WORK_QUEUED 1
 struct vhost_work {
-	struct llist_node	  node;
-	vhost_work_fn_t		  fn;
-	unsigned long		  flags;
+	struct llist_node	node;
+	vhost_work_fn_t		fn;
+	unsigned long		flags;
 };
 
 /* Poll a file (eventfd or socket) */