ipc, kernel, mm: annotate ->poll() instances
[linux-block.git] / kernel / time / posix-clock.c
index 17cdc554c9fe82c56e9d8a5b68c48715425dcd09..36b04e7fcf62763092d8393dbd270819b9df98a7 100644 (file)
@@ -68,10 +68,10 @@ static ssize_t posix_clock_read(struct file *fp, char __user *buf,
        return err;
 }
 
-static unsigned int posix_clock_poll(struct file *fp, poll_table *wait)
+static __poll_t posix_clock_poll(struct file *fp, poll_table *wait)
 {
        struct posix_clock *clk = get_posix_clock(fp);
-       unsigned int result = 0;
+       __poll_t result = 0;
 
        if (!clk)
                return POLLERR;