Messages in this thread | | | Date | Wed, 14 Jan 2015 14:13:43 +0100 | Subject | Re: [PATCH 1/2] gpio: rcar: Fix error path for devm_kzalloc() failure | From | Linus Walleij <> |
| |
On Mon, Jan 12, 2015 at 11:07 AM, Geert Uytterhoeven <geert+renesas@glider.be> wrote:
> If the call to devm_kzalloc() fails, nothing must be cleant up. > This was missed before because gpio_rcar_probe() had a "return" > statement after the first "goto err0". > > Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be> > Fixes: df0c6c80232f2ad4 ("gpio: rcar: Add minimal runtime PM support")
Patch applied.
Yours, Linus Walleij
| |