public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/2] gpiolib: improvements in linehandle_create()
@ 2017-10-16  9:32 Bartosz Golaszewski
  2017-10-16  9:32 ` [PATCH 1/2] gpiolib: only check line handle flags once Bartosz Golaszewski
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Bartosz Golaszewski @ 2017-10-16  9:32 UTC (permalink / raw)
  To: Linus Walleij; +Cc: linux-gpio, linux-kernel, Bartosz Golaszewski

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(-)

-- 
2.13.2

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2017-10-16 11:47 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-10-16  9:32 [PATCH 0/2] gpiolib: improvements in linehandle_create() Bartosz Golaszewski
2017-10-16  9:32 ` [PATCH 1/2] gpiolib: only check line handle flags once Bartosz Golaszewski
2017-10-16  9:32 ` [PATCH 2/2] gpiolib: don't allow OPEN_DRAIN & OPEN_SOURCE flags for input Bartosz Golaszewski
2017-10-16 11:47 ` [PATCH 0/2] gpiolib: improvements in linehandle_create() Linus Walleij

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox