summaryrefslogtreecommitdiffstats
path: root/fs/notify
diff options
context:
space:
mode:
authorMichael Buesch <mb@bu3sch.de>2009-02-18 23:48:41 +0100
committerLinus Torvalds <torvalds@linux-foundation.org>2009-02-19 00:37:56 +0100
commitbe50344e604f956891fc0013f1ba78823a758124 (patch)
treef857656b717750fce8ddc4e3d2784b182d0aff60 /fs/notify
parentBernhard has moved (diff)
downloadlinux-be50344e604f956891fc0013f1ba78823a758124.tar.xz
linux-be50344e604f956891fc0013f1ba78823a758124.zip
spi-gpio: sanitize MISO bitvalue
gpio_get_value() returns 0 or nonzero, but getmiso() expects 0 or 1. Sanitize the value to a 0/1 boolean. Signed-off-by: Michael Buesch <mb@bu3sch.de> 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 'fs/notify')
0 files changed, 0 insertions, 0 deletions