Skip to content
Commit 8e6a5c83 authored by Luc Van Oostenryck's avatar Luc Van Oostenryck Committed by Corey Minyard
Browse files

ipmi: fix ipmb_poll()'s return type



ipmb_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: Corey Minyard <minyard@acm.org>
CC: openipmi-developer@lists.sourceforge.net
CC: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: default avatarLuc Van Oostenryck <luc.vanoostenryck@gmail.com>
Message-Id: <20191120000741.30657-1-luc.vanoostenryck@gmail.com>
Reviewed-by: default avatarAsmaa Mnebhi <asmaa@mellanox.com>
Signed-off-by: default avatarCorey Minyard <cminyard@mvista.com>
parent 8d73b2ae
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment