the rest of drivers/*: annotate ->poll() instances
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
This commit is contained in:
@@ -1245,10 +1245,10 @@ static ssize_t smu_read(struct file *file, char __user *buf,
|
||||
return -EBADFD;
|
||||
}
|
||||
|
||||
static unsigned int smu_fpoll(struct file *file, poll_table *wait)
|
||||
static __poll_t smu_fpoll(struct file *file, poll_table *wait)
|
||||
{
|
||||
struct smu_private *pp = file->private_data;
|
||||
unsigned int mask = 0;
|
||||
__poll_t mask = 0;
|
||||
unsigned long flags;
|
||||
|
||||
if (pp == 0)
|
||||
|
@@ -2157,11 +2157,11 @@ pmu_write(struct file *file, const char __user *buf,
|
||||
return 0;
|
||||
}
|
||||
|
||||
static unsigned int
|
||||
static __poll_t
|
||||
pmu_fpoll(struct file *filp, poll_table *wait)
|
||||
{
|
||||
struct pmu_private *pp = filp->private_data;
|
||||
unsigned int mask = 0;
|
||||
__poll_t mask = 0;
|
||||
unsigned long flags;
|
||||
|
||||
if (pp == 0)
|
||||
|
Reference in New Issue
Block a user