summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2017-09-17 04:42:09 +0200
committerAl Viro <viro@zeniv.linux.org.uk>2017-11-27 22:20:04 +0100
commite6c5a7d997db73aaab2fb8337710f109e5d931b1 (patch)
tree6d297e0756f1f14538b88be2d38a61b6a12a86d7
parenttomoyo: annotate ->poll() instances (diff)
downloadlinux-e6c5a7d997db73aaab2fb8337710f109e5d931b1.tar.xz
linux-e6c5a7d997db73aaab2fb8337710f109e5d931b1.zip
apparmor: annotate ->poll() instances
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
-rw-r--r--security/apparmor/apparmorfs.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/security/apparmor/apparmorfs.c b/security/apparmor/apparmorfs.c
index 8542e9a55e1b..77d30a821b85 100644
--- a/security/apparmor/apparmorfs.c
+++ b/security/apparmor/apparmorfs.c
@@ -571,10 +571,10 @@ static int ns_revision_open(struct inode *inode, struct file *file)
return 0;
}
-static unsigned int ns_revision_poll(struct file *file, poll_table *pt)
+static __poll_t ns_revision_poll(struct file *file, poll_table *pt)
{
struct aa_revision *rev = file->private_data;
- unsigned int mask = 0;
+ __poll_t mask = 0;
if (rev) {
mutex_lock_nested(&rev->ns->lock, rev->ns->level);