[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20171016093230.5329-1-brgl@bgdev.pl>
Date: Mon, 16 Oct 2017 11:32:28 +0200
From: Bartosz Golaszewski <brgl@...ev.pl>
To: Linus Walleij <linus.walleij@...aro.org>
Cc: linux-gpio@...r.kernel.org, linux-kernel@...r.kernel.org,
Bartosz Golaszewski <brgl@...ev.pl>
Subject: [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(-)
--
2.13.2
Powered by blists - more mailing lists