]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
IB/mthca: Fix thinko in mthca_table_find()
authorMichael S. Tsirkin <mst@mellanox.co.il>
Thu, 15 Dec 2005 21:55:50 +0000 (13:55 -0800)
committerRoland Dreier <rolandd@cisco.com>
Thu, 15 Dec 2005 21:55:50 +0000 (13:55 -0800)
commit6c7d2a75b512c64c910b69adf32dbaddb461910b
treea633a543f384de9b6364e17db687f0c75990470b
parent44b5b0303327cfb23f135b95b2fe5436c81ed27c
IB/mthca: Fix thinko in mthca_table_find()

break only escapes from the innermost loop, and we want to escape both
loops and return an answer.  Noticed by Ishai Rabinovitch.

Signed-off-by: Michael S. Tsirkin <mst@mellanox.co.il>
Signed-off-by: Roland Dreier <rolandd@cisco.com>
drivers/infiniband/hw/mthca/mthca_memfree.c