From: Dmitry Torokhov Date: Fri, 10 Jan 2014 00:02:33 +0000 (-0800) Subject: VMCI: fix error handling path when registering guest driver X-Git-Tag: v3.14-rc1~152^2~3 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=782f24453536460482f9dd14d3677ade910b1fd1;p=pandora-kernel.git VMCI: fix error handling path when registering guest driver When host capabilities check failed or when we were unable to register doorbell bitmap we were forgetting to set error code and were returning 0 which would make upper layers believe that probe was successful. Reported-by: Julia Lawall Acked-by: Andy King Signed-off-by: Dmitry Torokhov Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed