fs: annotate ->poll() instances
[linux-block.git] / fs / pipe.c
index 6d98566201ef5c1f152a11c5849e9e02bd55189b..a449ca0ec0c61fe37a7cef9bf817c570e8324691 100644 (file)
--- a/fs/pipe.c
+++ b/fs/pipe.c
@@ -515,10 +515,10 @@ static long pipe_ioctl(struct file *filp, unsigned int cmd, unsigned long arg)
 }
 
 /* No kernel lock held - fine */
-static unsigned int
+static __poll_t
 pipe_poll(struct file *filp, poll_table *wait)
 {
-       unsigned int mask;
+       __poll_t mask;
        struct pipe_inode_info *pipe = filp->private_data;
        int nrbufs;