]> Git Repo - linux.git/commit
gpio: handle compatible ioctl() pointers
authorLinus Walleij <[email protected]>
Fri, 27 May 2016 12:24:04 +0000 (14:24 +0200)
committerLinus Walleij <[email protected]>
Mon, 30 May 2016 14:00:31 +0000 (16:00 +0200)
commit8b92e17efe029cc19f435f9fcbdfb1e7b9beb0ef
treefa0c46fd884187ffd0a2d852dcb468743941a8c1
parent9c10280d85c14a20751ab6c1185ad725172936d6
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 <[email protected]>
Reviewed-by: Dmitry Torokhov <[email protected]>
Signed-off-by: Linus Walleij <[email protected]>
drivers/gpio/gpiolib.c
This page took 0.048383 seconds and 4 git commands to generate.