mirror of
https://github.com/torvalds/linux.git
synced 2024-11-10 14:11:52 +00:00
block: annotate ->poll() instances
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
This commit is contained in:
parent
b146e2ce80
commit
1771e70a2e
@ -845,10 +845,10 @@ static int bsg_release(struct inode *inode, struct file *file)
|
||||
return bsg_put_device(bd);
|
||||
}
|
||||
|
||||
static unsigned int bsg_poll(struct file *file, poll_table *wait)
|
||||
static __poll_t bsg_poll(struct file *file, poll_table *wait)
|
||||
{
|
||||
struct bsg_device *bd = file->private_data;
|
||||
unsigned int mask = 0;
|
||||
__poll_t mask = 0;
|
||||
|
||||
poll_wait(file, &bd->wq_done, wait);
|
||||
poll_wait(file, &bd->wq_free, wait);
|
||||
|
Loading…
Reference in New Issue
Block a user