aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/char/ser_a2232fw.h
diff options
context:
space:
mode:
authorRoland Dreier <rolandd@cisco.com>2005-09-18 16:52:06 -0400
committerRoland Dreier <rolandd@cisco.com>2005-09-19 01:02:38 -0400
commitc915033fc62d7186d243d89f88782d6be33fd8f6 (patch)
treee509ef63ef6dba42f31807b5c9f6c20b48be3a9a /drivers/char/ser_a2232fw.h
parentce5b65cc9626feac0d4ffb96f798407e50c45575 (diff)
[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>
Diffstat (limited to 'drivers/char/ser_a2232fw.h')
0 files changed, 0 insertions, 0 deletions