diff options
author | Linus Walleij <linus.walleij@linaro.org> | 2016-05-27 14:24:04 +0200 |
---|---|---|
committer | Linus Walleij <linus.walleij@linaro.org> | 2016-05-30 16:00:31 +0200 |
commit | 8b92e17efe029cc19f435f9fcbdfb1e7b9beb0ef (patch) | |
tree | fa0c46fd884187ffd0a2d852dcb468743941a8c1 /drivers/gpio/gpio-wm8994.c | |
parent | 9c10280d85c14a20751ab6c1185ad725172936d6 (diff) | |
download | lwn-8b92e17efe029cc19f435f9fcbdfb1e7b9beb0ef.tar.gz lwn-8b92e17efe029cc19f435f9fcbdfb1e7b9beb0ef.zip |
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>
Diffstat (limited to 'drivers/gpio/gpio-wm8994.c')
0 files changed, 0 insertions, 0 deletions