From: Al Viro Date: Mon, 3 Jul 2017 03:05:29 +0000 (-0400) Subject: acpi: annotate ->poll() instances X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=0d9b87f3ba71eef698ea69ef111b8ba35af8b318;p=openwrt%2Fstaging%2Fblogic.git acpi: annotate ->poll() instances Signed-off-by: Al Viro --- diff --git a/drivers/acpi/acpi_dbg.c b/drivers/acpi/acpi_dbg.c index 3ec05aa1a903..2ff5c8c04e3b 100644 --- a/drivers/acpi/acpi_dbg.c +++ b/drivers/acpi/acpi_dbg.c @@ -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())