gpiolib: linehandle_ioctl() tweaks
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest2 patches 4 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | gpiolib: don't allow userspace to set values of input linesdrivers/ | +7 | 3 replies | |
| 2/2 | gpiolib: remove an unnecessary TODOdrivers/ | +1 | 1 reply |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH 0/2] gpiolib: linehandle_ioctl() tweaks
I noticed that - unlike sysfs - it's possible to set values of input lines from user space using the character device. There's actually even a TODO in the linehandle_ioctl() code.
This is not correct so the first patches fixes that and the second removes a TODO that's not really needed.
Bartosz Golaszewski (2):
gpiolib: don't allow userspace to set values of input lines
gpiolib: remove an unneccessary TODO
drivers/gpio/gpiolib.c | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-)
Signature · 1 line
2.17.1