mirror of
https://github.com/torvalds/linux.git
synced 2025-12-07 20:06:24 +00:00
the rest of drivers/*: annotate ->poll() instances
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
This commit is contained in:
@@ -769,10 +769,10 @@ static int pp_release(struct inode *inode, struct file *file)
|
||||
}
|
||||
|
||||
/* No kernel lock held - fine */
|
||||
static unsigned int pp_poll(struct file *file, poll_table *wait)
|
||||
static __poll_t pp_poll(struct file *file, poll_table *wait)
|
||||
{
|
||||
struct pp_struct *pp = file->private_data;
|
||||
unsigned int mask = 0;
|
||||
__poll_t mask = 0;
|
||||
|
||||
poll_wait(file, &pp->irq_wait, wait);
|
||||
if (atomic_read(&pp->irqc))
|
||||
|
||||
Reference in New Issue
Block a user