Skip to content

Commit

Permalink
block: annotate ->poll() instances
Browse files Browse the repository at this point in the history
Signed-off-by: Al Viro <[email protected]>
  • Loading branch information
Al Viro committed Nov 27, 2017
1 parent b146e2c commit 1771e70
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions block/bsg.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 1771e70

Please sign in to comment.