On Mon, Apr 16, 2018 at 1:17 PM, Uwe Kleine-König <u.kleine-koenig@xxxxxxxxxxxxxx> wrote: > If gpiod_request() fails the cleanup must not call gpiod_free(). > > Fixes: 61f922db7221 ("gpio: userspace ABI for reading GPIO line events") > Signed-off-by: Uwe Kleine-König <u.kleine-koenig@xxxxxxxxxxxxxx> Patch applied for fixes, tagged for stable, nice catch! Yours, Linus Walleij -- To unsubscribe from this list: send the line "unsubscribe linux-gpio" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html