From: Roland Dreier Date: Wed, 9 Nov 2005 20:23:17 +0000 (-0800) Subject: [IB] mthca: fix wraparound handling in mthca_cq_clean() X-Git-Tag: v2.6.15-rc1~45^2~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=64044bcf75063cb5a6d42712886a712449df2ce3;p=pandora-kernel.git [IB] mthca: fix wraparound handling in mthca_cq_clean() Handle case where prod_index has wrapped around and become less than cq->cons_index by checking that their difference as a signed int is positive rather than comparing directly. Signed-off-by: Roland Dreier --- Reading git-diff-tree failed