Skip to content

gpiolib: improvements in linehandle_create()

Bartosz Golaszewski linux-gpio lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 1 replyIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2gpiolib: only check line handle flags oncedrivers/gpio/gpiolib.c+7 -70 replies
2/2gpiolib: don't allow OPEN_DRAIN & OPEN_SOURCE flags for inputdrivers/gpio/gpiolib.c+6 -00 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/2] gpiolib: improvements in linehandle_create()

Two minor fixes for creating user space line handles. The first patch simplifies checking the request flags. The second adds an additional sanitizing check.

Bartosz Golaszewski (2):
gpiolib: only check line handle flags once
gpiolib: don't allow OPEN_DRAIN & OPEN_SOURCE flags for input

 drivers/gpio/gpiolib.c | 20 +++++++++++++-------
 1 file changed, 13 insertions(+), 7 deletions(-)
Signature · 1 line
2.13.2