ipc, kernel, mm: annotate ->poll() instances

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
This commit is contained in:
Al Viro
2017-07-03 00:42:43 -04:00
parent ade994f4f6
commit 9dd957485d
7 changed files with 14 additions and 14 deletions

View File

@@ -920,10 +920,10 @@ static loff_t devkmsg_llseek(struct file *file, loff_t offset, int whence)
return ret;
}
static unsigned int devkmsg_poll(struct file *file, poll_table *wait)
static __poll_t devkmsg_poll(struct file *file, poll_table *wait)
{
struct devkmsg_user *user = file->private_data;
int ret = 0;
__poll_t ret = 0;
if (!user)
return POLLERR|POLLNVAL;