diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2017-07-03 00:42:43 -0400 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2017-11-27 16:20:05 -0500 |
commit | 9dd957485d7d896ec18d8e2f9dd410efe71eca34 (patch) | |
tree | 3fc16b03e1192c378e266bcbd8f9b41397e2d826 /kernel/printk | |
parent | ade994f4f6c8c3ef4c3bfc2d02166262fb9d089c (diff) | |
download | linux-9dd957485d7d896ec18d8e2f9dd410efe71eca34.tar.bz2 |
ipc, kernel, mm: annotate ->poll() instances
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'kernel/printk')
-rw-r--r-- | kernel/printk/printk.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/kernel/printk/printk.c b/kernel/printk/printk.c index 5d81206a572d..8aa27be96012 100644 --- a/kernel/printk/printk.c +++ b/kernel/printk/printk.c @@ -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; |