projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c0d4be2
)
apparmor: annotate ->poll() instances
author
Al Viro
<viro@zeniv.linux.org.uk>
Sun, 17 Sep 2017 02:42:09 +0000
(22:42 -0400)
committer
Al Viro
<viro@zeniv.linux.org.uk>
Mon, 27 Nov 2017 21:20:04 +0000
(16:20 -0500)
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
security/apparmor/apparmorfs.c
patch
|
blob
|
history
diff --git
a/security/apparmor/apparmorfs.c
b/security/apparmor/apparmorfs.c
index 8542e9a55e1b8c718eca5f267a1bb71195599774..77d30a821b85e0d4f08f4307840c45cfe14633f3 100644
(file)
--- 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 in
t 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 in
t mask = 0;
+
__poll_
t mask = 0;
if (rev) {
mutex_lock_nested(&rev->ns->lock, rev->ns->level);