git.openpandora.org
/
pandora-kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
99f9f3d
)
IB/mlx4: Fix handling of wq->tail for send completions
author
Roland Dreier
<rolandd@cisco.com>
Tue, 12 Jun 2007 17:50:42 +0000
(10:50 -0700)
committer
Roland Dreier
<rolandd@cisco.com>
Tue, 12 Jun 2007 17:50:42 +0000
(10:50 -0700)
Cast the increment added to wq->tail when send completions are
processed to u16 to avoid using wrong values caused by standard
integer promotions.
The same bug was fixed in libmlx4 by Eli Cohen <eli@mellanox.co.il>.
Signed-off-by: Roland Dreier <rolandd@cisco.com>
No differences found