]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/blobdiff - drivers/char/dtlk.c
the rest of drivers/*: annotate ->poll() instances
[mirror_ubuntu-jammy-kernel.git] / drivers / char / dtlk.c
index 839ee61d352a218321ffedf3de339c51d02fbf74..2697c22e3be25faac48144a071d08f153303b51a 100644 (file)
@@ -91,7 +91,7 @@ static ssize_t dtlk_read(struct file *, char __user *,
                         size_t nbytes, loff_t * ppos);
 static ssize_t dtlk_write(struct file *, const char __user *,
                          size_t nbytes, loff_t * ppos);
-static unsigned int dtlk_poll(struct file *, poll_table *);
+static __poll_t dtlk_poll(struct file *, poll_table *);
 static int dtlk_open(struct inode *, struct file *);
 static int dtlk_release(struct inode *, struct file *);
 static long dtlk_ioctl(struct file *file,
@@ -228,9 +228,9 @@ static ssize_t dtlk_write(struct file *file, const char __user *buf,
        return -EAGAIN;
 }
 
-static unsigned int dtlk_poll(struct file *file, poll_table * wait)
+static __poll_t dtlk_poll(struct file *file, poll_table * wait)
 {
-       int mask = 0;
+       __poll_t mask = 0;
        unsigned long expires;
 
        TRACE_TEXT(" dtlk_poll");