linux/drivers/infiniband/hw/mthca
Roland Dreier c915033fc6 [PATCH] IB/mthca: Initialize eq->nent before we use it
In mthca_create_eq(), we call get_eqe() before setting eq->nent.  This
is wrong, because get_eqe() uses eq->nent.  Fix this, and clean up the
code a little while we're at it.  (We got lucky with the current code,
because eq->nent was cleared to 0, which get_eqe() made happen to do
the right thing)

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

Signed-off-by: Roland Dreier <rolandd@cisco.com>
2005-09-18 22:02:38 -07:00
..
Kconfig Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
Makefile [PATCH] IB: move include files to include/rdma 2005-08-26 20:37:38 -07:00
mthca_allocator.c [PATCH] IB/mthca: Factor out common queue alloc code 2005-08-26 20:37:37 -07:00
mthca_av.c [PATCH] IB: move include files to include/rdma 2005-08-26 20:37:38 -07:00
mthca_cmd.c [PATCH] IB: move include files to include/rdma 2005-08-26 20:37:38 -07:00
mthca_cmd.h [PATCH] IB: move include files to include/rdma 2005-08-26 20:37:38 -07:00
mthca_config_reg.h [PATCH] IB: Add copyright notices 2005-08-26 20:37:35 -07:00
mthca_cq.c [PATCH] IB: move include files to include/rdma 2005-08-26 20:37:38 -07:00
mthca_dev.h [PATCH] IB/mthca: Add SRQ implementation 2005-08-26 20:37:37 -07:00
mthca_doorbell.h [PATCH] IB: sparse endianness cleanup 2005-08-26 20:37:35 -07:00
mthca_eq.c [PATCH] IB/mthca: Initialize eq->nent before we use it 2005-09-18 22:02:38 -07:00
mthca_mad.c [PATCH] IB: move include files to include/rdma 2005-08-26 20:37:38 -07:00
mthca_main.c [PATCH] PCI: remove CONFIG_PCI_NAMES 2005-09-08 14:57:23 -07:00
mthca_mcg.c [PATCH] IB: sparse endianness cleanup 2005-08-26 20:37:35 -07:00
mthca_memfree.c [PATCH] IB/mthca: Handle context tables smaller than our chunk size 2005-08-26 20:37:37 -07:00
mthca_memfree.h [PATCH] IB: sparse endianness cleanup 2005-08-26 20:37:35 -07:00
mthca_mr.c [PATCH] IB/mthca: use generic function instead of arbel_ version in mthca_free_region() 2005-08-26 20:37:36 -07:00
mthca_pd.c [PATCH] IB: Add copyright notices 2005-08-26 20:37:35 -07:00
mthca_profile.c [PATCH] IB/mthca: Add SRQ implementation 2005-08-26 20:37:37 -07:00
mthca_profile.h [PATCH] IB/mthca: Add SRQ implementation 2005-08-26 20:37:37 -07:00
mthca_provider.c [PATCH] IB: move include files to include/rdma 2005-08-26 20:37:38 -07:00
mthca_provider.h [PATCH] IB: move include files to include/rdma 2005-08-26 20:37:38 -07:00
mthca_qp.c [PATCH] IB/mthca: fix posting of first work request 2005-09-18 22:02:37 -07:00
mthca_reset.c [PATCH] PCI: remove CONFIG_PCI_NAMES 2005-09-08 14:57:23 -07:00
mthca_srq.c [PATCH] IB/mthca: fix posting of first work request 2005-09-18 22:02:37 -07:00
mthca_uar.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
mthca_user.h [PATCH] IB/mthca: Add SRQ implementation 2005-08-26 20:37:37 -07:00
mthca_wqe.h [PATCH] IB/mthca: Move WQE structures into their own header 2005-08-26 20:37:37 -07:00