Drivers: hv: utils: fix hvt_op_poll() return value on transport destroy
authorVitaly Kuznetsov <vkuznets@redhat.com>
Wed, 16 Dec 2015 00:27:26 +0000 (16:27 -0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 21 Dec 2015 21:14:56 +0000 (13:14 -0800)
commit77b744a598d604de49df79cf161bbd1809a6948a
tree56c7bbb9b1c4bfe47218d7267f3b048ee3d374e9
parent2048157ad02e65f6327118dd4a7b9c9f1fd12f77
Drivers: hv: utils: fix hvt_op_poll() return value on transport destroy

The return type of hvt_op_poll() is unsigned int and -EBADF is
inappropriate, poll functions return POLL* statuses.

Reported-by: Dexuan Cui <decui@microsoft.com>
Signed-off-by: Vitaly Kuznetsov <vkuznets@redhat.com>
Signed-off-by: K. Y. Srinivasan <kys@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/hv/hv_utils_transport.c