Re: [PATCH] gpio: fix gpio leak in gpiochip_add error path
From: Linus Walleij
Date: Tue May 12 2015 - 04:57:22 EST
On Mon, May 4, 2015 at 5:23 PM, Johan Hovold <johan@xxxxxxxxxx> wrote:
> Make sure to free any hogged gpios on errors in gpiochip_add.
>
> Also move all forward declarations to the top of the file.
>
> Fixes: f625d4601759 ("gpio: add GPIO hogging mechanism")
> Signed-off-by: Johan Hovold <johan@xxxxxxxxxx>
Applied for fixes.
Yours,
Linus Walleij
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/