diff options
author | Uwe Kleine-König <u.kleine-koenig@pengutronix.de> | 2018-04-16 13:17:53 +0200 |
---|---|---|
committer | Linus Walleij <linus.walleij@linaro.org> | 2018-04-27 00:43:03 +0200 |
commit | f001cc351ad3309ec8736c374e90e5a4bc472d41 (patch) | |
tree | bda50b5256547fc45dfabf35f0c2c99d028e5c07 /block/blk-softirq.c | |
parent | ab3dbcf78f60f46d6a0ad63b1f4b690b7a427140 (diff) |
gpio: fix error path in lineevent_create
If gpiod_request() fails the cleanup must not call gpiod_free().
Cc: stable@vger.kernel.org
Fixes: 61f922db7221 ("gpio: userspace ABI for reading GPIO line events")
Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'block/blk-softirq.c')
0 files changed, 0 insertions, 0 deletions