projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b146e2c
)
block: annotate ->poll() instances
author
Al Viro
<viro@zeniv.linux.org.uk>
Mon, 3 Jul 2017 03:03:13 +0000
(23:03 -0400)
committer
Al Viro
<viro@zeniv.linux.org.uk>
Mon, 27 Nov 2017 21:20:00 +0000
(16:20 -0500)
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
block/bsg.c
patch
|
blob
|
history
diff --git
a/block/bsg.c
b/block/bsg.c
index 452f94f1c5d427e3c5e31ae29e11dd890b2a7a0f..636bfcdb5d5f9980746ba9132076af54a08e0e80 100644
(file)
--- 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 in
t 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 in
t mask = 0;
+
__poll_
t mask = 0;
poll_wait(file, &bd->wq_done, wait);
poll_wait(file, &bd->wq_free, wait);