summaryrefslogtreecommitdiffstats
path: root/ipc/mqueue.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 /ipc/mqueue.c
parentade994f4f6c8c3ef4c3bfc2d02166262fb9d089c (diff)
downloadlinux-9dd957485d7d896ec18d8e2f9dd410efe71eca34.tar.gz
linux-9dd957485d7d896ec18d8e2f9dd410efe71eca34.tar.bz2
linux-9dd957485d7d896ec18d8e2f9dd410efe71eca34.zip
ipc, kernel, mm: annotate ->poll() instances
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'ipc/mqueue.c')
-rw-r--r--ipc/mqueue.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/ipc/mqueue.c b/ipc/mqueue.c
index d24025626310..2e4d42b6d8ed 100644
--- a/ipc/mqueue.c
+++ b/ipc/mqueue.c
@@ -519,10 +519,10 @@ static int mqueue_flush_file(struct file *filp, fl_owner_t id)
return 0;
}
-static unsigned int mqueue_poll_file(struct file *filp, struct poll_table_struct *poll_tab)
+static __poll_t mqueue_poll_file(struct file *filp, struct poll_table_struct *poll_tab)
{
struct mqueue_inode_info *info = MQUEUE_I(file_inode(filp));
- int retval = 0;
+ __poll_t retval = 0;
poll_wait(filp, &info->wait_q, poll_tab);