summaryrefslogtreecommitdiffstats
path: root/fs/proc/kmsg.c
diff options
context:
space:
mode:
authorAl Viro2017-07-03 07:02:18 +0200
committerAl Viro2017-11-27 22:20:05 +0100
commit076ccb76e1a6cf0aa5371132efdd502a11e806f1 (patch)
tree6917e5c6896f75226fe97e09a236c502fe0637f5 /fs/proc/kmsg.c
parentipc, kernel, mm: annotate ->poll() instances (diff)
downloadkernel-qcow2-linux-076ccb76e1a6cf0aa5371132efdd502a11e806f1.tar.gz
kernel-qcow2-linux-076ccb76e1a6cf0aa5371132efdd502a11e806f1.tar.xz
kernel-qcow2-linux-076ccb76e1a6cf0aa5371132efdd502a11e806f1.zip
fs: annotate ->poll() instances
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'fs/proc/kmsg.c')
-rw-r--r--fs/proc/kmsg.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/proc/kmsg.c b/fs/proc/kmsg.c
index e0f8774acd65..f0bfb45c3f9f 100644
--- a/fs/proc/kmsg.c
+++ b/fs/proc/kmsg.c
@@ -40,7 +40,7 @@ static ssize_t kmsg_read(struct file *file, char __user *buf,
return do_syslog(SYSLOG_ACTION_READ, buf, count, SYSLOG_FROM_PROC);
}
-static unsigned int kmsg_poll(struct file *file, poll_table *wait)
+static __poll_t kmsg_poll(struct file *file, poll_table *wait)
{
poll_wait(file, &log_wait, wait);
if (do_syslog(SYSLOG_ACTION_SIZE_UNREAD, NULL, 0, SYSLOG_FROM_PROC))