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

@@ -68,10 +68,10 @@ static ssize_t posix_clock_read(struct file *fp, char __user *buf,
return err;
}
static unsigned int posix_clock_poll(struct file *fp, poll_table *wait)
static __poll_t posix_clock_poll(struct file *fp, poll_table *wait)
{
struct posix_clock *clk = get_posix_clock(fp);
unsigned int result = 0;
__poll_t result = 0;
if (!clk)
return POLLERR;