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 <email@example.com> Signed-off-by: Andy King <firstname.lastname@example.org> Signed-off-by: Dmitry Torokhov <email@example.com> Signed-off-by: Greg Kroah-Hartman <firstname.lastname@example.org>
Showing with 1 addition and 1 deletion