x86: annotate ->poll() instances

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
This commit is contained in:
Al Viro 2017-07-02 23:00:52 -04:00
parent 76d2d4a11b
commit b146e2ce80
2 changed files with 2 additions and 2 deletions

View File

@ -1506,7 +1506,7 @@ static ssize_t do_read(struct file *fp, char __user *buf, size_t count, loff_t *
return 0;
}
static unsigned int do_poll(struct file *fp, poll_table *wait)
static __poll_t do_poll(struct file *fp, poll_table *wait)
{
struct apm_user *as;

View File

@ -243,7 +243,7 @@ out:
return err ? err : buf - ubuf;
}
static unsigned int mce_chrdev_poll(struct file *file, poll_table *wait)
static __poll_t mce_chrdev_poll(struct file *file, poll_table *wait)
{
poll_wait(file, &mce_chrdev_wait, wait);
if (READ_ONCE(mcelog.next))