kernel_optimize_test/drivers/misc/vmw_vmci
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
..
Kconfig VMCI: Add PCI as a dependency 2013-01-17 12:07:38 -08:00
Makefile VMCI: Some header and config files. 2013-01-08 16:15:57 -08:00
vmci_context.c
vmci_context.h
vmci_datagram.c
vmci_datagram.h
vmci_doorbell.c VMCI: doorbell implementation. 2013-01-08 16:15:55 -08:00
vmci_doorbell.h VMCI: doorbell implementation. 2013-01-08 16:15:55 -08:00
vmci_driver.c VMCI: device driver implementaton. 2013-01-08 16:15:55 -08:00
vmci_driver.h VMCI: device driver implementaton. 2013-01-08 16:15:55 -08:00
vmci_event.c VMCI: event handling implementation. 2013-01-08 16:15:55 -08:00
vmci_event.h VMCI: event handling implementation. 2013-01-08 16:15:55 -08:00
vmci_guest.c VMCI: Fix "always true condition" 2013-01-17 12:07:39 -08:00
vmci_handle_array.c VMCI: handle array implementation. 2013-01-08 16:15:55 -08:00
vmci_handle_array.h VMCI: handle array implementation. 2013-01-08 16:15:55 -08:00
vmci_host.c VMCI: host side driver implementation. 2013-01-08 16:15:56 -08:00
vmci_queue_pair.c VMCI: Fix deref before NULL-check of queuepair ptr 2013-01-17 12:07:39 -08:00
vmci_queue_pair.h VMCI: queue pairs implementation. 2013-01-08 16:15:56 -08:00
vmci_resource.c VMCI: resource object implementation. 2013-01-08 16:15:56 -08:00
vmci_resource.h VMCI: resource object implementation. 2013-01-08 16:15:56 -08:00
vmci_route.c VMCI: routing implementation. 2013-01-08 16:15:56 -08:00
vmci_route.h VMCI: routing implementation. 2013-01-08 16:15:56 -08:00