aboutsummaryrefslogtreecommitdiff
path: root/kernel/spinlock.c
diff options
context:
space:
mode:
authorRoland Dreier <rolandd@cisco.com>2007-02-26 12:57:08 -0800
committerRoland Dreier <rolandd@cisco.com>2007-02-26 12:57:08 -0800
commit843613b04744d5b65c2f37975c5310f366a0d070 (patch)
tree08b188743c4304cc34964a99fac1595267eb3ab9 /kernel/spinlock.c
parent2f236735fd05259a07a28233dcd07a8a6dddee9b (diff)
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 <rolandd@cisco.com>
Diffstat (limited to 'kernel/spinlock.c')
0 files changed, 0 insertions, 0 deletions