fs: annotate ->poll() instances
[linux-block.git] / fs / eventfd.c
index 2fb4eadaa1181e4c4f4178b7269c20f58b03a376..6318a9b57e53a9add1f2e41cd38c5adb71bc206a 100644 (file)
@@ -114,10 +114,10 @@ static int eventfd_release(struct inode *inode, struct file *file)
        return 0;
 }
 
-static unsigned int eventfd_poll(struct file *file, poll_table *wait)
+static __poll_t eventfd_poll(struct file *file, poll_table *wait)
 {
        struct eventfd_ctx *ctx = file->private_data;
-       unsigned int events = 0;
+       __poll_t events = 0;
        u64 count;
 
        poll_wait(file, &ctx->wqh, wait);