diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2017-07-03 05:03:13 +0200 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2017-11-27 22:20:00 +0100 |
commit | 1771e70a2ea40f01433de656195d85cc7732ead0 (patch) | |
tree | 34a95f8de4b28d5dc6cf8f934c48543d4268a1dd /block | |
parent | x86: annotate ->poll() instances (diff) | |
download | linux-1771e70a2ea40f01433de656195d85cc7732ead0.tar.xz linux-1771e70a2ea40f01433de656195d85cc7732ead0.zip |
block: annotate ->poll() instances
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'block')
-rw-r--r-- | block/bsg.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/block/bsg.c b/block/bsg.c index 452f94f1c5d4..636bfcdb5d5f 100644 --- a/block/bsg.c +++ b/block/bsg.c @@ -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); |