summaryrefslogtreecommitdiff
path: root/kernel/gcov
diff options
context:
space:
mode:
authorLuc Van Oostenryck <luc.vanoostenryck@gmail.com>2019-12-10 00:36:55 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2020-01-14 17:16:51 +0300
commitfa4e7fc1386078edcfddd8848cb0374f4af74fe7 (patch)
treeef62d94df28e5090184c32337dac13f5f2732c58 /kernel/gcov
parenta6b07e89fd8530b943217ccd4909d1bf65acc45d (diff)
downloadlinux-fa4e7fc1386078edcfddd8848cb0374f4af74fe7.tar.xz
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 <derek.kiernan@xilinx.com> CC: Dragan Cvetic <dragan.cvetic@xilinx.com> Signed-off-by: Luc Van Oostenryck <luc.vanoostenryck@gmail.com> Acked-by: Dragan Cvetic <dragan.cvetic@xilinx.com> Link: https://lore.kernel.org/r/20191209213655.57985-1-luc.vanoostenryck@gmail.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'kernel/gcov')
0 files changed, 0 insertions, 0 deletions