diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2017-07-03 00:42:43 -0400 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2017-11-27 16:20:05 -0500 |
commit | 9dd957485d7d896ec18d8e2f9dd410efe71eca34 (patch) | |
tree | 3fc16b03e1192c378e266bcbd8f9b41397e2d826 /ipc | |
parent | ade994f4f6c8c3ef4c3bfc2d02166262fb9d089c (diff) |
ipc, kernel, mm: annotate ->poll() instances
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'ipc')
-rw-r--r-- | ipc/mqueue.c | 4 |
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); |