diff options
author | Trent Piepho <xyzzy@speakeasy.org> | 2008-05-23 16:04:44 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2008-05-24 12:56:11 -0400 |
commit | bff5fda972dc23bd1806a47c2098ae173585d013 (patch) | |
tree | d26a3e5f18ee91b25dc4da7f1d1d0f022dd8d72d /virt/kvm/iodev.h | |
parent | 1d1c1d9b557a12320174058d2d313ffb0f8611f4 (diff) |
gpiolib: fix off by one errors
The last gpio belonging to a chip is chip->base + chip->ngpios - 1. Some
places in the code, but not all, forgot the critical minus one.
Signed-off-by: Trent Piepho <xyzzy@speakeasy.org>
Acked-by: David Brownell <dbrownell@users.sourceforge.net>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'virt/kvm/iodev.h')
0 files changed, 0 insertions, 0 deletions