mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-29 03:01:39 -04:00
the rest of drivers/*: annotate ->poll() instances
Signed-off-by: Al Viro <[email protected]>
This commit is contained in:
parent
c23e0cb81e
commit
afc9a42b74
144 changed files with 257 additions and 256 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Reference in a new issue