From: Roland Dreier Date: Mon, 20 Mar 2006 18:08:25 +0000 (-0800) Subject: IB/mthca: Coverity fix to mthca_init_eq_table() X-Git-Tag: v2.6.17-rc1~1180^2~5 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6b63e3015a69dd8aa5534e23af9f132a021da02e;p=pandora-kernel.git IB/mthca: Coverity fix to mthca_init_eq_table() Fix bug found by coverity: the loop body never executed, because it was doing for (i = 0; i < MTHCA_EQ_CMD; ++i), but MTHCA_EQ_CMD is 0. The correct loop bound is MTHCA_NUM_EQ, to loop over all EQs. Signed-off-by: Roland Dreier --- Reading git-diff-tree failed