mirror of
https://github.com/torvalds/linux.git
synced 2024-11-23 12:42:02 +00:00
a4e55ccd43
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 |