diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2017-07-03 06:39:46 -0400 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2017-11-28 11:06:58 -0500 |
commit | afc9a42b7464f76e1388cad87d8543c69f6f74ed (patch) | |
tree | abc3abe50053edd3dcf0b04c2d2a63640ee89f6b /drivers/infiniband/hw/qib/qib_file_ops.c | |
parent | c23e0cb81e4021b9712b1093d54713991fd9b7c2 (diff) |
the rest of drivers/*: annotate ->poll() instances
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'drivers/infiniband/hw/qib/qib_file_ops.c')
-rw-r--r-- | drivers/infiniband/hw/qib/qib_file_ops.c | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/drivers/infiniband/hw/qib/qib_file_ops.c b/drivers/infiniband/hw/qib/qib_file_ops.c index 2d6a191afec0..b67df63bd64b 100644 --- a/drivers/infiniband/hw/qib/qib_file_ops.c +++ b/drivers/infiniband/hw/qib/qib_file_ops.c | |||
@@ -58,7 +58,7 @@ static int qib_open(struct inode *, struct file *); | |||
58 | static int qib_close(struct inode *, struct file *); | 58 | static int qib_close(struct inode *, struct file *); |
59 | static ssize_t qib_write(struct file *, const char __user *, size_t, loff_t *); | 59 | static ssize_t qib_write(struct file *, const char __user *, size_t, loff_t *); |
60 | static ssize_t qib_write_iter(struct kiocb *, struct iov_iter *); | 60 | static ssize_t qib_write_iter(struct kiocb *, struct iov_iter *); |
61 | static unsigned int qib_poll(struct file *, struct poll_table_struct *); | 61 | static __poll_t qib_poll(struct file *, struct poll_table_struct *); |
62 | static int qib_mmapf(struct file *, struct vm_area_struct *); | 62 | static int qib_mmapf(struct file *, struct vm_area_struct *); |
63 | 63 | ||
64 | /* | 64 | /* |
@@ -1092,12 +1092,12 @@ bail: | |||
1092 | return ret; | 1092 | return ret; |
1093 | } | 1093 | } |
1094 | 1094 | ||
1095 | static unsigned int qib_poll_urgent(struct qib_ctxtdata *rcd, | 1095 | static __poll_t qib_poll_urgent(struct qib_ctxtdata *rcd, |
1096 | struct file *fp, | 1096 | struct file *fp, |
1097 | struct poll_table_struct *pt) | 1097 | struct poll_table_struct *pt) |
1098 | { | 1098 | { |
1099 | struct qib_devdata *dd = rcd->dd; | 1099 | struct qib_devdata *dd = rcd->dd; |
1100 | unsigned pollflag; | 1100 | __poll_t pollflag; |
1101 | 1101 | ||
1102 | poll_wait(fp, &rcd->wait, pt); | 1102 | poll_wait(fp, &rcd->wait, pt); |
1103 | 1103 | ||
@@ -1114,12 +1114,12 @@ static unsigned int qib_poll_urgent(struct qib_ctxtdata *rcd, | |||
1114 | return pollflag; | 1114 | return pollflag; |
1115 | } | 1115 | } |
1116 | 1116 | ||
1117 | static unsigned int qib_poll_next(struct qib_ctxtdata *rcd, | 1117 | static __poll_t qib_poll_next(struct qib_ctxtdata *rcd, |
1118 | struct file *fp, | 1118 | struct file *fp, |
1119 | struct poll_table_struct *pt) | 1119 | struct poll_table_struct *pt) |
1120 | { | 1120 | { |
1121 | struct qib_devdata *dd = rcd->dd; | 1121 | struct qib_devdata *dd = rcd->dd; |
1122 | unsigned pollflag; | 1122 | __poll_t pollflag; |
1123 | 1123 | ||
1124 | poll_wait(fp, &rcd->wait, pt); | 1124 | poll_wait(fp, &rcd->wait, pt); |
1125 | 1125 | ||
@@ -1135,10 +1135,10 @@ static unsigned int qib_poll_next(struct qib_ctxtdata *rcd, | |||
1135 | return pollflag; | 1135 | return pollflag; |
1136 | } | 1136 | } |
1137 | 1137 | ||
1138 | static unsigned int qib_poll(struct file *fp, struct poll_table_struct *pt) | 1138 | static __poll_t qib_poll(struct file *fp, struct poll_table_struct *pt) |
1139 | { | 1139 | { |
1140 | struct qib_ctxtdata *rcd; | 1140 | struct qib_ctxtdata *rcd; |
1141 | unsigned pollflag; | 1141 | __poll_t pollflag; |
1142 | 1142 | ||
1143 | rcd = ctxt_fp(fp); | 1143 | rcd = ctxt_fp(fp); |
1144 | if (!rcd) | 1144 | if (!rcd) |