the rest of drivers/*: annotate ->poll() instances
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
This commit is contained in:
@@ -1353,7 +1353,7 @@ static ssize_t vhost_net_chr_write_iter(struct kiocb *iocb,
|
||||
return vhost_chr_write_iter(dev, from);
|
||||
}
|
||||
|
||||
static unsigned int vhost_net_chr_poll(struct file *file, poll_table *wait)
|
||||
static __poll_t vhost_net_chr_poll(struct file *file, poll_table *wait)
|
||||
{
|
||||
struct vhost_net *n = file->private_data;
|
||||
struct vhost_dev *dev = &n->dev;
|
||||
|
@@ -1057,10 +1057,10 @@ done:
|
||||
}
|
||||
EXPORT_SYMBOL(vhost_chr_write_iter);
|
||||
|
||||
unsigned int vhost_chr_poll(struct file *file, struct vhost_dev *dev,
|
||||
__poll_t vhost_chr_poll(struct file *file, struct vhost_dev *dev,
|
||||
poll_table *wait)
|
||||
{
|
||||
unsigned int mask = 0;
|
||||
__poll_t mask = 0;
|
||||
|
||||
poll_wait(file, &dev->wait, wait);
|
||||
|
||||
|
@@ -217,7 +217,7 @@ void vhost_enqueue_msg(struct vhost_dev *dev,
|
||||
struct vhost_msg_node *node);
|
||||
struct vhost_msg_node *vhost_dequeue_msg(struct vhost_dev *dev,
|
||||
struct list_head *head);
|
||||
unsigned int vhost_chr_poll(struct file *file, struct vhost_dev *dev,
|
||||
__poll_t vhost_chr_poll(struct file *file, struct vhost_dev *dev,
|
||||
poll_table *wait);
|
||||
ssize_t vhost_chr_read_iter(struct vhost_dev *dev, struct iov_iter *to,
|
||||
int noblock);
|
||||
|
Reference in New Issue
Block a user