[PATCH] IB/mthca: Fix posting work requests to shared receive queues
authorRoland Dreier <rolandd@cisco.com>
Sun, 18 Sep 2005 21:00:17 +0000 (14:00 -0700)
committerRoland Dreier <rolandd@cisco.com>
Mon, 19 Sep 2005 05:02:38 +0000 (22:02 -0700)
commit3853194c2e174cee4da093c67bd54cbf9a38559a
tree3939280d0bf49b4b24068215f30aefdc38aaf0bc
parentc915033fc62d7186d243d89f88782d6be33fd8f6
[PATCH] IB/mthca: Fix posting work requests to shared receive queues

The error handling paths in mthca_tavor_post_srq_recv() and
mthca_arbel_post_srq_recv() are quite bogus, the result of a
screwed up merge.  Fix them so they work as intended.

Pointed out by Michael S. Tsirkin <mst@mellanox.co.il>

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