mirror of
https://git.proxmox.com/git/mirror_ubuntu-kernels.git
synced 2025-11-24 22:06:44 +00:00
snoop_file_poll() is defined as returning 'unsigned int' but the
.poll method is declared as returning '__poll_t', a bitwise type.
Fix this by using the proper return type and using the EPOLL
constants instead of the POLL ones, as required for __poll_t.
Link: https://lore.kernel.org/r/20191121051851.268726-1-joel@jms.id.au
Fixes:
|
||
|---|---|---|
| .. | ||
| aspeed-lpc-ctrl.c | ||
| aspeed-lpc-snoop.c | ||
| aspeed-p2a-ctrl.c | ||
| Kconfig | ||
| Makefile | ||