From: Jack Morgenstein Date: Thu, 24 Jan 2013 01:54:17 +0000 (+0000) Subject: net/mlx4_core: Return proper error code when __mlx4_add_one fails X-Git-Tag: v3.9-rc1~139^2~251 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f356fcbe12c1174713e83651b630330f8f0f8415;p=pandora-kernel.git net/mlx4_core: Return proper error code when __mlx4_add_one fails Returning 0 (success) when in fact we are aborting the load, leads to kernel panic when unloading the module. Fix that by returning the actual error code. Signed-off-by: Jack Morgenstein Signed-off-by: Eugenia Emantayev Signed-off-by: Amir Vadai Signed-off-by: David S. Miller --- Reading git-diff-tree failed