commit | f295c79b6766b25fe8c1aad88211c54d1caa7e0b | [log] [tgz] |
---|---|---|
author | Roland Dreier <rolandd@cisco.com> | Fri Feb 10 18:02:44 2006 -0800 |
committer | Roland Dreier <rolandd@cisco.com> | Fri Feb 10 18:02:44 2006 -0800 |
tree | 116e8255895a00c133637b3b7aa9559daba02a94 | |
parent | 7bcb974ef6a0ae903888272c92c66ea779388c01 [diff] |
IB/mthca: Don't print debugging info until we have all values When debugging is enabled, the mthca_QUERY_DEV_LIM() firmware command function prints out some of the device limits that it queries. However the debugging prints happen before all of the fields are extracted from the firmware response, so some of the values that get printed are uninitialized junk. Move the prints to the end of the function to fix this. Signed-off-by: Roland Dreier <rolandd@cisco.com>