]> git.baikalelectronics.ru Git - kernel.git/commit
[PATCH] IB/mthca: Report correct max_msg_sz
authorRoland Dreier <roland@eddore.topspincom.com>
Thu, 18 Aug 2005 19:14:11 +0000 (12:14 -0700)
committerRoland Dreier <rolandd@cisco.com>
Sat, 27 Aug 2005 03:37:36 +0000 (20:37 -0700)
commit9bd779646ea7f03ae31860238d01445a0f3f8a6a
tree418a4b95defa44fce5d52688e29265ded4d1a6d0
parent19fae2c8541ad84b97fbc327e88ea7b94fa297a9
[PATCH] IB/mthca: Report correct max_msg_sz

Set the max_msg_sz port property correctly in mthca's port_query
function.  Also zero out the attr struct so that we don't leave
any other members uninitialized.

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