aboutsummaryrefslogtreecommitdiffstats
path: root/fs/proc/array.c
diff options
context:
space:
mode:
authorUwe Kleine-König <[email protected]>2018-04-16 11:17:53 +0000
committerLinus Walleij <[email protected]>2018-04-26 22:43:03 +0000
commitf001cc351ad3309ec8736c374e90e5a4bc472d41 (patch)
treebda50b5256547fc45dfabf35f0c2c99d028e5c07 /fs/proc/array.c
parentgpioib: do not free unrequested descriptors (diff)
downloadkernel-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