Roland Dreier 64044bcf75 [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 <rolandd@cisco.com>
2005-11-10 10:22:51 -08:00
..
2005-04-16 15:20:36 -07:00
2005-10-30 17:37:32 -08:00
2005-10-28 08:16:50 -07:00
2005-10-30 17:37:32 -08:00
2005-10-30 17:37:32 -08:00
2005-11-02 07:23:14 -08:00
2005-08-26 20:37:35 -07:00
2005-10-30 17:37:32 -08:00
2005-10-30 17:37:32 -08:00