From: Andy King Date: Thu, 10 Jan 2013 23:41:41 +0000 (-0800) Subject: VMCI: Fix "always true condition" X-Git-Tag: v3.9-rc1~124^2~65 X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0e7894dc82bd9d4d82c16d16189f58da6d41d018;p=pandora-kernel.git 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 Signed-off-by: Andy King Signed-off-by: Dmitry Torokhov Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed