]> err.no Git - linux-2.6/commit
IB/mthca: Check alternate P_Key index when setting alternate path
authorDotan Barak <dotanb@mellanox.co.il>
Wed, 1 Mar 2006 22:28:12 +0000 (14:28 -0800)
committerRoland Dreier <rolandd@cisco.com>
Mon, 20 Mar 2006 18:08:18 +0000 (10:08 -0800)
commit67e7377661db4e341ed5e9a0358d11a55e532aa8
treeccc47340a8a0be951b65aec8f90f099eecdb181d
parent7667abd1528782003d8b83c54756523ec547af6e
IB/mthca: Check alternate P_Key index when setting alternate path

Check that the alternate P_Key index is in range when setting the
alternate path for a QP.  Also make a cosmetic touch up to the debug
message printed when the main P_Key index is out of range.

Signed-off-by: Dotan Barak <dotanb@mellanox.co.il>
Signed-off-by: Roland Dreier <rolandd@cisco.com>
drivers/infiniband/hw/mthca/mthca_qp.c