Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
misc: xilinx_sdfec: fix xsdfec_poll()'s return type
xsdfec_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. CC: Derek Kiernan <[email protected]> CC: Dragan Cvetic <[email protected]> Signed-off-by: Luc Van Oostenryck <[email protected]> Acked-by: Dragan Cvetic <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Greg Kroah-Hartman <[email protected]>
- Loading branch information