mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-17 13:46:45 +07: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 |