diff options
| author | Uwe Kleine-König <[email protected]> | 2018-04-16 11:17:53 +0000 |
|---|---|---|
| committer | Linus Walleij <[email protected]> | 2018-04-26 22:43:03 +0000 |
| commit | f001cc351ad3309ec8736c374e90e5a4bc472d41 (patch) | |
| tree | bda50b5256547fc45dfabf35f0c2c99d028e5c07 /fs/proc/array.c | |
| parent | gpioib: do not free unrequested descriptors (diff) | |
| download | kernel-f001cc351ad3309ec8736c374e90e5a4bc472d41.tar.gz kernel-f001cc351ad3309ec8736c374e90e5a4bc472d41.zip | |
gpio: fix error path in lineevent_create
If gpiod_request() fails the cleanup must not call gpiod_free().
Cc: [email protected]
Fixes: 61f922db7221 ("gpio: userspace ABI for reading GPIO line events")
Signed-off-by: Uwe Kleine-König <[email protected]>
Signed-off-by: Linus Walleij <[email protected]>
Diffstat (limited to 'fs/proc/array.c')
0 files changed, 0 insertions, 0 deletions
