Andy King 0e7894dc82 VMCI: Fix "always true condition"
vmci_send_datagram() returns an int, with negative values indicating failure.
But we store it locally in a u32, which makes comparison of >= 0 useless.
Fixed to use an int.

Reported-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Andy King <acking@vmware.com>
Signed-off-by: Dmitry Torokhov <dtor@vmware.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2013-01-17 12:07:39 -08:00
..
2012-11-21 12:53:32 -08:00
2012-11-21 12:53:32 -08:00
2012-11-21 12:53:32 -08:00
2012-11-21 12:53:32 -08:00
2012-12-20 17:40:20 -08:00
2012-11-21 12:51:53 -08:00
2012-11-21 12:53:32 -08:00
2012-11-21 12:53:32 -08:00
2012-12-13 11:51:23 -08:00
2012-11-21 12:53:32 -08:00
2012-11-21 12:53:32 -08:00
2012-11-21 12:51:53 -08:00
2012-11-21 12:51:53 -08:00
2012-11-21 12:51:53 -08:00
2012-11-21 12:51:53 -08:00
2012-11-21 12:53:32 -08:00
2012-11-21 12:51:53 -08:00
2012-11-21 12:53:32 -08:00
2012-11-21 12:53:32 -08:00
2012-11-21 12:53:32 -08:00
2012-11-21 12:53:32 -08:00
2012-12-11 14:08:47 -08:00
2012-11-21 12:53:32 -08:00
2012-09-05 14:10:29 -07:00
2012-11-21 12:53:32 -08:00