diff options
author | David Gibson <dwg@au1.ibm.com> | 2006-10-21 19:24:13 +0200 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2006-10-21 22:35:06 +0200 |
commit | 047a66d4bb24aaf19f41d620f8f0534c2153cd0b (patch) | |
tree | 448062113a3fe5083354da6181310d76f1d52af6 /drivers/md/dm-log.h | |
parent | [PATCH] pci: declare pci_get_device_reverse() (diff) | |
download | linux-047a66d4bb24aaf19f41d620f8f0534c2153cd0b.tar.xz linux-047a66d4bb24aaf19f41d620f8f0534c2153cd0b.zip |
[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 <dwg@au1.ibm.com>
Acked-by: Santiago Leon <santil@us.ibm.com>
Cc: Jeff Garzik <jeff@garzik.org>
Cc: Martin Schwidefsky <schwidefsky@de.ibm.com>
Cc: Andy Whitcroft <apw@shadowen.org>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'drivers/md/dm-log.h')
0 files changed, 0 insertions, 0 deletions