diff options
| author | Al Viro <[email protected]> | 2017-07-03 10:39:46 +0000 |
|---|---|---|
| committer | Al Viro <[email protected]> | 2017-11-28 16:06:58 +0000 |
| commit | afc9a42b7464f76e1388cad87d8543c69f6f74ed (patch) | |
| tree | abc3abe50053edd3dcf0b04c2d2a63640ee89f6b /drivers/infiniband/core/user_mad.c | |
| parent | media: annotate ->poll() instances (diff) | |
| download | kernel-afc9a42b7464f76e1388cad87d8543c69f6f74ed.tar.gz kernel-afc9a42b7464f76e1388cad87d8543c69f6f74ed.zip | |
the rest of drivers/*: annotate ->poll() instances
Signed-off-by: Al Viro <[email protected]>
Diffstat (limited to 'drivers/infiniband/core/user_mad.c')
| -rw-r--r-- | drivers/infiniband/core/user_mad.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/infiniband/core/user_mad.c b/drivers/infiniband/core/user_mad.c index 4b64dd02e090..0c32d10f23ff 100644 --- a/drivers/infiniband/core/user_mad.c +++ b/drivers/infiniband/core/user_mad.c @@ -617,12 +617,12 @@ err: return ret; } -static unsigned int ib_umad_poll(struct file *filp, struct poll_table_struct *wait) +static __poll_t ib_umad_poll(struct file *filp, struct poll_table_struct *wait) { struct ib_umad_file *file = filp->private_data; /* we will always be able to post a MAD send */ - unsigned int mask = POLLOUT | POLLWRNORM; + __poll_t mask = POLLOUT | POLLWRNORM; poll_wait(filp, &file->recv_wait, wait); |
