diff options
author | Roland Dreier <rolandd@cisco.com> | 2007-06-12 17:50:42 (GMT) |
---|---|---|
committer | Roland Dreier <rolandd@cisco.com> | 2007-06-12 17:50:42 (GMT) |
commit | 614c3c85b5b4c3776439d464939c123cce679dee (patch) | |
tree | 9e25ae6a6752eb32c31dfe9d0b55c79b90385fc6 /drivers/net/mlx4 | |
parent | 99f9f3d49cbc7d944476f6fde53a77ec789ab2aa (diff) | |
download | linux-fsl-qoriq-614c3c85b5b4c3776439d464939c123cce679dee.tar.xz |
IB/mlx4: Fix handling of wq->tail for send completions
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>
Diffstat (limited to 'drivers/net/mlx4')
0 files changed, 0 insertions, 0 deletions