android_kernel_xiaomi_sm7250/drivers/infiniband
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
..
core Merge master.kernel.org:/pub/scm/linux/kernel/git/roland/infiniband 2005-09-11 10:16:07 -07:00
hw/mthca [PATCH] IB/mthca: Initialize eq->nent before we use it 2005-09-18 22:02:38 -07:00
ulp/ipoib [PATCH] IPoIB: Fix SA client retransmission strategy 2005-09-18 22:02:38 -07:00
Kconfig [PATCH] IB: clean up user access config options 2005-09-07 12:43:08 -07:00
Makefile Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00