mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-30 19:51:31 -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
|
|
@ -621,9 +621,9 @@ static long evtchn_ioctl(struct file *file,
|
|||
return rc;
|
||||
}
|
||||
|
||||
static unsigned int evtchn_poll(struct file *file, poll_table *wait)
|
||||
static __poll_t evtchn_poll(struct file *file, poll_table *wait)
|
||||
{
|
||||
unsigned int mask = POLLOUT | POLLWRNORM;
|
||||
__poll_t mask = POLLOUT | POLLWRNORM;
|
||||
struct per_user_data *u = file->private_data;
|
||||
|
||||
poll_wait(file, &u->evtchn_wait, wait);
|
||||
|
|
|
|||
|
|
@ -139,7 +139,7 @@ out:
|
|||
return err ? err : buf - ubuf;
|
||||
}
|
||||
|
||||
static unsigned int xen_mce_chrdev_poll(struct file *file, poll_table *wait)
|
||||
static __poll_t xen_mce_chrdev_poll(struct file *file, poll_table *wait)
|
||||
{
|
||||
poll_wait(file, &xen_mce_chrdev_wait, wait);
|
||||
|
||||
|
|
|
|||
|
|
@ -878,7 +878,7 @@ received:
|
|||
return ret;
|
||||
}
|
||||
|
||||
static unsigned int pvcalls_front_poll_passive(struct file *file,
|
||||
static __poll_t pvcalls_front_poll_passive(struct file *file,
|
||||
struct pvcalls_bedata *bedata,
|
||||
struct sock_mapping *map,
|
||||
poll_table *wait)
|
||||
|
|
@ -935,12 +935,12 @@ static unsigned int pvcalls_front_poll_passive(struct file *file,
|
|||
return 0;
|
||||
}
|
||||
|
||||
static unsigned int pvcalls_front_poll_active(struct file *file,
|
||||
static __poll_t pvcalls_front_poll_active(struct file *file,
|
||||
struct pvcalls_bedata *bedata,
|
||||
struct sock_mapping *map,
|
||||
poll_table *wait)
|
||||
{
|
||||
unsigned int mask = 0;
|
||||
__poll_t mask = 0;
|
||||
int32_t in_error, out_error;
|
||||
struct pvcalls_data_intf *intf = map->active.ring;
|
||||
|
||||
|
|
@ -958,12 +958,12 @@ static unsigned int pvcalls_front_poll_active(struct file *file,
|
|||
return mask;
|
||||
}
|
||||
|
||||
unsigned int pvcalls_front_poll(struct file *file, struct socket *sock,
|
||||
__poll_t pvcalls_front_poll(struct file *file, struct socket *sock,
|
||||
poll_table *wait)
|
||||
{
|
||||
struct pvcalls_bedata *bedata;
|
||||
struct sock_mapping *map;
|
||||
int ret;
|
||||
__poll_t ret;
|
||||
|
||||
pvcalls_enter();
|
||||
if (!pvcalls_front_dev) {
|
||||
|
|
|
|||
|
|
@ -645,7 +645,7 @@ static int xenbus_file_release(struct inode *inode, struct file *filp)
|
|||
return 0;
|
||||
}
|
||||
|
||||
static unsigned int xenbus_file_poll(struct file *file, poll_table *wait)
|
||||
static __poll_t xenbus_file_poll(struct file *file, poll_table *wait)
|
||||
{
|
||||
struct xenbus_file_priv *u = file->private_data;
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue