From: Yevgeny Petrilin Date: Mon, 19 Dec 2011 04:03:53 +0000 (+0000) Subject: mlx4: Fixing wrong error codes in communication channel X-Git-Tag: v3.3-rc1~182^2~173 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=72be84f1c21c0ddba1081291072d7acc9ccddf5f;p=pandora-kernel.git mlx4: Fixing wrong error codes in communication channel The communication channel is HW interface from PF point of view So the command return status should be stored as HW error code and only then translated to errno values. Reporetd-by: Dan Carpenter Signed-off-by: Yevgeny Petrilin Signed-off-by: David S. Miller --- Reading git-diff-tree failed