acpi: annotate ->poll() instances
authorAl Viro <viro@zeniv.linux.org.uk>
Mon, 3 Jul 2017 03:05:29 +0000 (23:05 -0400)
committerAl Viro <viro@zeniv.linux.org.uk>
Mon, 27 Nov 2017 21:20:02 +0000 (16:20 -0500)
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
drivers/acpi/acpi_dbg.c

index 3ec05aa1a903524b610b447effc498c6e33d9a7e..2ff5c8c04e3b9644fb31218d088895319aadc428 100644 (file)
@@ -718,9 +718,9 @@ again:
        return size > 0 ? size : ret;
 }
 
-static unsigned int acpi_aml_poll(struct file *file, poll_table *wait)
+static __poll_t acpi_aml_poll(struct file *file, poll_table *wait)
 {
-       int masks = 0;
+       __poll_t masks = 0;
 
        poll_wait(file, &acpi_aml_io.wait, wait);
        if (acpi_aml_user_readable())