Skip to content

Commit b146e2c

Browse files
author
Al Viro
committed
x86: annotate ->poll() instances
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
1 parent 76d2d4a commit b146e2c

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

‎arch/x86/kernel/apm_32.c‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1506,7 +1506,7 @@ static ssize_t do_read(struct file *fp, char __user *buf, size_t count, loff_t *
15061506
return 0;
15071507
}
15081508

1509-
static unsigned int do_poll(struct file *fp, poll_table *wait)
1509+
static __poll_t do_poll(struct file *fp, poll_table *wait)
15101510
{
15111511
struct apm_user *as;
15121512

‎arch/x86/kernel/cpu/mcheck/dev-mcelog.c‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -243,7 +243,7 @@ static ssize_t mce_chrdev_read(struct file *filp, char __user *ubuf,
243243
return err ? err : buf - ubuf;
244244
}
245245

246-
static unsigned int mce_chrdev_poll(struct file *file, poll_table *wait)
246+
static __poll_t mce_chrdev_poll(struct file *file, poll_table *wait)
247247
{
248248
poll_wait(file, &mce_chrdev_wait, wait);
249249
if (READ_ONCE(mcelog.next))

0 commit comments

Comments
 (0)