kernel-ark/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
Makefile [PATCH] IB: move include files to include/rdma 2005-08-26 20:37:38 -07:00
mthca_allocator.c
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
mthca_cq.c [PATCH] IB: move include files to include/rdma 2005-08-26 20:37:38 -07:00
mthca_dev.h
mthca_doorbell.h
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
mthca_memfree.c
mthca_memfree.h
mthca_mr.c
mthca_pd.c
mthca_profile.c
mthca_profile.h
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
mthca_user.h
mthca_wqe.h