提交 b146e2ce 编写于 作者: A Al Viro

x86: annotate ->poll() instances

Signed-off-by: NAl Viro <viro@zeniv.linux.org.uk>
上级 76d2d4a1
...@@ -1506,7 +1506,7 @@ static ssize_t do_read(struct file *fp, char __user *buf, size_t count, loff_t * ...@@ -1506,7 +1506,7 @@ static ssize_t do_read(struct file *fp, char __user *buf, size_t count, loff_t *
return 0; 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; struct apm_user *as;
......
...@@ -243,7 +243,7 @@ static ssize_t mce_chrdev_read(struct file *filp, char __user *ubuf, ...@@ -243,7 +243,7 @@ static ssize_t mce_chrdev_read(struct file *filp, char __user *ubuf,
return err ? err : buf - ubuf; 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); poll_wait(file, &mce_chrdev_wait, wait);
if (READ_ONCE(mcelog.next)) if (READ_ONCE(mcelog.next))
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册