提交 1771e70a 编写于 作者: A Al Viro

block: annotate ->poll() instances

Signed-off-by: NAl Viro <viro@zeniv.linux.org.uk>
上级 b146e2ce
...@@ -845,10 +845,10 @@ static int bsg_release(struct inode *inode, struct file *file) ...@@ -845,10 +845,10 @@ static int bsg_release(struct inode *inode, struct file *file)
return bsg_put_device(bd); 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; 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_done, wait);
poll_wait(file, &bd->wq_free, wait); poll_wait(file, &bd->wq_free, wait);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册