summaryrefslogtreecommitdiffstats
path: root/kernel/relay.c
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2017-07-03 00:42:43 -0400
committerAl Viro <viro@zeniv.linux.org.uk>2017-11-27 16:20:05 -0500
commit9dd957485d7d896ec18d8e2f9dd410efe71eca34 (patch)
tree3fc16b03e1192c378e266bcbd8f9b41397e2d826 /kernel/relay.c
parentade994f4f6c8c3ef4c3bfc2d02166262fb9d089c (diff)
downloadlinux-9dd957485d7d896ec18d8e2f9dd410efe71eca34.tar.bz2
ipc, kernel, mm: annotate ->poll() instances
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'kernel/relay.c')
-rw-r--r--kernel/relay.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/kernel/relay.c b/kernel/relay.c
index 39a9dfc69486..41280033a4c5 100644
--- a/kernel/relay.c
+++ b/kernel/relay.c
@@ -919,9 +919,9 @@ static int relay_file_mmap(struct file *filp, struct vm_area_struct *vma)
*
* Poll implemention.
*/
-static unsigned int relay_file_poll(struct file *filp, poll_table *wait)
+static __poll_t relay_file_poll(struct file *filp, poll_table *wait)
{
- unsigned int mask = 0;
+ __poll_t mask = 0;
struct rchan_buf *buf = filp->private_data;
if (buf->finalized)