diff options
| author | David Gibson <[email protected]> | 2006-10-21 10:24:13 -0700 |
|---|---|---|
| committer | Linus Torvalds <[email protected]> | 2006-10-21 13:35:06 -0700 |
| commit | 047a66d4bb24aaf19f41d620f8f0534c2153cd0b (patch) | |
| tree | 448062113a3fe5083354da6181310d76f1d52af6 /tools/perf/scripts/python | |
| parent | d42552c3ace1fa1f16ae02ce642f4c733cec40ca (diff) | |
[PATCH] ibmveth: Fix index increment calculation
The recent commit 751ae21c6cd1493e3d0a4935b08fb298b9d89773 introduced a bug
in the producer/consumer index calculation in the ibmveth driver -
incautious use of the post-increment ++ operator resulted in an increment
being immediately reverted. This patch corrects the logic.
Without this patch, the driver oopses almost immediately after activation
on at least some machines.
Signed-off-by: David Gibson <[email protected]>
Acked-by: Santiago Leon <[email protected]>
Cc: Jeff Garzik <[email protected]>
Cc: Martin Schwidefsky <[email protected]>
Cc: Andy Whitcroft <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions