summaryrefslogtreecommitdiffstats
path: root/security/tomoyo/audit.c
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2017-07-03 05:32:02 +0200
committerAl Viro <viro@zeniv.linux.org.uk>2017-11-27 22:20:03 +0100
commitc0d4be289e167c0117d1a4a49f99222ce04d4eb1 (patch)
treed6c8564c9a6377349fc3a388c3081158464f093c /security/tomoyo/audit.c
parentsound: annotate ->poll() instances (diff)
downloadlinux-c0d4be289e167c0117d1a4a49f99222ce04d4eb1.tar.xz
linux-c0d4be289e167c0117d1a4a49f99222ce04d4eb1.zip
tomoyo: annotate ->poll() instances
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'security/tomoyo/audit.c')
-rw-r--r--security/tomoyo/audit.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/security/tomoyo/audit.c b/security/tomoyo/audit.c
index 0f73fe30e37a..558e3076d38c 100644
--- a/security/tomoyo/audit.c
+++ b/security/tomoyo/audit.c
@@ -458,7 +458,7 @@ void tomoyo_read_log(struct tomoyo_io_buffer *head)
*
* Returns POLLIN | POLLRDNORM when ready to read an audit log.
*/
-unsigned int tomoyo_poll_log(struct file *file, poll_table *wait)
+__poll_t tomoyo_poll_log(struct file *file, poll_table *wait)
{
if (tomoyo_log_count)
return POLLIN | POLLRDNORM;