Skip to content

Commit 1771e70

Browse files
author
Al Viro
committed
block: annotate ->poll() instances
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
1 parent b146e2c commit 1771e70

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

‎block/bsg.c‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -845,10 +845,10 @@ static int bsg_release(struct inode *inode, struct file *file)
845845
return bsg_put_device(bd);
846846
}
847847

848-
static unsigned int bsg_poll(struct file *file, poll_table *wait)
848+
static __poll_t bsg_poll(struct file *file, poll_table *wait)
849849
{
850850
struct bsg_device *bd = file->private_data;
851-
unsigned int mask = 0;
851+
__poll_t mask = 0;
852852

853853
poll_wait(file, &bd->wq_done, wait);
854854
poll_wait(file, &bd->wq_free, wait);

0 commit comments

Comments
 (0)