aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/patch-kernel
diff options
context:
space:
mode:
authorRoland Dreier <rolandd@cisco.com>2005-11-09 12:23:17 -0800
committerRoland Dreier <rolandd@cisco.com>2005-11-10 10:22:51 -0800
commit64044bcf75063cb5a6d42712886a712449df2ce3 (patch)
tree984d2fc62c548af3d01450135f33b5b97aecf00b /scripts/patch-kernel
parent[IB] mthca: fix posting of atomic operations (diff)
downloadlinux-64044bcf75063cb5a6d42712886a712449df2ce3.tar.gz
linux-64044bcf75063cb5a6d42712886a712449df2ce3.zip
[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>
Diffstat (limited to 'scripts/patch-kernel')
0 files changed, 0 insertions, 0 deletions