the rest of drivers/*: annotate ->poll() instances
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
This commit is contained in:
@@ -1929,10 +1929,10 @@ static int dm_release(struct inode *inode, struct file *filp)
|
||||
return 0;
|
||||
}
|
||||
|
||||
static unsigned dm_poll(struct file *filp, poll_table *wait)
|
||||
static __poll_t dm_poll(struct file *filp, poll_table *wait)
|
||||
{
|
||||
struct dm_file *priv = filp->private_data;
|
||||
unsigned mask = 0;
|
||||
__poll_t mask = 0;
|
||||
|
||||
poll_wait(filp, &dm_global_eventq, wait);
|
||||
|
||||
|
@@ -7869,10 +7869,10 @@ static int md_seq_open(struct inode *inode, struct file *file)
|
||||
}
|
||||
|
||||
static int md_unloading;
|
||||
static unsigned int mdstat_poll(struct file *filp, poll_table *wait)
|
||||
static __poll_t mdstat_poll(struct file *filp, poll_table *wait)
|
||||
{
|
||||
struct seq_file *seq = filp->private_data;
|
||||
int mask;
|
||||
__poll_t mask;
|
||||
|
||||
if (md_unloading)
|
||||
return POLLIN|POLLRDNORM|POLLERR|POLLPRI;
|
||||
|
Reference in New Issue
Block a user