aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Christie <[email protected]>2021-05-25 12:47:32 -0500
committerMichael S. Tsirkin <[email protected]>2021-07-03 04:50:55 -0400
commitefb18e1e50b4dc1719f57089a7df9a8301ec48e4 (patch)
tree0b18362509a43de1e1d8a002a1335469fc8ac5eb
parentd60146c161befc8d62cba427be869b2231224347 (diff)
vhost: fix poll coding style
We use 3 coding styles in this struct. Switch to just tabs. Signed-off-by: Mike Christie <[email protected]> Reviewed-by: Chaitanya Kulkarni <[email protected]> Reviewed-by: Stefan Hajnoczi <[email protected]> Acked-by: Jason Wang <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Michael S. Tsirkin <[email protected]>
-rw-r--r--drivers/vhost/vhost.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/drivers/vhost/vhost.h b/drivers/vhost/vhost.h
index 1e5295dda6cb..24ebb66a4fcf 100644
--- a/drivers/vhost/vhost.h
+++ b/drivers/vhost/vhost.h
@@ -28,12 +28,12 @@ struct vhost_work {
/* Poll a file (eventfd or socket) */
/* Note: there's nothing vhost specific about this structure. */
struct vhost_poll {
- poll_table table;
- wait_queue_head_t *wqh;
- wait_queue_entry_t wait;
- struct vhost_work work;
- __poll_t mask;
- struct vhost_dev *dev;
+ poll_table table;
+ wait_queue_head_t *wqh;
+ wait_queue_entry_t wait;
+ struct vhost_work work;
+ __poll_t mask;
+ struct vhost_dev *dev;
};
void vhost_work_init(struct vhost_work *work, vhost_work_fn_t fn);