diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2017-07-03 23:50:40 -0400 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2017-11-27 16:19:56 -0500 |
commit | 58e3b60298bc9feaf51481ea3e62884bd0146366 (patch) | |
tree | a9e990400d80a876a6589f9f054d957af64339af /drivers/vhost/vhost.h | |
parent | e8c33e22964122098f00a5a8bedae017ee74b1d6 (diff) |
vhost: annotate vhost_poll
its ->mask is POLL... bitmap
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'drivers/vhost/vhost.h')
-rw-r--r-- | drivers/vhost/vhost.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/vhost/vhost.h b/drivers/vhost/vhost.h index 79c6e7a60a5e..d94245b2fcc2 100644 --- a/drivers/vhost/vhost.h +++ b/drivers/vhost/vhost.h | |||
@@ -34,7 +34,7 @@ struct vhost_poll { | |||
34 | wait_queue_head_t *wqh; | 34 | wait_queue_head_t *wqh; |
35 | wait_queue_entry_t wait; | 35 | wait_queue_entry_t wait; |
36 | struct vhost_work work; | 36 | struct vhost_work work; |
37 | unsigned long mask; | 37 | __poll_t mask; |
38 | struct vhost_dev *dev; | 38 | struct vhost_dev *dev; |
39 | }; | 39 | }; |
40 | 40 | ||
@@ -43,7 +43,7 @@ void vhost_work_queue(struct vhost_dev *dev, struct vhost_work *work); | |||
43 | bool vhost_has_work(struct vhost_dev *dev); | 43 | bool vhost_has_work(struct vhost_dev *dev); |
44 | 44 | ||
45 | void vhost_poll_init(struct vhost_poll *poll, vhost_work_fn_t fn, | 45 | void vhost_poll_init(struct vhost_poll *poll, vhost_work_fn_t fn, |
46 | unsigned long mask, struct vhost_dev *dev); | 46 | __poll_t mask, struct vhost_dev *dev); |
47 | int vhost_poll_start(struct vhost_poll *poll, struct file *file); | 47 | int vhost_poll_start(struct vhost_poll *poll, struct file *file); |
48 | void vhost_poll_stop(struct vhost_poll *poll); | 48 | void vhost_poll_stop(struct vhost_poll *poll); |
49 | void vhost_poll_flush(struct vhost_poll *poll); | 49 | void vhost_poll_flush(struct vhost_poll *poll); |