From: Roland Dreier Date: Mon, 26 Feb 2007 20:57:08 +0000 (-0800) Subject: IPoIB: Correct debugging output when path record lookup fails X-Git-Tag: v2.6.21-rc2~29^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=843613b04744d5b65c2f37975c5310f366a0d070;p=pandora-kernel.git IPoIB: Correct debugging output when path record lookup fails If path_rec_completion() is passed a non-NULL path record pointer along with an unsuccessful status value, the tracing code incorrectly prints the (invalid) DLID from the path record rather than the more interesting status code. The actual logic of the function correctly uses the path record only if the status indicates a successful lookup. Signed-off-by: Roland Dreier --- Reading git-diff-tree failed