mirror of
git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2025-09-04 20:19:47 +08: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 | ||