]> err.no Git - linux-2.6/commit
IB/mthca: Initialize max_cmds before debug code prints it
authorRoland Dreier <rolandd@cisco.com>
Mon, 24 Jul 2006 16:36:50 +0000 (09:36 -0700)
committerRoland Dreier <rolandd@cisco.com>
Mon, 24 Jul 2006 16:36:50 +0000 (09:36 -0700)
commit8fdf679fdb00f588b65abb9c775c178098a05aeb
treed6fc3c5a1d6e695ec46bac9c55a89019fe456b4f
parent8a7f752125a930a83f4d8dfe37fa5a081ab19d31
IB/mthca: Initialize max_cmds before debug code prints it

Read the max_cmds value from the response to the QUERY_FW command
before printing out the value, so that the real value goes into the
debug output.

Signed-off-by: Roland Dreier <rolandd@cisco.com>
drivers/infiniband/hw/mthca/mthca_cmd.c