mirror of
https://github.com/torvalds/linux.git
synced 2024-11-28 23:21:31 +00:00
vhost: fix poll coding style
We use 3 coding styles in this struct. Switch to just tabs. Signed-off-by: Mike Christie <michael.christie@oracle.com> Reviewed-by: Chaitanya Kulkarni <chaitanya.kulkarni@wdc.com> Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com> Acked-by: Jason Wang <jasowang@redhat.com> Link: https://lore.kernel.org/r/20210525174733.6212-5-michael.christie@oracle.com Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
This commit is contained in:
parent
d60146c161
commit
efb18e1e50
@ -28,12 +28,12 @@ struct vhost_work {
|
|||||||
/* Poll a file (eventfd or socket) */
|
/* Poll a file (eventfd or socket) */
|
||||||
/* Note: there's nothing vhost specific about this structure. */
|
/* Note: there's nothing vhost specific about this structure. */
|
||||||
struct vhost_poll {
|
struct vhost_poll {
|
||||||
poll_table table;
|
poll_table table;
|
||||||
wait_queue_head_t *wqh;
|
wait_queue_head_t *wqh;
|
||||||
wait_queue_entry_t wait;
|
wait_queue_entry_t wait;
|
||||||
struct vhost_work work;
|
struct vhost_work work;
|
||||||
__poll_t mask;
|
__poll_t mask;
|
||||||
struct vhost_dev *dev;
|
struct vhost_dev *dev;
|
||||||
};
|
};
|
||||||
|
|
||||||
void vhost_work_init(struct vhost_work *work, vhost_work_fn_t fn);
|
void vhost_work_init(struct vhost_work *work, vhost_work_fn_t fn);
|
||||||
|
Loading…
Reference in New Issue
Block a user