commit | 8b92e17efe029cc19f435f9fcbdfb1e7b9beb0ef | [log] [tgz] |
---|---|---|
author | Linus Walleij <linus.walleij@linaro.org> | Fri May 27 14:24:04 2016 +0200 |
committer | Linus Walleij <linus.walleij@linaro.org> | Mon May 30 16:00:31 2016 +0200 |
tree | fa0c46fd884187ffd0a2d852dcb468743941a8c1 | |
parent | 9c10280d85c14a20751ab6c1185ad725172936d6 [diff] |
gpio: handle compatible ioctl() pointers If we're using the compatible ioctl() we need to handle the argument pointer in a special way or there will be trouble. Fixes: 3c702e9987e2 ("gpio: add a userspace chardev ABI for GPIOs") Reported-by: Dmitry Torokhov <dmitry.torokhov@gmail.com> Reviewed-by: Dmitry Torokhov <dmitry.torokhov@gmail.com> Signed-off-by: Linus Walleij <linus.walleij@linaro.org>