diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2017-07-03 06:42:43 +0200 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2017-11-27 22:20:05 +0100 |
commit | 9dd957485d7d896ec18d8e2f9dd410efe71eca34 (patch) | |
tree | 3fc16b03e1192c378e266bcbd8f9b41397e2d826 /ipc | |
parent | net: annotate ->poll() instances (diff) | |
download | linux-9dd957485d7d896ec18d8e2f9dd410efe71eca34.tar.xz linux-9dd957485d7d896ec18d8e2f9dd410efe71eca34.zip |
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); |