the rest of drivers/*: annotate ->poll() instances
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
This commit is contained in:
@@ -256,10 +256,10 @@ static int phantom_release(struct inode *inode, struct file *file)
|
||||
return 0;
|
||||
}
|
||||
|
||||
static unsigned int phantom_poll(struct file *file, poll_table *wait)
|
||||
static __poll_t phantom_poll(struct file *file, poll_table *wait)
|
||||
{
|
||||
struct phantom_device *dev = file->private_data;
|
||||
unsigned int mask = 0;
|
||||
__poll_t mask = 0;
|
||||
|
||||
pr_debug("phantom_poll: %d\n", atomic_read(&dev->counter));
|
||||
poll_wait(file, &dev->wait, wait);
|
||||
|
Reference in New Issue
Block a user