Commit 0e7894dc authored by Committed by Greg Kroah-HartmanBrowse files
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 <firstname.lastname@example.org> Signed-off-by: Andy King <email@example.com> Signed-off-by: Dmitry Torokhov <firstname.lastname@example.org> Signed-off-by: Greg Kroah-Hartman <email@example.com>