]> git.baikalelectronics.ru Git - kernel.git/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)
commit60cd7d10ef02bec34e3d2d0824122dfdbbb3a895
treed6fc3c5a1d6e695ec46bac9c55a89019fe456b4f
parent24289d8d9d29afd2403057e8e237c474f45ed81a
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