diff options
author | Luc Van Oostenryck <luc.vanoostenryck@gmail.com> | 2019-11-20 03:07:41 +0300 |
---|---|---|
committer | Corey Minyard <cminyard@mvista.com> | 2019-11-22 22:54:55 +0300 |
commit | 8e6a5c833333e14a5023a5dcabb64b7d9e046bc6 (patch) | |
tree | 68c41781eb51366f9f6e752cef98fc2c6d118863 /drivers/char/dsp56k.c | |
parent | 8d73b2aeb8088517b0895f209b68237ea1bc1c02 (diff) | |
download | linux-8e6a5c833333e14a5023a5dcabb64b7d9e046bc6.tar.xz |
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: Luc Van Oostenryck <luc.vanoostenryck@gmail.com>
Message-Id: <20191120000741.30657-1-luc.vanoostenryck@gmail.com>
Reviewed-by: Asmaa Mnebhi <asmaa@mellanox.com>
Signed-off-by: Corey Minyard <cminyard@mvista.com>
Diffstat (limited to 'drivers/char/dsp56k.c')
0 files changed, 0 insertions, 0 deletions