diff options
author | Luc Van Oostenryck <[email protected]> | 2019-12-09 22:36:55 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <[email protected]> | 2020-01-14 15:16:51 +0100 |
commit | fa4e7fc1386078edcfddd8848cb0374f4af74fe7 (patch) | |
tree | ef62d94df28e5090184c32337dac13f5f2732c58 /lib/test-string_helpers.c | |
parent | a6b07e89fd8530b943217ccd4909d1bf65acc45d (diff) |
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]>
Diffstat (limited to 'lib/test-string_helpers.c')
0 files changed, 0 insertions, 0 deletions